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:
Chris O'Haver 2018-02-07 10:01:10 -05:00 committed by GitHub
parent b867270f09
commit 33c9db3d96
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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