Skip to content
This repository has been archived by the owner on Feb 26, 2025. It is now read-only.

What about MaxUnavailble? #63

Open
paulgmiller opened this issue Jan 3, 2025 · 0 comments
Open

What about MaxUnavailble? #63

paulgmiller opened this issue Jan 3, 2025 · 0 comments

Comments

@paulgmiller
Copy link
Owner

Surging helps minavailable if there's a single pod stuck unready but with low maxunavailable (1% for example) once you have a single unready replica you could be stuck. For example a 2 replica deployment with maxunavailable 1% is blocked with one unready pod but until you surge it to 100 pods you're still stuck.

Some options.

  1. Mutate pdbs from maxunavailable to minavailble.
  2. Dynamically increase maxunavailable when we surge and then restore it (hard for percent)
  3. Increase not by the max surge but by whatever number is needed
  4. Delete unready pods after we surge in pods if they become ready.

Some tradeoffs to consider. Need some data on how often people set low maxunavailable.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant