mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-02-03 02:28:15 -03:30
disable bird-check flag for probes of calico-node pods when calico_network_backend is not 'bird'. (#6217)
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user