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.
Maybe you can change your healthcheck to return something between 200-300 when it is going to return 100-199 , kind of overwirte.