Cilium Operator replicas configuration (#9894)

Signed-off-by: Fiala, JiriX <jirix.fiala@intel.com>
pull/9879/head
Jiri Fiala 2023-03-22 16:28:38 +01:00 committed by GitHub
parent cc382f2412
commit 9b37699d0d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -8,7 +8,11 @@ metadata:
io.cilium/app: operator
name: cilium-operator
spec:
{% if groups.k8s_cluster | length == 1 %}
replicas: 1
{% else %}
replicas: {{ cilium_operator_replicas }}
{% endif %}
selector:
matchLabels:
io.cilium/app: operator