Skip to content

Commit

Permalink
infrastructure: cluster1: kube-dns: Specify topologySpreadConstraints.
Browse files Browse the repository at this point in the history
  • Loading branch information
wigust committed Nov 5, 2024
1 parent 2b99b03 commit b813ae1
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions infrastructure/cluster1/kube-dns/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,10 @@ spec:
operator: "Equal"
value: "true"
effect: "NoSchedule"
topologySpreadConstraints:
- maxSkew: 1
topologyKey: kubernetes.io/hostname
whenUnsatisfiable: ScheduleAnyway
labelSelector:
matchLabels:
k8s-app: kube-dns

0 comments on commit b813ae1

Please sign in to comment.