Browse Source
Cilium Operator replicas configuration (#9894)
Signed-off-by: Fiala, JiriX <jirix.fiala@intel.com>
pull/9879/head
Jiri Fiala
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
4 additions and
0 deletions
-
roles/network_plugin/cilium/templates/cilium-operator/deploy.yml.j2
|
|
@ -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 |
|
|
|