Skip to content

Commit fa8c31b

Browse files
authored
Merge pull request #13317 from sbueringer/pr-default-qps-burst
🌱 Increase default kube-api qps/burst
2 parents 6e8e15f + 9a5bc6a commit fa8c31b

File tree

5 files changed

+10
-10
lines changed

5 files changed

+10
-10
lines changed

bootstrap/kubeadm/main.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,10 +141,10 @@ func InitFlags(fs *pflag.FlagSet) {
141141
fs.DurationVar(&syncPeriod, "sync-period", 10*time.Minute,
142142
"The minimum interval at which watched resources are reconciled (e.g. 15m)")
143143

144-
fs.Float32Var(&restConfigQPS, "kube-api-qps", 20,
144+
fs.Float32Var(&restConfigQPS, "kube-api-qps", 100,
145145
"Maximum queries per second from the controller client to the Kubernetes API server.")
146146

147-
fs.IntVar(&restConfigBurst, "kube-api-burst", 30,
147+
fs.IntVar(&restConfigBurst, "kube-api-burst", 200,
148148
"Maximum number of queries that should be allowed in one burst from the controller client to the Kubernetes API server.")
149149

150150
fs.Float32Var(&clusterCacheClientQPS, "clustercache-client-qps", 20,

controlplane/kubeadm/main.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -173,10 +173,10 @@ func InitFlags(fs *pflag.FlagSet) {
173173
fs.DurationVar(&syncPeriod, "sync-period", 10*time.Minute,
174174
"The minimum interval at which watched resources are reconciled (e.g. 15m)")
175175

176-
fs.Float32Var(&restConfigQPS, "kube-api-qps", 20,
176+
fs.Float32Var(&restConfigQPS, "kube-api-qps", 100,
177177
"Maximum queries per second from the controller client to the Kubernetes API server.")
178178

179-
fs.IntVar(&restConfigBurst, "kube-api-burst", 30,
179+
fs.IntVar(&restConfigBurst, "kube-api-burst", 200,
180180
"Maximum number of queries that should be allowed in one burst from the controller client to the Kubernetes API server.")
181181

182182
fs.Float32Var(&clusterCacheClientQPS, "clustercache-client-qps", 20,

main.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -235,10 +235,10 @@ func InitFlags(fs *pflag.FlagSet) {
235235
fs.DurationVar(&syncPeriod, "sync-period", 10*time.Minute,
236236
"The minimum interval at which watched resources are reconciled (e.g. 15m)")
237237

238-
fs.Float32Var(&restConfigQPS, "kube-api-qps", 20,
238+
fs.Float32Var(&restConfigQPS, "kube-api-qps", 100,
239239
"Maximum queries per second from the controller client to the Kubernetes API server.")
240240

241-
fs.IntVar(&restConfigBurst, "kube-api-burst", 30,
241+
fs.IntVar(&restConfigBurst, "kube-api-burst", 200,
242242
"Maximum number of queries that should be allowed in one burst from the controller client to the Kubernetes API server.")
243243

244244
fs.Float32Var(&clusterCacheClientQPS, "clustercache-client-qps", 20,

test/extension/main.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,10 +128,10 @@ func InitFlags(fs *pflag.FlagSet) {
128128
fs.DurationVar(&syncPeriod, "sync-period", 10*time.Minute,
129129
"The minimum interval at which watched resources are reconciled (e.g. 15m)")
130130

131-
fs.Float32Var(&restConfigQPS, "kube-api-qps", 20,
131+
fs.Float32Var(&restConfigQPS, "kube-api-qps", 100,
132132
"Maximum queries per second from the controller client to the Kubernetes API server.")
133133

134-
fs.IntVar(&restConfigBurst, "kube-api-burst", 30,
134+
fs.IntVar(&restConfigBurst, "kube-api-burst", 200,
135135
"Maximum number of queries that should be allowed in one burst from the controller client to the Kubernetes API server.")
136136

137137
fs.IntVar(&webhookPort, "webhook-port", 9443,

test/infrastructure/docker/main.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -158,10 +158,10 @@ func InitFlags(fs *pflag.FlagSet) {
158158
fs.DurationVar(&syncPeriod, "sync-period", 10*time.Minute,
159159
"The minimum interval at which watched resources are reconciled (e.g. 15m)")
160160

161-
fs.Float32Var(&restConfigQPS, "kube-api-qps", 20,
161+
fs.Float32Var(&restConfigQPS, "kube-api-qps", 100,
162162
"Maximum queries per second from the controller client to the Kubernetes API server.")
163163

164-
fs.IntVar(&restConfigBurst, "kube-api-burst", 30,
164+
fs.IntVar(&restConfigBurst, "kube-api-burst", 200,
165165
"Maximum number of queries that should be allowed in one burst from the controller client to the Kubernetes API server.")
166166

167167
fs.Float32Var(&clusterCacheClientQPS, "clustercache-client-qps", 20,

0 commit comments

Comments
 (0)