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

Add default MaxUnavailable spec for ES #1053

Merged
merged 1 commit into from
Aug 18, 2023
Merged

Add default MaxUnavailable spec for ES #1053

merged 1 commit into from
Aug 18, 2023

Conversation

raihankhan
Copy link
Contributor

ES controller ensures PDB to exist only if user provided .spec.maxUnavailable or .spec.topology.node_type.maxUnavailable field. This PR will let the controller add a default value for maxUnavailable from the mutator if not provided. The controller will be allowing a maximum of 1 unavailable pod during pod eviction if ES is not in standalone mode.

Signed-off-by: raihankhan <raihan@appscode.com>
@tamalsaha tamalsaha merged commit eec599f into master Aug 18, 2023
4 checks passed
@tamalsaha tamalsaha deleted the es-pdb branch August 18, 2023 12:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants