Add host information for canal readiness probe (#4548)

pull/4566/head
Maxime Guyot 2019-04-17 19:22:02 +02:00 committed by Kubernetes Prow Robot
parent f69b5f7f33
commit a6dc50e7cb
1 changed files with 2 additions and 0 deletions

View File

@ -249,6 +249,7 @@ spec:
privileged: true
livenessProbe:
httpGet:
host: 127.0.0.1
path: /liveness
port: 9099
periodSeconds: 10
@ -257,6 +258,7 @@ spec:
readinessProbe:
{% if calico_version is version('v3.3.0', '<')%}
httpGet:
host: 127.0.0.1
path: /readiness
port: 9099
{% else %}