Browse Source

Add host information for canal readiness probe (#4548)

pull/4566/head
Maxime Guyot 5 years ago
committed by Kubernetes Prow Robot
parent
commit
a6dc50e7cb
1 changed files with 2 additions and 0 deletions
  1. 2
      roles/network_plugin/canal/templates/canal-node.yaml.j2

2
roles/network_plugin/canal/templates/canal-node.yaml.j2

@ -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…
Cancel
Save