Last active
July 17, 2020 18:09
-
-
Save pulumipus/fbf24163a0506c4d678500a92ac56981 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
spec: { | |
serviceAccountName: "default", | |
securityContext: { | |
fsGroup: 1001, | |
runAsUser: 1001 | |
}, | |
affinity: { | |
podAntiAffinity: { | |
preferredDuringSchedulingIgnoredDuringExecution: [ | |
{ | |
weight: 1, | |
podAffinityTerm: { | |
topologyKey: "kubernetes.io/hostname", | |
labelSelector: { | |
matchLabels: { | |
app: "mariadb", | |
release: "example" | |
} | |
} | |
} | |
} | |
] | |
} | |
}, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment