Skip to content
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

updateStrategy in nginx-ingress-controller cannot be zero #107

Open
lzecca78 opened this issue Mar 28, 2023 · 1 comment
Open

updateStrategy in nginx-ingress-controller cannot be zero #107

lzecca78 opened this issue Mar 28, 2023 · 1 comment

Comments

@lzecca78
Copy link
Contributor

Hi!
while we were installing the module version 1.13.1 we had the following problem:

DaemonSet.apps "nginx-ingress-controller-internal" is invalid: spec.updateStrategy.rollingUpdate.maxUnavailable: Invalid value: intstr.IntOrString{Type:0, IntVal:0, StrVal:""}: cannot be 0

What we did was to add the following jsonPatch:

- op: replace
  path: /spec/updateStrategy/rollingUpdate/maxUnavailable
  value: 1

Kubernetes version : EKS 1.22

@nutellinoit
Copy link
Member

Thank you @lzecca78 , we found later that this field is not working on 1.22, but should work on 1.23+.

Your patch is the correct fix for the version 1.22

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants