-
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
Is there any way to increase controllers post-shutdown-grace-period parameter value in helm? #9125
Comments
@sokoow: This issue is currently awaiting triage. If Ingress contributors determines this is a relevant issue, they will accept it by applying the The 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. |
@sokoow you can achieve graceful shutdown by adding following content in pod spec
|
/remove-kind bug |
@kundan2707 thanks for replying, but then what is this post-shutdown-grace-period parameter for and why it defaults to 10s? |
/remove-kind bug |
ingress-nginx/pkg/flags/flags.go Line 210 in a581a7b
https://github.com/kubernetes/ingress-nginx/pull/8143/files The option is there; I have also opened a new issue to make sure the documentation is updated #9214 If this does not fix the issue, please reopen the issue and comment. Thank you for pointing out this issue. /close |
@strongjz: 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. |
I misread the ask, here is the Helm configuration https://github.com/kubernetes/ingress-nginx/blob/main/charts/ingress-nginx/values.yaml#L180
|
What happened:
I'm trying to get more than 10 seconds of grace when shutdown is invoked. I can see that there's post-shutdown-grace-period parameter, but helm chart doesn't seem to be able to change it (I may be wrong).
I thought #8095 and #8143 might help, but not much info over there either
What you expected to happen:
Find a way to change this parameter in helm chart's values.yaml
NGINX Ingress controller version (exec into the pod and run nginx-ingress-controller --version.): v1.3.0
Kubernetes version (use
kubectl version
): 1.21.14-eksThe text was updated successfully, but these errors were encountered: