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

Kong db-less not loading kong.yml when start/restart #1076

Open
recidive opened this issue May 29, 2024 · 0 comments
Open

Kong db-less not loading kong.yml when start/restart #1076

recidive opened this issue May 29, 2024 · 0 comments

Comments

@recidive
Copy link

recidive commented May 29, 2024

I've installed Kong db-less mode on an EKS cluster. When I installed it, I had to enter the shell for the Kong gateway and run kong reload for the db-less config to take effect. Now if for some reason Kong restarts, the config is not automatically loaded leaving all routes offline. For instance what's causing it to restart sometimes is:

E0528 22:04:42.705305       1 leaderelection.go:332] error retrieving resource lock api-gateway/kong-ingress-controller-leader-kong: Get "https://172.20.0.1:443/apis/coordination.k8s.io/v1/namespaces/api-gateway/leases/kong-ingress-controller-leader-kong": context deadline exceeded

Is there any way I can make kong reload kong.yml properly when it restarts?

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