Add host information for canal readiness probe (#4548)
This commit is contained in:
parent
f69b5f7f33
commit
a6dc50e7cb
1 changed files with 2 additions and 0 deletions
|
@ -249,6 +249,7 @@ spec:
|
||||||
privileged: true
|
privileged: true
|
||||||
livenessProbe:
|
livenessProbe:
|
||||||
httpGet:
|
httpGet:
|
||||||
|
host: 127.0.0.1
|
||||||
path: /liveness
|
path: /liveness
|
||||||
port: 9099
|
port: 9099
|
||||||
periodSeconds: 10
|
periodSeconds: 10
|
||||||
|
@ -257,6 +258,7 @@ spec:
|
||||||
readinessProbe:
|
readinessProbe:
|
||||||
{% if calico_version is version('v3.3.0', '<')%}
|
{% if calico_version is version('v3.3.0', '<')%}
|
||||||
httpGet:
|
httpGet:
|
||||||
|
host: 127.0.0.1
|
||||||
path: /readiness
|
path: /readiness
|
||||||
port: 9099
|
port: 9099
|
||||||
{% else %}
|
{% else %}
|
||||||
|
|
Loading…
Reference in a new issue