Skip to content

Conversation

gaurav-splunk
Copy link
Collaborator

This PR fixes the problem of unnecessary pod resets/recycles during scale up/down of splunk resources. As part of this solution, as soon as we try to scale up/down pods, we now update the pod-revision-hash label on pods to match updateRevision of StatefulSet. This prevents the recycle of pods based on pod-revision-hash mismatch of pods.

kashok-splunk
kashok-splunk previously approved these changes Dec 3, 2020
Copy link
Contributor

@jryb jryb left a comment

Choose a reason for hiding this comment

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

With this change does that mean we don't recycle the running pods when we scale up/down? Or do we just recycle the pods less?

@kashok-splunk kashok-splunk dismissed their stale review December 3, 2020 18:20

Sorry, still reviewing.

Copy link
Collaborator

@akondur akondur left a comment

Choose a reason for hiding this comment

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

Great PR @gaurav-splunk

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.

6 participants