Update CoreDNS version and update manifest (#206)

* update version to 1.6.4 and add anti-affinity

Signed-off-by: Sandeep Rajan <srajan@infoblox.com>

Signed-off-by: Sandeep Rajan <srajan@infoblox.com>

* fix indent

Signed-off-by: Sandeep Rajan <srajan@infoblox.com>

* add lameduck option

Signed-off-by: Sandeep Rajan <srajan@infoblox.com>

* version to 1.6.5 and change anti-affinity setting

Signed-off-by: Sandeep Rajan <srajan@infoblox.com>

* remove unsupported options

Signed-off-by: Sandeep Rajan <srajan@infoblox.com>

* fix indent

Signed-off-by: Sandeep Rajan <srajan@infoblox.com>

* test by changing replica to 1

Signed-off-by: Sandeep Rajan <srajan@infoblox.com>

* do not specify replicas

Signed-off-by: Sandeep Rajan <srajan@infoblox.com>

* lameduck duration to 5s

Signed-off-by: Sandeep Rajan <srajan@infoblox.com>
This commit is contained in:
Sandeep Rajan 2019-11-13 16:12:35 -05:00 committed by Chris O'Haver
parent bb38134eb3
commit 5098271568

View file

@ -54,7 +54,9 @@ data:
Corefile: |
.:53 {
errors
health
health {
lameduck 5s
}
ready
kubernetes CLUSTER_DOMAIN REVERSE_CIDRS {
pods insecure
@ -77,7 +79,9 @@ metadata:
k8s-app: kube-dns
kubernetes.io/name: "CoreDNS"
spec:
replicas: 2
# replicas: not specified here:
# 1. Default is 1.
# 2. Will be tuned in real time if DNS horizontal auto-scaling is turned on.
strategy:
type: RollingUpdate
rollingUpdate:
@ -97,9 +101,18 @@ spec:
operator: "Exists"
nodeSelector:
beta.kubernetes.io/os: linux
affinity:
podAntiAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
- labelSelector:
matchExpressions:
- key: k8s-app
operator: In
values: ["kube-dns"]
topologyKey: kubernetes.io/hostname
containers:
- name: coredns
image: coredns/coredns:1.6.2
image: coredns/coredns:1.6.5
imagePullPolicy: IfNotPresent
resources:
limits: