Created
December 22, 2020 21:12
-
-
Save dixneuf19/c63c253a330331dd0c7885f45944394b 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
podAffinity: # with pod Affinity, I help him stay close of web | |
requiredDuringSchedulingIgnoredDuringExecution: | |
- labelSelector: # select the sentry-web pod | |
matchExpressions: | |
- key: role | |
operator: In | |
values: | |
- web | |
- key: app | |
operator: In | |
values: | |
- sentry | |
topologyKey: "kubernetes.io/hostname" # set topology to node |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment