Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -475,6 +475,20 @@ 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: |-
Expand Down
12 changes: 12 additions & 0 deletions operator/v1/types_klusterlet.go
Original file line number Diff line number Diff line change
Expand Up @@ -292,6 +292,18 @@ type WorkAgentConfiguration struct {
// +kubebuilder:default:=100
KubeAPIBurst int32 `json:"kubeAPIBurst,omitempty"`

// HubKubeAPIQPS indicates the maximum QPS while talking with apiserver on the hub cluster.
// If it is set empty, use the default value: 50
// +optional
// +kubebuilder:default:=50
HubKubeAPIQPS int32 `json:"hubKubeAPIQPS,omitempty"`

// 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
// +optional
// +kubebuilder:default:=100
HubKubeAPIBurst int32 `json:"hubKubeAPIBurst,omitempty"`

// AppliedManifestWorkEvictionGracePeriod is the eviction grace period the work agent will wait before
// evicting the AppliedManifestWorks, whose corresponding ManifestWorks are missing on the hub cluster, from
// the managed cluster. If not present, the default value of the work agent will be used.
Expand Down
2 changes: 2 additions & 0 deletions operator/v1/zz_generated.swagger_doc_generated.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.