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

Scheduling: Node Affinity #482

Closed
akestner opened this issue Jun 28, 2021 · 1 comment
Closed

Scheduling: Node Affinity #482

akestner opened this issue Jun 28, 2021 · 1 comment
Assignees
Labels
feature New feature or request
Milestone

Comments

@akestner
Copy link
Contributor

From Kubernetes docs

There are currently two types of node affinity, called requiredDuringSchedulingIgnoredDuringExecution and preferredDuringSchedulingIgnoredDuringExecution. You can think of them as "hard" and "soft" respectively, in the sense that the former specifies rules that must be met for a pod to be scheduled onto a node (similar to nodeSelector but using a more expressive syntax), while the latter specifies preferences that the scheduler will try to enforce but will not guarantee. The "IgnoredDuringExecution" part of the names means that, similar to how nodeSelector works, if labels on a node change at runtime such that the affinity rules on a pod are no longer met, the pod continues to run on the node. In the future we plan to offer requiredDuringSchedulingRequiredDuringExecution which will be identical to requiredDuringSchedulingIgnoredDuringExecution except that it will evict pods from nodes that cease to satisfy the pods' node affinity requirements.

@akestner akestner added feature New feature or request v0.4 labels Jun 28, 2021
@akestner akestner added this to the v0.4.0 milestone Jun 28, 2021
@ellistarn ellistarn removed the v0.4 label Aug 23, 2021
@ellistarn ellistarn self-assigned this Aug 23, 2021
@ellistarn
Copy link
Contributor

Picking this up

@ellistarn ellistarn mentioned this issue Sep 21, 2021
3 tasks
gfcroft pushed a commit to gfcroft/karpenter-provider-aws that referenced this issue Nov 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants