mirror of
https://github.com/open-cluster-management-io/ocm.git
synced 2026-02-14 10:00:11 +00:00
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
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:
@@ -1,5 +1,5 @@
|
||||
|
||||
replicaCount: 3
|
||||
replicaCount: 1
|
||||
|
||||
# image configurations for all images used in operator deployment and klusterlet CR.
|
||||
images:
|
||||
|
||||
@@ -8,7 +8,7 @@ metadata:
|
||||
labels:
|
||||
app: klusterlet
|
||||
spec:
|
||||
replicas: 3
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app: klusterlet
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -34,7 +34,7 @@ func NewDefaultClusterManagerChartConfig() *ClusterManagerChartConfig {
|
||||
|
||||
func NewDefaultKlusterletChartConfig() *KlusterletChartConfig {
|
||||
return &KlusterletChartConfig{
|
||||
ReplicaCount: 3,
|
||||
ReplicaCount: 1,
|
||||
Klusterlet: KlusterletConfig{
|
||||
Create: true,
|
||||
},
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user