Browse Source

Add ready plugin for CoreDNS (#4817)

pull/3910/head
Andreas Krüger 5 years ago
committed by Kubernetes Prow Robot
parent
commit
7423932510
2 changed files with 3 additions and 2 deletions
  1. 1
      roles/kubernetes-apps/ansible/templates/coredns-config.yml.j2
  2. 4
      roles/kubernetes-apps/ansible/templates/coredns-deployment.yml.j2

1
roles/kubernetes-apps/ansible/templates/coredns-config.yml.j2

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

4
roles/kubernetes-apps/ansible/templates/coredns-deployment.yml.j2

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

Loading…
Cancel
Save