How to ignore http requests health check in kubernetes within liveness probe / readiness probe? How to ignore http requests health check in kubernetes within liveness probe / readiness probe? kubernetes kubernetes

How to ignore http requests health check in kubernetes within liveness probe / readiness probe?


Any code greater than or equal to 200 and less than 400 indicates success. Any other code indicates failure. You can see the source code for the server in server.go.

https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-probes/#configure-probes

Maybe you can change your healthcheck to return something between 200-300 when it is going to return 100-199 , kind of overwirte.