-
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
Chart: Updating the chart without changing nginx image version break the ingress #5559
Comments
Can you clarify the upgrade from which version to which version, and which chart repo you were using (https://github.com/helm/charts/stable/ingress-nginx or https://github.com/kubernetes/ingress-nginx)? |
@tuananhnguyen-ct as written in the issue: old stable chart, update from nginx-ingress-1.15.0 (v0.24.1) to nginx-ingress-1.17.1 (v0.24.1). Thank you. |
Can you share the helm update commands you were using and its result? I checked and nothing in between 1.15 to 1.17 can trigger that error, so it's likely an issue with the deployment flow or your k8s cluster. |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
/remove-lifecycle stale |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
Stale issues rot after 30d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
Rotten issues close after 30d of inactivity. Send feedback to sig-contributor-experience at kubernetes/community. |
@fejta-bot: Closing this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
NGINX Ingress controller version:
nginx-ingress-1.17.1, v0.24.1
Old stable chart, I know 😞 but this is a copy of the ticket opened on the stable chart repo and unattended for the last 5 months helm/charts#19976 I hope that in the meantime the problem has been solved.
Kubernetes version (use
kubectl version
):K8s v1.12.7
Helm v2.14.3
Environment:
uname -a
):What happened:
I had Nginx-ingress installed (nginx-ingress-1.15.0, v0.24.1).
I updated the chart (nginx-ingress-1.17.1, v0.24.1).
The Nginx version was not updated by choice (due to this problem #4305).
The nginx pods have begun to generate these errors:
And then I found this error in the pods:
Basically, the chart update changed the name of the secret. The pods had the old and stopped working. By restarting them they took the secret correctly and restarted to work properly.
What you expected to happen:
If I update only the chart I would like the old pods to continue to work or helm recreate new ones.
I found this way to do it: https://medium.com/@chunjenchen/helm-upgrade-is-not-recreating-pod-f1813ce8e55a
How to reproduce it:
Redo the same step that I did.
Anything else we need to know:
I appreciate your work!
/kind bug
The text was updated successfully, but these errors were encountered: