Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How should we handle remove plugins? #7874

Closed
2 tasks done
oldthreefeng opened this issue Sep 9, 2024 · 1 comment
Closed
2 tasks done

How should we handle remove plugins? #7874

oldthreefeng opened this issue Sep 9, 2024 · 1 comment

Comments

@oldthreefeng
Copy link

Where is the problem?

no

What happened?

How should we handle deprecated plugins?

rollout restart kong error . handling-overload is never use in my kong cluster. so i want to remove this plugins .

 error building initial plugins: handling-overload plugin is in use but not enabled. 

please help, thanks

What did you expect to happen?

rollout restart kong ok

Code of Conduct and Community Expectations

  • I agree to follow this project's Code of Conduct
  • I agree to abide by the Community Expectations
@oldthreefeng
Copy link
Author

Remove a plugin

There are three steps to completely remove a plugin.

Remove the plugin from your Kong Service or Route configuration. Make sure that it is no longer applied globally nor for any Service, Route, or consumer. This has to be done only once for the entire Kong cluster, no restart/reload required. This step in itself will make that the plugin is no longer in use. But it remains available and it is still possible to re-apply the plugin.

Remove the plugin from the plugins directive (on each Kong node). Make sure to have completed step 1 before doing so. After this step it will be impossible for anyone to re-apply the plugin to any Kong Service, Route, Consumer, or even globally. This step requires to restart/reload the Kong node to take effect.

To remove the plugin thoroughly, delete the plugin-related files from each of the Kong nodes. Make sure to have completed step 2, including restarting/reloading Kong, before deleting the files. If you used LuaRocks to install the plugin, you can do luarocks remove to remove it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant