-
-
Save chrismessiah/cc936d1a24a0ea9c1063de15c9ecbaa6 to your computer and use it in GitHub Desktop.
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
# Class P | |
affinity: | |
podAntiAffinity: | |
requiredDuringSchedulingIgnoredDuringExecution: | |
- topologyKey: "kubernetes.io/hostname" | |
namespaces: ["default"] | |
labelSelector: | |
matchExpressions: | |
- key: non-existing-key | |
operator: DoesNotExist |
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
# Class PG | |
affinity: | |
podAffinity: | |
requiredDuringSchedulingIgnoredDuringExecution: | |
- topologyKey: "kubernetes.io/hostname" | |
labelSelector: | |
matchLabels: | |
class-pg-group-1: foobar | |
podAntiAffinity: | |
requiredDuringSchedulingIgnoredDuringExecution: | |
- topologyKey: "kubernetes.io/hostname" | |
labelSelector: | |
matchExpressions: | |
- key: class-pg-group-1 | |
operator: DoesNotExist |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment