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 support for zone awareness and configurable maxUnavailable for pod replacements #862

Merged
merged 3 commits into from
Oct 28, 2024

Conversation

SaaldjorMike
Copy link
Member

No description provided.

…field to HumioUpdateStrategy

EnableZoneAwareness is true by default.

When EnableZoneAwareness is true:
- pod replacements will be performed one zone at a time.
- if no zone has been decided upon yet, pick the first one from the pods that needs replacing.
- as soon as no more pods are found in the current zone that needs replacing, the zone marker is cleared.

This also refactors the uses of os.Getenv() to helper functions to
reduce the number of places we refer to the env var names.
@SaaldjorMike SaaldjorMike force-pushed the mike/zoneaware_pod_deletions_plus_maxunavailable branch 2 times, most recently from 974dde4 to 396ed33 Compare October 24, 2024 09:49
@SaaldjorMike SaaldjorMike force-pushed the mike/zoneaware_pod_deletions_plus_maxunavailable branch from 396ed33 to d6227ee Compare October 24, 2024 09:52
@SaaldjorMike SaaldjorMike changed the base branch from master to mike/zoneaware_pod_deletions October 24, 2024 10:52
@SaaldjorMike SaaldjorMike marked this pull request as ready for review October 24, 2024 11:46
@SaaldjorMike SaaldjorMike requested a review from a team as a code owner October 24, 2024 11:46
@SaaldjorMike SaaldjorMike changed the base branch from mike/zoneaware_pod_deletions to master October 28, 2024 08:39
@SaaldjorMike SaaldjorMike merged commit b4f0ee1 into master Oct 28, 2024
26 checks passed
@SaaldjorMike SaaldjorMike deleted the mike/zoneaware_pod_deletions_plus_maxunavailable branch October 28, 2024 08:40
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.

3 participants