-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge affinity from podtempalte and affinity-assistant
No matter user provide affinity in podtemplate or not the affinity-assistant will overwrite the affinity in pod. However if user set affinity in podtemplate merge podtemplate's affinity with affinity-assistant's affinity is better way. So we inject the affinity of the affinity-assitant into the affinity of the podtempalte as the affinity of the pod to make sure that all the affinities work properly. Related Issue: #5241 Signed-off-by: yuzhipeng <yuzp1996@qq.com>
- Loading branch information
Showing
4 changed files
with
361 additions
and
38 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.