diff --git a/stable/coredns/Chart.yaml b/stable/coredns/Chart.yaml index 7f940d6dd3..aa03f2537b 100644 --- a/stable/coredns/Chart.yaml +++ b/stable/coredns/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v1 name: coredns -version: 1.5.5 +version: 1.5.6 appVersion: 1.5.2 description: CoreDNS is a DNS server that chains plugins and provides Kubernetes DNS Services keywords: diff --git a/stable/coredns/templates/deployment.yaml b/stable/coredns/templates/deployment.yaml index f3459a43a2..68ac664627 100644 --- a/stable/coredns/templates/deployment.yaml +++ b/stable/coredns/templates/deployment.yaml @@ -76,6 +76,15 @@ spec: timeoutSeconds: 5 successThreshold: 1 failureThreshold: 5 + readinessProbe: + httpGet: + path: /ready + port: 8181 + scheme: HTTP + initialDelaySeconds: 10 + timeoutSeconds: 5 + successThreshold: 1 + failureThreshold: 5 volumes: - name: config-volume configMap: diff --git a/stable/coredns/values.yaml b/stable/coredns/values.yaml index 657d25d90f..1200c463fd 100644 --- a/stable/coredns/values.yaml +++ b/stable/coredns/values.yaml @@ -63,6 +63,8 @@ servers: parameters: 30 - name: errors - name: health + # Serves a /ready endpoint on :8181 + - name: ready - name: kubernetes parameters: cluster.local - name: loadbalance