driver/daemonset: Align node selection behavior with Kubernetes scheduler#1958
Merged
franknstyle merged 7 commits intovmware-tanzu:mainfrom Sep 17, 2024
Merged
driver/daemonset: Align node selection behavior with Kubernetes scheduler#1958franknstyle merged 7 commits intovmware-tanzu:mainfrom
franknstyle merged 7 commits intovmware-tanzu:mainfrom
Conversation
Align node filter behavior with Kuberntes scheduler to avoid errors when both of nodeSelctor and nodeAffinity are set to PodSpec. > If you specify both nodeSelector and nodeAffinity, both must be satisfied for the Pod to be scheduled onto a node. > > https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/ Issue: vmware-tanzu#1957 Signed-off-by: nonylene <nonylene@gmail.com>
Align nodeAffinity matching behavior with Kubernetes schduler. > If you specify multiple expressions in a single matchExpressions field associated with a term in nodeSelectorTerms, then the Pod can be scheduled onto a node only if all the expressions are satisfied (expressions are ANDed). > > https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/ Close vmware-tanzu#1957 Signed-off-by: nonylene <nonylene@gmail.com>
nonylene
commented
Feb 5, 2024
nonylene
commented
Feb 5, 2024
nonylene
commented
Feb 5, 2024
franknstyle
approved these changes
Jun 27, 2024
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What this PR does / why we need it:
Align node selection behavior with Kubernetes scheduler in DaemonSet driver.
Which issue(s) this PR fixes
Special notes for your reviewer:
Release note: