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 way to config when unsatisfiable for topology spread #38

Merged
merged 1 commit into from
Jan 4, 2024

Conversation

domgoodwin
Copy link
Contributor

@domgoodwin domgoodwin commented Sep 21, 2023

This means we can force pods to spread across AZs by making pods have to schedule matching their skew:

This is the config we would add as an env variable for balancing AZ scheduling

- name: POD_TOPOLOGY_ZONE_WHEN_UNSATISFIABLE
  value: "DoNotSchedule"

This would mean any node scaling/provisioning would force itself to schedule these pods across AZs

Reviving this due to an issue where too many pods are scheduling in AZa

@domgoodwin domgoodwin force-pushed the pod-toplogy-spread-when-unsatisfiable branch from 6850cb6 to 0b51076 Compare January 4, 2024 09:21
@domgoodwin domgoodwin merged commit 59c4401 into master Jan 4, 2024
1 check passed
@domgoodwin domgoodwin deleted the pod-toplogy-spread-when-unsatisfiable branch January 4, 2024 10:24
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.

2 participants