-
Notifications
You must be signed in to change notification settings - Fork 7.6k
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
istio operator stuck after adding new label #43312
Comments
I cannot reproduce. What is your operator version? |
@hanxiaop the istio-operator image is:
if thats what you meant with version |
@arnoldyahad Sorry I misunderstood the issue. I think this is as expected. You want to change the label which will result in the |
@hanxiaop thanks but i would expect istio-operator to just block the change and not make my ingress pods not usable anymore. is there a proper way to add a label to an existing gateway deployment? |
@hanxiaop thanks for your reply! - also, do you know(or anyone else reading this) is it possible to do if i dont use an operator but i use the helm charts? (to add labels) https://istio.io/latest/docs/setup/install/helm/ as istio announced this is now promoted to beta, but if it allows me to easily manipulate labels, maybe its worth switching to. |
🚧 This issue or pull request has been closed due to not having had activity from an Istio team member since 2023-02-14. If you feel this issue or pull request deserves attention, please reopen the issue. Please see this wiki page for more information. Thank you for your contributions. Created by the issue and PR lifecycle manager. |
+1 to having the operator validate component labels haven't changed. It will update the service with new selectors but never be able to update immutable fields on the deployment bringing components like the ingress gateway down since the pods are running with the original label values. |
Sorry for missing this. I think using helm is better, adding labels to existing gateway deployment should not work since it's k8s limitation. |
I think we have an ordering logic where services should be applied only after the pods are ready. However, there might be an issue causing services to be applied even when the deployment application has failed. |
Bug Description
Hey folks,
when adding a new label to the istio operator it got stuck and caused our gateway pods to not work, this is the change i've made:
this caused an error:
and also when reading the logs of the operator it got stuck entierly on that error and doesnt print anymore messages:
new test-lb pods are not passing their readiness gate:
is this an intended behavior? because this means that if someone adds a label the istio-ingress pods will stop working.
is there any fix or other way to add labels to existing istio-ingress pods?
Version
Additional Information
No response
The text was updated successfully, but these errors were encountered: