Skip to content

Commit

Permalink
configurable client qps and burst to access child clusters (#707)
Browse files Browse the repository at this point in the history
optimize and cache deploy context for helm

Signed-off-by: Di Xu <[email protected]>
  • Loading branch information
dixudx authored Jun 13, 2023
1 parent 6473cb9 commit ca09a3a
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions clusters/v1beta1/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -255,6 +255,18 @@ type ManagedClusterStatus struct {
// +optional
UseSocket bool `json:"useSocket,omitempty"`

// KubeQPS controls the number of queries per second allowed for this connection.
// Used by deployer in Clusternet to control the qps to current child cluster.
//
// +optional
KubeQPS float32 `json:"kubeQPS,omitempty"`

// KubeBurst allows extra queries to accumulate when a client is exceeding its rate.
// Used by deployer in Clusternet to control the burst to current child cluster.
//
// +optional
KubeBurst int32 `json:"kubeBurst,omitempty"`

// Allocatable is the sum of allocatable resources for nodes in the cluster
// +optional
Allocatable corev1.ResourceList `json:"allocatable,omitempty"`
Expand Down

0 comments on commit ca09a3a

Please sign in to comment.