-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add affinity-rules feature to configmap config-deployment (#15250)
* add affinity-rules to config-deployment configmap * run ./hack/update-codegen.sh * change affinity rules property to be a flag * run ./hack/update-codegen.sh * add default pod anti-affinity rules to PodSpec * re-arrange imports * enable pod anti affinity by default * fix value in config-deployment * fix condition for adding pod anti-affinity based on presence of a label * run ./hack/update-codegen.sh * clean up deploy tests * change property name * enable pod anti affinity by default * update deployment.yaml * adds new default for enable pod anti affinity to existing tests * change affinity type from toggle to string * run ./hack/update-codegen.sh * fix condition to apply podspec * tweak when applying the defaults * simplify condition that apply affinity defaults * rename new field to default-affinity-type * replace usage of old name affinity * rename test cases
- Loading branch information
Showing
5 changed files
with
248 additions
and
2 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
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