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

Allow different/multiple PodDisruptionBudgets for Elasticsearch clusters #7673

Open
nullren opened this issue Mar 27, 2024 · 1 comment
Open
Labels
>enhancement Enhancement of existing functionality

Comments

@nullren
Copy link

nullren commented Mar 27, 2024

Proposal

Allow multiple PodDisruptionBudgets for an Elasticsearch cluster to be created and set for different types of NodeSets or node roles.

Right now, only 1 PDB is created per cluster which be default only allows for 1 disruption per cluster. It would be nice to, for example, define a PDB for just manager nodes that allows for 1 disruption, a separate PDB for data nodes that allows a different number of disruptions, and a separate PDB for coordinating-only nodes that allow unlimited disruptions.

Ideally, I could define many PDBs with varying rules as my ES cluster can have different requirements based on the nodes and shard placement and redundancy.

Specifically, we run large clusters, and right now, we can only really have 1 disruption because if we lose two manager nodes, that would be bad news bears for us. It would be nice to have a more aggressive PDB for different node types.

@botelastic botelastic bot added the triage label Mar 27, 2024
@pebrc pebrc added the >enhancement Enhancement of existing functionality label Apr 19, 2024
@botelastic botelastic bot removed the triage label Apr 19, 2024
@nullren
Copy link
Author

nullren commented May 29, 2024

even being able to just exclude some nodesets would be helpful. eg, having a selector that's like

elasticsearch.k8s.elastic.co/cluster-name=my-cluster,elasticsearch.k8s.elastic.co/statefulset-name notin (my-cluster-es-read-client,my-cluster-es-write-client)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
>enhancement Enhancement of existing functionality
Projects
None yet
Development

No branches or pull requests

2 participants