mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-01-10 15:32:09 -03:30
Cilium Operator replicas configuration (#9894)
Signed-off-by: Fiala, JiriX <jirix.fiala@intel.com>
This commit is contained in:
parent
cc382f2412
commit
9b37699d0d
@ -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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user