Skip to content

Commit

Permalink
Updating default value for kube-api-qps and kube-api-burst for kapp
Browse files Browse the repository at this point in the history
Signed-off-by: Premkumar Bhaskal <[email protected]>
  • Loading branch information
prembhaskal committed Nov 22, 2023
1 parent 75e9565 commit 0403322
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/kapp/cmd/core/kube_api_flags.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ type KubeAPIFlags struct {

func (f *KubeAPIFlags) Set(cmd *cobra.Command, _ FlagsFactory) {
// Similar names are used by kubelet and other controllers
cmd.PersistentFlags().Float32Var(&f.QPS, "kube-api-qps", 1000, "Set Kubernetes API client QPS limit")
cmd.PersistentFlags().IntVar(&f.Burst, "kube-api-burst", 1000, "Set Kubernetes API client burst limit")
cmd.PersistentFlags().Float32Var(&f.QPS, "kube-api-qps", 50, "Set Kubernetes API client QPS limit")
cmd.PersistentFlags().IntVar(&f.Burst, "kube-api-burst", 100, "Set Kubernetes API client burst limit")
}

func (f *KubeAPIFlags) Configure(config ConfigFactory) {
Expand Down

0 comments on commit 0403322

Please sign in to comment.