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

Splunk Operator: Need ability to restart a percentage of Indexers on updates instead of all indexer pods at once. #1257

Open
cderocco5 opened this issue Dec 6, 2023 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@cderocco5
Copy link

Please select the type of request

Feature Request

Tell us more

Describe the request

  • When making image or affinity changes or other CR changes that require pod recreation. I need the ability to specify a percentage of the indexer pods to recreate. Right now, these operations cause all the indexer pods to recreate at once. When you have over 450 indexer pods, having them restart at once puts a lot of pressure on Azure Kubernetes Service (AKS) API server which causes requests to get throttled by AKS.

Expected behavior

  • I need to ability to specify a percentage in the IndexerCluster CR to say update 10% or 33% of the indexers at a time. Until the IndexerCluster reconciles and all the indexer pods are recreated in batches.

Splunk setup on K8S

  • 15 Searchheads. 455 Indexers running on Azure Kubernetes Service. Running Splunk 9.1.2

Reproduction/Testing steps

  • Change affinity rules, specify new docker image, or any changes you make in the IDXC CR that cause indexer pods to recreate.

K8s environment

  • Running on Azure Kubernetes Service. K8s version 1.28.0

Proposed changes(optional)

  • Allow ability to update indexer pods in batches by specifying a percentage of indexers to recreate on updates in the IDXC CR.
@vivekr-splunk vivekr-splunk added the enhancement New feature or request label Dec 6, 2023
@vivekr-splunk vivekr-splunk assigned akondur and unassigned kumarajeet and jryb Dec 6, 2023
@vivekr-splunk
Copy link
Collaborator

@cderocco5 thank you for your request, we will look into this issue and get back to you.

@cderocco5
Copy link
Author

It will be nice to have this functionality on searchheads too. Allowing users to update multiple searchheads at once instead of 1 at a time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

5 participants