Created
August 22, 2022 20:42
-
-
Save trevorbox/58931122b94c8a8d434f97b4e35a99fd to your computer and use it in GitHub Desktop.
topology spread constraint
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
topologySpreadConstraints: | |
- maxSkew: 1 | |
topologyKey: node | |
whenUnsatisfiable: DoNotSchedule | |
labelSelector: | |
matchExpressions: | |
- key: app | |
operator: In | |
values: | |
- db2ucluster-roarprds-primary | |
- db2ucluster-roarprds-standby | |
- db2ucluster-roarprds-aux | |
- key: type | |
operator: In | |
values: | |
- engine | |
- maxSkew: 1 | |
topologyKey: zone | |
whenUnsatisfiable: DoNotSchedule | |
labelSelector: | |
matchExpressions: | |
- key: app | |
operator: In | |
values: | |
- db2ucluster-roarprds-primary | |
- db2ucluster-roarprds-standby | |
- db2ucluster-roarprds-aux | |
- key: type | |
operator: In | |
values: | |
- engine |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment