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:
|
||||
- /bin/calico-node
|
||||
- -felix-live
|
||||
{% if calico_network_backend|default("bird") == "bird" %}
|
||||
- -bird-live
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
initialDelaySeconds: 5
|
||||
failureThreshold: 6
|
||||
|
@ -299,7 +301,9 @@ spec:
|
|||
exec:
|
||||
command:
|
||||
- /bin/calico-node
|
||||
{% if calico_network_backend|default("bird") == "bird" %}
|
||||
- -bird-ready
|
||||
{% endif %}
|
||||
- -felix-ready
|
||||
{% endif %}
|
||||
volumeMounts:
|
||||
|
|
Loading…
Reference in a new issue