-
Notifications
You must be signed in to change notification settings - Fork 16
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
Dataplane and Controlplane does not become ready #522
Comments
Turned on the trace level
Noticed this in the logs |
So it turns out the root cause is probably the same as for #500 . Our company uses mutating webhooks to enforce plenty of best practices in our cluster. Unfortunately if one of these webhooks are patching the deployment created by the Kong Gateway Operator, it will stuck in a loop, where the owner resource (controlplane or dataplane) cannot become ready. The workaround is, that we create a podTemplateSpec, which is eventually not mutated by any mutating webhooks. AFAIK generally a Kubernetes Operator like this, should only look at managed fields, when considering the diff.
|
Current Behavior
We tried to deploy Kong Gateway operator to our test kubernetes cluster, but I am unable to get the HttpRoutes working. Based on these logs, I assume the problem is, because the Gateway does not turn
Programmed
.Based on some reading in the codes, I found, that the possible reason for that is Dataplane and Controlplane also not becoming ready:
Both the controlplane and the dataplane pods are ready and I can also send request to the dataplane (and get 404, since no httproute is configured)
Expected Behavior
Gateway becomes ready and HttpRoute added to the kong gateway.
Steps To Reproduce
Not sure how to reproduce, because locally in KinD, the same configuration works, so I assume we have some environment related issue. I tried turning off the admissionwebhook, but no success.
these are some of the logs, that the operator keeps emitting in this stuck state:
Any tips how to debug further, which resource should become ready first, the controlplane or the dataplane?
Operator Version
1.3.0
kubectl version
Client Version: v1.30.2
Kustomize Version: v5.0.4-0.20230601165947-6ce0bf390ce3
Server Version: v1.30.3
The text was updated successfully, but these errors were encountered: