Add ready plugin for CoreDNS (#4817)

This commit is contained in:
Andreas Krüger 2019-05-28 15:47:57 +02:00 committed by Kubernetes Prow Robot
parent b41530ba5d
commit 7423932510
2 changed files with 3 additions and 2 deletions

View file

@ -11,6 +11,7 @@ data:
.:53 { .:53 {
errors errors
health health
ready
kubernetes {{ dns_domain }} in-addr.arpa ip6.arpa { kubernetes {{ dns_domain }} in-addr.arpa ip6.arpa {
pods insecure pods insecure
{% if resolvconf_mode == 'host_resolvconf' and upstream_dns_servers is defined and upstream_dns_servers|length > 0 %} {% if resolvconf_mode == 'host_resolvconf' and upstream_dns_servers is defined and upstream_dns_servers|length > 0 %}

View file

@ -96,8 +96,8 @@ spec:
failureThreshold: 10 failureThreshold: 10
readinessProbe: readinessProbe:
httpGet: httpGet:
path: /health path: /ready
port: 8080 port: 8181
scheme: HTTP scheme: HTTP
timeoutSeconds: 5 timeoutSeconds: 5
successThreshold: 1 successThreshold: 1