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
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 %}

Loading…
Cancel
Save