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

fix: sts will restart when use kubectl #1989

Merged
merged 1 commit into from
Feb 20, 2024

Conversation

jiuker
Copy link
Contributor

@jiuker jiuker commented Feb 19, 2024

fix: sts will restart when use kubectl

newStatefulSet.Spec.Template = expectedStatefulSet.Spec.Template

when delete(expectedAnnotations, corev1.LastAppliedConfigAnnotation) will delete expectedStatefulSet.Spec.Template.Metadata.Annotations's key.
So when someone use kubectl apply -f tenant.yaml statuefulset will restart as soon as possible.

sts will restart when use kubectl
Copy link
Contributor

@shtripat shtripat left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@pjuarezd pjuarezd merged commit ba9ccc6 into minio:master Feb 20, 2024
26 checks passed
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

Successfully merging this pull request may close these issues.

4 participants