disable bird-check flag for probes of calico-node pods when calico_network_backend is not 'bird'. (#6217)
This commit is contained in:
parent
7c0fbe2959
commit
cc507d7ace
1 changed files with 4 additions and 0 deletions
|
@ -284,7 +284,9 @@ spec:
|
||||||
command:
|
command:
|
||||||
- /bin/calico-node
|
- /bin/calico-node
|
||||||
- -felix-live
|
- -felix-live
|
||||||
|
{% if calico_network_backend|default("bird") == "bird" %}
|
||||||
- -bird-live
|
- -bird-live
|
||||||
|
{% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
initialDelaySeconds: 5
|
initialDelaySeconds: 5
|
||||||
failureThreshold: 6
|
failureThreshold: 6
|
||||||
|
@ -299,7 +301,9 @@ spec:
|
||||||
exec:
|
exec:
|
||||||
command:
|
command:
|
||||||
- /bin/calico-node
|
- /bin/calico-node
|
||||||
|
{% if calico_network_backend|default("bird") == "bird" %}
|
||||||
- -bird-ready
|
- -bird-ready
|
||||||
|
{% endif %}
|
||||||
- -felix-ready
|
- -felix-ready
|
||||||
{% endif %}
|
{% endif %}
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
|
|
Loading…
Reference in a new issue