-
Notifications
You must be signed in to change notification settings - Fork 48
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 to allow etcd-druid to patch STS when there is only a change of mount-path even if all pods are not up and running #915
Conversation
/assign @ishan16696 @seshachalam-yv |
/retest |
/retest |
I have mentioned the steps to reproduce the bug and to test the fix : #908 (comment) |
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
I have also tested the compaction job fix: Before the fix etcd compaction pod is also added to endpointslices due to label selector of svc.
Then I deployed druid with this PR image and trigger the compaction pod, etcd compaction pod is not added to endpointSlices as now services are selecting the only etcd statefulset pods.
|
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!!
/test pull-etcd-druid-e2e-kind-nondistroless-etcd |
…ount-path even if all pods are not up and running (gardener#915)
How to categorize this PR?
/area control-plane
/kind bug
What this PR does / why we need it:
The issue is described well in #908. This PR allows etcd-druid to patch the StatefulSet allowing the unhealthy pod to come up eventually if what has changed is only TLS volume mount path.
Additionally it also now adds an additional label to the etcd client and peer service to ensure that only statefulset pods are selected by it.
Which issue(s) this PR fixes:
Fixes #908 and #914
Release note: