Skip to content

Commit 6ee4caf

Browse files
authored
fix the qps and burst description of klusterlet (#376)
Signed-off-by: Zhiwei Yin <[email protected]>
1 parent 98a1d87 commit 6ee4caf

File tree

3 files changed

+12
-12
lines changed

3 files changed

+12
-12
lines changed

operator/v1/0000_00_operator.open-cluster-management.io_klusterlets.crd.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -305,14 +305,14 @@ spec:
305305
kubeAPIBurst:
306306
default: 100
307307
description: |-
308-
KubeAPIBurst indicates the maximum burst of the throttle while talking with apiserver of hub cluster from the spoke cluster.
308+
KubeAPIBurst indicates the maximum burst of the throttle while talking with apiserver on the spoke cluster.
309309
If it is set empty, use the default value: 100
310310
format: int32
311311
type: integer
312312
kubeAPIQPS:
313313
default: 50
314314
description: |-
315-
KubeAPIQPS indicates the maximum QPS while talking with apiserver of hub cluster from the spoke cluster.
315+
KubeAPIQPS indicates the maximum QPS while talking with apiserver on the spoke cluster.
316316
If it is set empty, use the default value: 50
317317
format: int32
318318
type: integer
@@ -478,14 +478,14 @@ spec:
478478
kubeAPIBurst:
479479
default: 100
480480
description: |-
481-
KubeAPIBurst indicates the maximum burst of the throttle while talking with apiserver of hub cluster from the spoke cluster.
481+
KubeAPIBurst indicates the maximum burst of the throttle while talking with apiserver on the spoke cluster.
482482
If it is set empty, use the default value: 100
483483
format: int32
484484
type: integer
485485
kubeAPIQPS:
486486
default: 50
487487
description: |-
488-
KubeAPIQPS indicates the maximum QPS while talking with apiserver of hub cluster from the spoke cluster.
488+
KubeAPIQPS indicates the maximum QPS while talking with apiserver on the spoke cluster.
489489
If it is set empty, use the default value: 50
490490
format: int32
491491
type: integer

operator/v1/types_klusterlet.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -151,13 +151,13 @@ type RegistrationConfiguration struct {
151151
// +optional
152152
ClusterAnnotations map[string]string `json:"clusterAnnotations,omitempty"`
153153

154-
// KubeAPIQPS indicates the maximum QPS while talking with apiserver of hub cluster from the spoke cluster.
154+
// KubeAPIQPS indicates the maximum QPS while talking with apiserver on the spoke cluster.
155155
// If it is set empty, use the default value: 50
156156
// +optional
157157
// +kubebuilder:default:=50
158158
KubeAPIQPS int32 `json:"kubeAPIQPS,omitempty"`
159159

160-
// KubeAPIBurst indicates the maximum burst of the throttle while talking with apiserver of hub cluster from the spoke cluster.
160+
// KubeAPIBurst indicates the maximum burst of the throttle while talking with apiserver on the spoke cluster.
161161
// If it is set empty, use the default value: 100
162162
// +optional
163163
// +kubebuilder:default:=100
@@ -280,13 +280,13 @@ type WorkAgentConfiguration struct {
280280
// +optional
281281
FeatureGates []FeatureGate `json:"featureGates,omitempty"`
282282

283-
// KubeAPIQPS indicates the maximum QPS while talking with apiserver of hub cluster from the spoke cluster.
283+
// KubeAPIQPS indicates the maximum QPS while talking with apiserver on the spoke cluster.
284284
// If it is set empty, use the default value: 50
285285
// +optional
286286
// +kubebuilder:default:=50
287287
KubeAPIQPS int32 `json:"kubeAPIQPS,omitempty"`
288288

289-
// KubeAPIBurst indicates the maximum burst of the throttle while talking with apiserver of hub cluster from the spoke cluster.
289+
// KubeAPIBurst indicates the maximum burst of the throttle while talking with apiserver on the spoke cluster.
290290
// If it is set empty, use the default value: 100
291291
// +optional
292292
// +kubebuilder:default:=100

operator/v1/zz_generated.swagger_doc_generated.go

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)