-
Notifications
You must be signed in to change notification settings - Fork 590
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
Consecutive // in path cause Ingress Controller to block updates #614
Comments
It seems like the |
This is the ingress resource I used for deploying. Created another instance of kong in the same cluster and the same ingress got properly deployed.
The only difference is that as I added more microservices to that specific kong instance suddenly stopped working. |
Does any of your Ingress |
Seems like got the culprit. Thanks @hbagdi .
|
@hbagdi Is it expected to get down entire Kong Controller, because of configuration error happened in one of the ingress resource? Is there any way to prevent it? Because this will end up in a situation where kong can be a single point of failure for the cluster. |
Certainly not. There have been such issues before where a single problem has caused a halt. We have added necessary validations in all places to avoid it. |
A path with consecutive double slashes is considered invalid by Kong and the reconcililation loop will break in Kong if such a route is added to the configuration. Fix #614
Summary
Getting this error from the kong ingress controller, services are up, and ingress rues have been set, Loadbalancer IP has been assigned by Kong. All Kong components are up.
These are the error and warning we are getting from kong ingress controller.
Kong Ingress controller version
0.8.0
Kubernetes version
Client Version: "v1.17.0",
Server Version: "v1.15.7"
Environment
AKS
What happened
We observed a sudden change in the kong behavior. Kong was working fine before and we were able to create routes, Once we started adding more and more microservices. It went down. Now independently these ms are running, but once connected to kong, the routes are not getting created. KongIP is successfully assigned, but routes are not working. We even tested it with Konga, it was not showing any routes.
For debugging, I created another Kong Instance and deployed couple of microservices and it is working fine in the same cluster. Really wants to know if one of the microservice configuration is taking down kong??
I have kong validationwebhook installed in the cluster.
The text was updated successfully, but these errors were encountered: