You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// KubeAPIQPS is the QPS to use while talking with kpanda-apiserver.
19
+
// KubeAPIQPS is the QPS to use while talking with kubean-apiserver.
20
20
BindAddressstring
21
21
// SecurePort is the port that the server serves at.
22
22
SecurePortint
23
23
24
24
KubeAPIQPSfloat32
25
-
// KubeAPIBurst is the burst to allow while talking with kpanda-apiserver.
25
+
// KubeAPIBurst is the burst to allow while talking with kubean-apiserver.
26
26
KubeAPIBurstint
27
27
}
28
28
@@ -34,6 +34,8 @@ func NewOptions() *Options {
34
34
ResourceNamespace: util.GetCurrentNSOrDefault(),
35
35
ResourceName: "kubean-controller",
36
36
},
37
+
KubeAPIQPS: 100.0,
38
+
KubeAPIBurst: 100,
37
39
}
38
40
}
39
41
@@ -44,8 +46,8 @@ func (o *Options) AddFlags(flags *pflag.FlagSet) {
44
46
"The secure port on which to serve HTTPS.")
45
47
flags.BoolVar(&o.LeaderElection.LeaderElect, "leader-elect", true, "Start a leader election client and gain leadership before executing the main loop. Enable this when running replicated components for high availability.")
46
48
flags.StringVar(&o.LeaderElection.ResourceNamespace, "leader-elect-resource-namespace", "default", "The namespace of resource object that is used for locking during leader election.")
47
-
flags.Float32Var(&o.KubeAPIQPS, "kube-api-qps", 40.0, "QPS to use while talking with kpanda-apiserver. Doesn't cover events and node heartbeat apis which rate limiting is controlled by a different set of flags.")
48
-
flags.IntVar(&o.KubeAPIBurst, "kube-api-burst", 60, "Burst to use while talking with kpanda-apiserver. Doesn't cover events and node heartbeat apis which rate limiting is controlled by a different set of flags.")
49
+
flags.Float32Var(&o.KubeAPIQPS, "kube-api-qps", 100.0, "QPS to use while talking with kubean-apiserver. Doesn't cover events and node heartbeat apis which rate limiting is controlled by a different set of flags.")
50
+
flags.IntVar(&o.KubeAPIBurst, "kube-api-burst", 100, "Burst to use while talking with kubean-apiserver. Doesn't cover events and node heartbeat apis which rate limiting is controlled by a different set of flags.")
0 commit comments