What happens when I run kong restart
?
kong restart
kills the pid
, which will kill the container.
Use kong reload
.
This tutorial requires Kong Gateway Enterprise. If you don’t have Kong Gateway set up yet, you can use the quickstart script with an enterprise license to get an instance of Kong Gateway running almost instantly.
Export your license to an environment variable:
export KONG_LICENSE_DATA='LICENSE-CONTENTS-GO-HERE'
Run the quickstart script:
curl -Ls https://get.konghq.com/quickstart | bash -s -- -e KONG_LICENSE_DATA
Once Kong Gateway is ready, you will see the following message:
Kong Gateway Ready
To restart a Kong Gateway container without killing the container, run kong reload
from within the container.
What happens when I run kong restart
?
kong restart
kills the pid
, which will kill the container.