Are KongIngress health checks needed if using Kubernetes Deployment Probes #1949
Replies: 2 comments 3 replies
-
Are you running into some issues where health checks are being slow? |
Beta Was this translation helpful? Give feedback.
-
We removed the KongIngress Active/Passive checks because we ran into a chicken/egg scenario. We had an Kong Ingress active check that invoked /status/liveness on an API and also had the K8s deployment for this API setup with a liveness probe that also invoked /status/liveness on the the API. If the API ever went down then it could never recover because the pod could never come back online because the /status/liveness call couldn't be made because the pods were taken offline. We are now just using the liveness probe from the deployment with no KongIngress Active/Passive checks and things work as expected. I just wanted to make sure I am not missing any potential gotchas for not using KongIngress Active/Passive checks with this configuration. |
Beta Was this translation helpful? Give feedback.
-
I am wondering if there is an actual need to setup KongIngress Active/Passive Health checks within a Kubernetes cluster if you have a deployment defined with startup/readiness/liveness probes?
Seems like the deployment probes will handle shifting traffic to pods that are unhealthy without the need of setting up KongIngress active/passive health checks but I want to make sure I am not missing a scenario where they would be needed.
Beta Was this translation helpful? Give feedback.
All reactions