mirror of https://github.com/k3s-io/k3s.git
coredns: Add readinessProbe
parent
fc4fc47ec0
commit
e8ca18ab2b
|
@ -55,6 +55,7 @@ data:
|
||||||
.:53 {
|
.:53 {
|
||||||
errors
|
errors
|
||||||
health
|
health
|
||||||
|
ready
|
||||||
kubernetes %{CLUSTER_DOMAIN}% in-addr.arpa ip6.arpa {
|
kubernetes %{CLUSTER_DOMAIN}% in-addr.arpa ip6.arpa {
|
||||||
pods insecure
|
pods insecure
|
||||||
upstream
|
upstream
|
||||||
|
@ -142,6 +143,15 @@ spec:
|
||||||
timeoutSeconds: 5
|
timeoutSeconds: 5
|
||||||
successThreshold: 1
|
successThreshold: 1
|
||||||
failureThreshold: 5
|
failureThreshold: 5
|
||||||
|
readinessProbe:
|
||||||
|
httpGet:
|
||||||
|
path: /ready
|
||||||
|
port: 8181
|
||||||
|
scheme: HTTP
|
||||||
|
initialDelaySeconds: 10
|
||||||
|
timeoutSeconds: 5
|
||||||
|
successThreshold: 1
|
||||||
|
failureThreshold: 5
|
||||||
dnsPolicy: Default
|
dnsPolicy: Default
|
||||||
volumes:
|
volumes:
|
||||||
- name: config-volume
|
- name: config-volume
|
||||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue