Reloading updated version of custom plugin without restart


I have successfully applied my custom plugin to Kong and it’s working correctly. If I add a new feature to my plugin is it possible to load new one without restarting Kong.


try kong reload see cli refrence

Be wary about Kong reload, as, if I remember correctly it will not consider environment variables injected in the Lua VM if they did not exist previously, and has some other limitations as to what configuration values can be changed or not.

We are planning on making reload work seamingless with any configuration value soon.

In the meantime, where reload won’t work, restart will do the job, but not without dropping a few connections in the process, so be careful.

1 Like