Skip to content

Commit 4d5a7eb

Browse files
committed
Increase default burst to 300 to conform client-go
See: kubernetes/kubernetes#109141 Signed-off-by: Laszlo Uveges <[email protected]>
1 parent db1f3af commit 4d5a7eb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

runtime/client/client.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,15 +52,15 @@ type Options struct {
5252
// QPS indicates the maximum queries-per-second of requests sent to the Kubernetes API, defaults to 50.
5353
QPS float32
5454

55-
// Burst indicates the maximum burst queries-per-second of requests sent to the Kubernetes API, defaults to 100.
55+
// Burst indicates the maximum burst queries-per-second of requests sent to the Kubernetes API, defaults to 300.
5656
Burst int
5757
}
5858

5959
// BindFlags will parse the given pflag.FlagSet for Kubernetes client option flags and set the Options accordingly.
6060
func (o *Options) BindFlags(fs *pflag.FlagSet) {
6161
fs.Float32Var(&o.QPS, flagQPS, 50.0,
6262
"The maximum queries-per-second of requests sent to the Kubernetes API.")
63-
fs.IntVar(&o.Burst, flagBurst, 100,
63+
fs.IntVar(&o.Burst, flagBurst, 300,
6464
"The maximum burst queries-per-second of requests sent to the Kubernetes API.")
6565
}
6666

0 commit comments

Comments
 (0)