support set hub qps and burst for work in the klusterlet (#1014)
Some checks failed
Scorecard supply-chain security / Scorecard analysis (push) Failing after 1m43s
Post / coverage (push) Failing after 31m18s
Post / images (amd64) (push) Failing after 8m11s
Post / images (arm64) (push) Failing after 7m29s
Post / image manifest (push) Has been skipped
Post / trigger clusteradm e2e (push) Has been skipped
Close stale issues and PRs / stale (push) Successful in 35s

Signed-off-by: Zhiwei Yin <zyin@redhat.com>
This commit is contained in:
Zhiwei Yin
2025-05-30 10:03:07 +08:00
committed by GitHub
parent 88e7c32400
commit 98443736e9
15 changed files with 132 additions and 34 deletions

View File

@@ -59,7 +59,7 @@ metadata:
categories: Integration & Delivery,OpenShift Optional
certified: "false"
containerImage: quay.io/open-cluster-management/registration-operator:latest
createdAt: "2025-04-28T03:25:00Z"
createdAt: "2025-05-29T02:56:45Z"
description: Manages the installation and upgrade of the ClusterManager.
operators.operatorframework.io/builder: operator-sdk-v1.32.0
operators.operatorframework.io/project_layout: go.kubebuilder.io/v3

View File

@@ -305,14 +305,14 @@ spec:
kubeAPIBurst:
default: 100
description: |-
KubeAPIBurst indicates the maximum burst of the throttle while talking with apiserver of hub cluster from the spoke cluster.
KubeAPIBurst indicates the maximum burst of the throttle while talking with apiserver on the spoke cluster.
If it is set empty, use the default value: 100
format: int32
type: integer
kubeAPIQPS:
default: 50
description: |-
KubeAPIQPS indicates the maximum QPS while talking with apiserver of hub cluster from the spoke cluster.
KubeAPIQPS indicates the maximum QPS while talking with apiserver on the spoke cluster.
If it is set empty, use the default value: 50
format: int32
type: integer
@@ -475,17 +475,31 @@ spec:
- feature
type: object
type: array
hubKubeAPIBurst:
default: 100
description: |-
HubKubeAPIBurst indicates the maximum burst of the throttle while talking with apiserver on the hub cluster.
If it is set empty, use the default value: 100
format: int32
type: integer
hubKubeAPIQPS:
default: 50
description: |-
HubKubeAPIQPS indicates the maximum QPS while talking with apiserver on the hub cluster.
If it is set empty, use the default value: 50
format: int32
type: integer
kubeAPIBurst:
default: 100
description: |-
KubeAPIBurst indicates the maximum burst of the throttle while talking with apiserver of hub cluster from the spoke cluster.
KubeAPIBurst indicates the maximum burst of the throttle while talking with apiserver on the spoke cluster.
If it is set empty, use the default value: 100
format: int32
type: integer
kubeAPIQPS:
default: 50
description: |-
KubeAPIQPS indicates the maximum QPS while talking with apiserver of hub cluster from the spoke cluster.
KubeAPIQPS indicates the maximum QPS while talking with apiserver on the spoke cluster.
If it is set empty, use the default value: 50
format: int32
type: integer

View File

@@ -305,14 +305,14 @@ spec:
kubeAPIBurst:
default: 100
description: |-
KubeAPIBurst indicates the maximum burst of the throttle while talking with apiserver of hub cluster from the spoke cluster.
KubeAPIBurst indicates the maximum burst of the throttle while talking with apiserver on the spoke cluster.
If it is set empty, use the default value: 100
format: int32
type: integer
kubeAPIQPS:
default: 50
description: |-
KubeAPIQPS indicates the maximum QPS while talking with apiserver of hub cluster from the spoke cluster.
KubeAPIQPS indicates the maximum QPS while talking with apiserver on the spoke cluster.
If it is set empty, use the default value: 50
format: int32
type: integer
@@ -475,17 +475,31 @@ spec:
- feature
type: object
type: array
hubKubeAPIBurst:
default: 100
description: |-
HubKubeAPIBurst indicates the maximum burst of the throttle while talking with apiserver on the hub cluster.
If it is set empty, use the default value: 100
format: int32
type: integer
hubKubeAPIQPS:
default: 50
description: |-
HubKubeAPIQPS indicates the maximum QPS while talking with apiserver on the hub cluster.
If it is set empty, use the default value: 50
format: int32
type: integer
kubeAPIBurst:
default: 100
description: |-
KubeAPIBurst indicates the maximum burst of the throttle while talking with apiserver of hub cluster from the spoke cluster.
KubeAPIBurst indicates the maximum burst of the throttle while talking with apiserver on the spoke cluster.
If it is set empty, use the default value: 100
format: int32
type: integer
kubeAPIQPS:
default: 50
description: |-
KubeAPIQPS indicates the maximum QPS while talking with apiserver of hub cluster from the spoke cluster.
KubeAPIQPS indicates the maximum QPS while talking with apiserver on the spoke cluster.
If it is set empty, use the default value: 50
format: int32
type: integer

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-04-28T03:25:00Z"
createdAt: "2025-05-29T02:56:45Z"
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

View File

@@ -264,7 +264,10 @@ spec:
reservedClusterClaimSuffixes:
description: Custom suffixes for reserved ClusterClaims.
items:
maxLength: 64
minLength: 1
type: string
maxItems: 10
type: array
required:
- maxCustomClusterClaims
@@ -302,14 +305,14 @@ spec:
kubeAPIBurst:
default: 100
description: |-
KubeAPIBurst indicates the maximum burst of the throttle while talking with apiserver of hub cluster from the spoke cluster.
KubeAPIBurst indicates the maximum burst of the throttle while talking with apiserver on the spoke cluster.
If it is set empty, use the default value: 100
format: int32
type: integer
kubeAPIQPS:
default: 50
description: |-
KubeAPIQPS indicates the maximum QPS while talking with apiserver of hub cluster from the spoke cluster.
KubeAPIQPS indicates the maximum QPS while talking with apiserver on the spoke cluster.
If it is set empty, use the default value: 50
format: int32
type: integer
@@ -472,20 +475,41 @@ spec:
- feature
type: object
type: array
hubKubeAPIBurst:
default: 100
description: |-
HubKubeAPIBurst indicates the maximum burst of the throttle while talking with apiserver on the hub cluster.
If it is set empty, use the default value: 100
format: int32
type: integer
hubKubeAPIQPS:
default: 50
description: |-
HubKubeAPIQPS indicates the maximum QPS while talking with apiserver on the hub cluster.
If it is set empty, use the default value: 50
format: int32
type: integer
kubeAPIBurst:
default: 100
description: |-
KubeAPIBurst indicates the maximum burst of the throttle while talking with apiserver of hub cluster from the spoke cluster.
KubeAPIBurst indicates the maximum burst of the throttle while talking with apiserver on the spoke cluster.
If it is set empty, use the default value: 100
format: int32
type: integer
kubeAPIQPS:
default: 50
description: |-
KubeAPIQPS indicates the maximum QPS while talking with apiserver of hub cluster from the spoke cluster.
KubeAPIQPS indicates the maximum QPS while talking with apiserver on the spoke cluster.
If it is set empty, use the default value: 50
format: int32
type: integer
statusSyncInterval:
description: |-
StatusSyncInterval is the interval for the work agent to check the status of ManifestWorks.
Larger value means less frequent status sync and less api calls to the managed cluster, vice versa.
The value(x) should be: 5s <= x <= 1h.
pattern: ^([0-9]+(s|m|h))+$
type: string
type: object
workImagePullSpec:
description: |-