mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-03-23 03:45:03 -02: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:
|
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:
|
||||||
|
|||||||
Reference in New Issue
Block a user