-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Liveness and Readiness failures for Kong Pods #11698
Comments
After enabling debug level logs I see below -
We have reverted the Kong version from 3.0.1 to 2.8.3 and there also we see similar issue. |
Hey @anup-krai Thank you for reporting this issue. Looking at the logs it seems like something is killing the master process: Could you please share your liveness/readiness probe yamls ? Do you think it's possible that there's a networking issue inside your k8s cluster? You could try to disable the liveness/readiness probes and verify if and how long it takes for kong to respond with something like:
|
Hi @nowNick , Thanks for your response. Below are the liveness/readiness probe yamls readinessProbe:
httpGet:
path: "/status"
port: status
scheme: HTTP
initialDelaySeconds: 5
timeoutSeconds: 5
periodSeconds: 10
successThreshold: 1
failureThreshold: 3
# livenessProbe for Kong pods
livenessProbe:
httpGet:
path: "/status"
port: status
scheme: HTTP
initialDelaySeconds: 5
timeoutSeconds: 5
periodSeconds: 10
successThreshold: 1
failureThreshold: 3 I had increased timeoutSeconds to 5 hrs and still consumers are seeing failures. And also status calls were failing even through containers were not restarting. |
Thank you! The probe yamls look ok. |
yes, we have changed the probe endpoints and also tried with disabled it, sometimes curls were timing out or have high response time. |
Team, Can you please suggest on this? Looks like similar issue is raised in #11710. |
Hey @anup-krai! Could you tell us how large your configuration is (number of routes/services/consumers), roughly? |
Hi @nowNick , Below are the details - |
Team, Can you please suggest on this? |
Hey @anup-krai It seems like the similar issue to yours has been closed with this comment: Do you think the resolution might also be similar? |
Yes, we were able to identify the issue and its fixed now. Thanks for your response @nowNick . |
@anup-krai and @nowNick I think i'm suffering with the same issue here, can you please share how did you identify the ofensor plugin causing this problem? |
Seeing same issue |
Discussed in #11693
Originally posted by anup-krai October 4, 2023
Hi All,
We are using Kong (3.0.1) with KIC (2.8.2) and Postgres DB. From last few days we are getting below Liveness and Readiness failures which is resulting in proxy container restarts -
What could be causing this error? Below are few logs -
The text was updated successfully, but these errors were encountered: