-
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
ingress-nginx crashes on reload of configuration #4284
Comments
This means the pod is not passing the probes (readiness/liveness) |
Specifically here I am removing a namespace (along with pods, ingress etc) and modifying tcp-services, nginx-ingress-controller (deployment) and ingress-nginx (service) to remove the tcp ports. Which triggers the reload My setup is the same as the mandatory.yaml etc from this github repo. To me it seems the healthchecks are failing because the pod has been terminated + the pods have been terminated due to the reload. I was under the impression that this was fixed |
If you change the deployment the running pod will be replaced. Why are you doing this? (this is not related to ingress-nginx but any deployment in k8s) |
Ah good point. I patch the deployment to delete the port of the service I have removed |
@Hibbert can we close this issue? |
That bit I understand. Although it is not just when the deployment is reconfigured that I have the problem. It is also when I delete the apps namespace. I am using ingress-nginx to route JNLP traffic through to the jenkins master when I am running this. The reload seems to cause connectivity problem:- Cannot contact i-08cb100f0b67f1286: hudson.remoting.ChannelClosedException: Channel "unknown": Remote call on JNLP4-connect connection from ip-10-207-56-171.ec2.internal/10.207.56.171:51970 failed. The channel is closing down or has closed down |
That's expected. You are deleting the app being exposed. There is no pod running.
Which reload? |
Closing. This is fixed in master #4487 |
Is this a request for help? (If yes, you should use our troubleshooting guide and community support channels, see https://kubernetes.io/docs/tasks/debug-application-cluster/troubleshooting/.):
What keywords did you search in NGINX Ingress controller issues before filing this one? (If you have found any duplicates, you should instead reply there.):
This is a follow on from #4041, which has been closed due to PR #4091. I have tested this with the latest version 0.25.0 and it still occurs.
Also found some related issues previously:-
#3459
#3457
#3737
#3684
Is this a BUG REPORT or FEATURE REQUEST? (choose one):
NGINX Ingress controller version:
0.25.0
Kubernetes version (use
kubectl version
):Environment:
uname -a
):What happened:
Upon reloading of configuration nginx crashes
What you expected to happen:
Pod stays up when being configured
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know:
The text was updated successfully, but these errors were encountered: