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

Support soft and hard affinity in nodeAntiAffinity #13969

Open
tczhao opened this issue Dec 5, 2024 · 0 comments
Open

Support soft and hard affinity in nodeAntiAffinity #13969

tczhao opened this issue Dec 5, 2024 · 0 comments
Labels
area/retryStrategy Template-level retryStrategy type/feature Feature request

Comments

@tczhao
Copy link
Member

tczhao commented Dec 5, 2024

Summary

What change needs making?

Setting nodeAntiAffinity prevents running steps on the same host when pod retries.
This is configured by patching requiredDuringSchedulingIgnoredDuringExecution filter out hostnode in the pod affinity.
However, we could encounter a situation where retry exhausts all the hostnodes.

We want this configuration to be more flexible,
e.g. supports preferredDuringSchedulingIgnoredDuringExecution
e.g. supports configuring maximum number of hosts excluded


Message from the maintainers:

Love this feature request? Give it a 👍. We prioritise the proposals with the most 👍.

@tczhao tczhao added type/feature Feature request area/retryStrategy Template-level retryStrategy labels Dec 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/retryStrategy Template-level retryStrategy type/feature Feature request
Projects
None yet
Development

No branches or pull requests

1 participant