-
Notifications
You must be signed in to change notification settings - Fork 179
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
Support update of StatefulSet selector #1655
Support update of StatefulSet selector #1655
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we should make a safety check that the new selector matches the old podLabels or this can go quite wrong at some point
ca05ee3
to
b91e086
Compare
Good idea, done. |
b91e086
to
53a8d46
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
a few nits, rest lgtm
/approve
b23a900
to
63447f4
Compare
When Pods managed by existing StatefulSet matches new selector, StatefulSet is orphan deleted and recreated.
63447f4
to
b814650
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
thanks!
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: tnozicka, zimnx The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
When Pods managed by existing StatefulSet matches new selector, StatefulSet
is orphan deleted and recreated.
/cc @tnozicka