From 9fcf3caf7eaaace179c1383d25b424df78abae1b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20R=C3=BCger?= Date: Sun, 21 Jul 2019 02:49:05 -0700 Subject: [PATCH] [stable/coredns] Add ReadinessProbe (#15295) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Manuel RĂ¼ger --- stable/coredns/Chart.yaml | 2 +- stable/coredns/templates/deployment.yaml | 9 +++++++++ stable/coredns/values.yaml | 2 ++ 3 files changed, 12 insertions(+), 1 deletion(-) 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