coredns: Add readinessProbe

This commit is contained in:
Manuel Rüger 2019-10-15 00:33:49 +02:00
parent fc4fc47ec0
commit e8ca18ab2b
2 changed files with 11 additions and 1 deletions

View File

@ -55,6 +55,7 @@ data:
.:53 {
errors
health
ready
kubernetes %{CLUSTER_DOMAIN}% in-addr.arpa ip6.arpa {
pods insecure
upstream
@ -142,6 +143,15 @@ spec:
timeoutSeconds: 5
successThreshold: 1
failureThreshold: 5
readinessProbe:
httpGet:
path: /ready
port: 8181
scheme: HTTP
initialDelaySeconds: 10
timeoutSeconds: 5
successThreshold: 1
failureThreshold: 5
dnsPolicy: Default
volumes:
- name: config-volume

File diff suppressed because one or more lines are too long