update coredns 1.4.0

pull/505/head
gjmzj 2019-03-27 20:55:34 +08:00
parent b3b3225eb9
commit b652d0ad62
1 changed files with 10 additions and 3 deletions

View File

@ -70,7 +70,7 @@ data:
fallthrough in-addr.arpa ip6.arpa
}
prometheus :9153
proxy . /etc/resolv.conf
forward . /etc/resolv.conf
cache 30
loop
reload
@ -103,13 +103,16 @@ spec:
annotations:
seccomp.security.alpha.kubernetes.io/pod: 'docker/default'
spec:
priorityClassName: system-cluster-critical
serviceAccountName: coredns
tolerations:
- key: "CriticalAddonsOnly"
operator: "Exists"
nodeSelector:
beta.kubernetes.io/os: linux
containers:
- name: coredns
image: coredns/coredns:1.2.6
image: coredns/coredns:1.4.0
imagePullPolicy: IfNotPresent
resources:
limits:
@ -141,6 +144,11 @@ spec:
timeoutSeconds: 5
successThreshold: 1
failureThreshold: 5
readinessProbe:
httpGet:
path: /health
port: 8080
scheme: HTTP
securityContext:
allowPrivilegeEscalation: false
capabilities:
@ -185,4 +193,3 @@ spec:
- name: metrics
port: 9153
protocol: TCP
targetPort: 9153