mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2025-12-14 05:45:06 +03:00
Cilium Operator replicas configuration (#9894)
Signed-off-by: Fiala, JiriX <jirix.fiala@intel.com>
This commit is contained in:
@@ -8,7 +8,11 @@ metadata:
|
|||||||
io.cilium/app: operator
|
io.cilium/app: operator
|
||||||
name: cilium-operator
|
name: cilium-operator
|
||||||
spec:
|
spec:
|
||||||
|
{% if groups.k8s_cluster | length == 1 %}
|
||||||
|
replicas: 1
|
||||||
|
{% else %}
|
||||||
replicas: {{ cilium_operator_replicas }}
|
replicas: {{ cilium_operator_replicas }}
|
||||||
|
{% endif %}
|
||||||
selector:
|
selector:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
io.cilium/app: operator
|
io.cilium/app: operator
|
||||||
|
|||||||
Reference in New Issue
Block a user