mirror of
https://github.com/notherealmarco/coredns-deployment.git
synced 2025-05-05 12:32:34 +02:00
kubernetes: remove pod anti affinity (#60)
Scalability woes persist for pod anti-affinity in kubernetes. See kubernetes/kubernetes#54164 re-opened recently, and kubernetes/kubernetes#59357 reverted.
This commit is contained in:
parent
b867270f09
commit
33c9db3d96
1 changed files with 0 additions and 12 deletions
|
@ -85,18 +85,6 @@ spec:
|
||||||
tolerations:
|
tolerations:
|
||||||
- key: "CriticalAddonsOnly"
|
- key: "CriticalAddonsOnly"
|
||||||
operator: "Exists"
|
operator: "Exists"
|
||||||
affinity:
|
|
||||||
podAntiAffinity:
|
|
||||||
preferredDuringSchedulingIgnoredDuringExecution:
|
|
||||||
- weight: 100
|
|
||||||
podAffinityTerm:
|
|
||||||
labelSelector:
|
|
||||||
matchExpressions:
|
|
||||||
- key: k8s-app
|
|
||||||
operator: In
|
|
||||||
values:
|
|
||||||
- coredns
|
|
||||||
topologyKey: kubernetes.io/hostname
|
|
||||||
containers:
|
containers:
|
||||||
- name: coredns
|
- name: coredns
|
||||||
image: coredns/coredns:1.0.4
|
image: coredns/coredns:1.0.4
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue