change replicas of klusterlet operator to 1 (#813)
Some checks failed
Scorecard supply-chain security / Scorecard analysis (push) Failing after 1m0s
Post / coverage (push) Failing after 26m22s
Post / images (amd64) (push) Failing after 6m56s
Post / images (arm64) (push) Failing after 6m55s
Post / image manifest (push) Has been skipped
Post / trigger clusteradm e2e (push) Has been skipped

Signed-off-by: Zhiwei Yin <zyin@redhat.com>
This commit is contained in:
Zhiwei Yin
2025-01-20 11:45:09 +08:00
committed by GitHub
parent eeb4ab31d5
commit f03b3f75eb
5 changed files with 7 additions and 6 deletions

View File

@@ -1,5 +1,5 @@
replicaCount: 3
replicaCount: 1
# image configurations for all images used in operator deployment and klusterlet CR.
images:

View File

@@ -8,7 +8,7 @@ metadata:
labels:
app: klusterlet
spec:
replicas: 3
replicas: 1
selector:
matchLabels:
app: klusterlet

View File

@@ -31,7 +31,7 @@ metadata:
categories: Integration & Delivery,OpenShift Optional
certified: "false"
containerImage: quay.io/open-cluster-management/registration-operator:latest
createdAt: "2025-01-16T23:45:52Z"
createdAt: "2025-01-20T02:57:55Z"
description: Manages the installation and upgrade of the Klusterlet.
operators.operatorframework.io/builder: operator-sdk-v1.32.0
operators.operatorframework.io/project_layout: go.kubebuilder.io/v3
@@ -268,7 +268,7 @@ spec:
app: klusterlet
name: klusterlet
spec:
replicas: 3
replicas: 1
selector:
matchLabels:
app: klusterlet

View File

@@ -34,7 +34,7 @@ func NewDefaultClusterManagerChartConfig() *ClusterManagerChartConfig {
func NewDefaultKlusterletChartConfig() *KlusterletChartConfig {
return &KlusterletChartConfig{
ReplicaCount: 3,
ReplicaCount: 1,
Klusterlet: KlusterletConfig{
Create: true,
},

View File

@@ -173,8 +173,9 @@ func (i *Importer) reconcile(
return cluster, nil
}
// render the klsuterlet chart config
// render the klusterlet chart config
klusterletChartConfig := &chart.KlusterletChartConfig{
ReplicaCount: 1,
CreateNamespace: true,
Klusterlet: chart.KlusterletConfig{
Create: true,