-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
nginx healthcheck error #3926
Comments
@LoicMahieu from the log it seems you changes the liveness probe intervals https://github.com/kubernetes/ingress-nginx/blob/master/deploy/mandatory.yaml#L251-L254 |
I've noticed something similar performing large file uploads with nginx 0.23.0 (from the helm chart 1.4.0). The health check fails, and the connection is closed making large uploads impossible. The logs below show the failure.
I have made no changes to the liveness check. This is from
|
Hi! Thanks @aledbf . But liveness probe is the same: "livenessProbe": {
"httpGet": {
"path": "/healthz",
"port": 10254,
"scheme": "HTTP"
},
"initialDelaySeconds": 10,
"timeoutSeconds": 1,
"periodSeconds": 10,
"successThreshold": 1,
"failureThreshold": 3
},
"readinessProbe": {
"httpGet": {
"path": "/healthz",
"port": 10254,
"scheme": "HTTP"
},
"initialDelaySeconds": 10,
"timeoutSeconds": 1,
"periodSeconds": 10,
"successThreshold": 1,
"failureThreshold": 3
} (Installation was done with helm stable chart.) Indeed, the restart of the pod is certainly due to the liveness probe. |
The chart is not maintained by this project. You should adjust the timeouts using the link I posted in my previous comment |
Is this a BUG REPORT or FEATURE REQUEST? (choose one):
Bug Report
NGINX Ingress controller version: 0.23.0
Kubernetes version (use
kubectl version
):Environment:
uname -a
):Linux gke-XXX-pool-2-XXX-lrdx 4.15.0-1026-gcp #27-Ubuntu SMP Thu Dec 6 18:27:01 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
What happened:
ingress-nginx
exited in status 0.What you expected to happen:
I expect that
ingress-nginx
continues to handle requests properly ;)How to reproduce it (as minimally and precisely as possible):
Anything else we need to know:
Logs:
The text was updated successfully, but these errors were encountered: