mirror of
https://github.com/notherealmarco/coredns-deployment.git
synced 2025-03-14 14:16:16 +01: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:
|
||||
- key: "CriticalAddonsOnly"
|
||||
operator: "Exists"
|
||||
affinity:
|
||||
podAntiAffinity:
|
||||
preferredDuringSchedulingIgnoredDuringExecution:
|
||||
- weight: 100
|
||||
podAffinityTerm:
|
||||
labelSelector:
|
||||
matchExpressions:
|
||||
- key: k8s-app
|
||||
operator: In
|
||||
values:
|
||||
- coredns
|
||||
topologyKey: kubernetes.io/hostname
|
||||
containers:
|
||||
- name: coredns
|
||||
image: coredns/coredns:1.0.4
|
||||
|
|
Loading…
Reference in a new issue