diff --git a/charts/hub-agent/README.md b/charts/hub-agent/README.md index a9027dc76..96f797785 100644 --- a/charts/hub-agent/README.md +++ b/charts/hub-agent/README.md @@ -34,9 +34,9 @@ _See [helm install](https://helm.sh/docs/helm/helm_install/) for command documen | logVerbosity | Log level. Uses V logs (klog) | `5` | | enableV1Alpha1APIs | If set, the agents will watch for the v1alpha1 APIs. | `false` | | enableV1Beta1APIs | If set, the agents will watch for the v1beta1 APIs. | `true` | -| hubAPIQPS | QPS to use while talking with fleet-apiserver. Doesn't cover events and node heartbeat apis which rate limiting is controlled by a different set of flags. | `20.0` | -| hubAPIBurst | Burst to use while talking with fleet-apiserver. Doesn't cover events and node heartbeat apis which rate limiting is controlled by a different set of flags. | `100` | -| MaxConcurrentClusterPlacement | The max number of clusterResourcePlacement to run concurrently this fleet supports. | `10` | +| hubAPIQPS | QPS to use while talking with fleet-apiserver. Doesn't cover events and node heartbeat apis which rate limiting is controlled by a different set of flags. | `1000` | +| hubAPIBurst | Burst to use while talking with fleet-apiserver. Doesn't cover events and node heartbeat apis which rate limiting is controlled by a different set of flags. | `1000` | +| MaxConcurrentClusterPlacement | The max number of clusterResourcePlacement to run concurrently this fleet supports. | `100` | | ConcurrentResourceChangeSyncs | The number of resourceChange reconcilers that are allowed to run concurrently. | `20` | | logFileMaxSize | Max size of log file before rotation | `1000000` | | MaxFleetSizeSupported | The max number of member clusters this fleet supports. | `100` | \ No newline at end of file diff --git a/charts/hub-agent/values.yaml b/charts/hub-agent/values.yaml index c9acc3fd5..a9909d2b6 100644 --- a/charts/hub-agent/values.yaml +++ b/charts/hub-agent/values.yaml @@ -35,9 +35,9 @@ affinity: {} enableV1Alpha1APIs: false enableV1Beta1APIs: true -hubAPIQPS: 20 -hubAPIBurst: 100 -MaxConcurrentClusterPlacement: 10 +hubAPIQPS: 1000 +hubAPIBurst: 1000 +MaxConcurrentClusterPlacement: 100 ConcurrentResourceChangeSyncs: 20 logFileMaxSize: 1000000 MaxFleetSizeSupported: 100 diff --git a/cmd/hubagent/options/options.go b/cmd/hubagent/options/options.go index f7a183b85..c0dfd8e40 100644 --- a/cmd/hubagent/options/options.go +++ b/cmd/hubagent/options/options.go @@ -125,10 +125,10 @@ func (o *Options) AddFlags(flags *flag.FlagSet) { "//, for skip one or more specific resource(e.g. networking.k8s.io/v1beta1/Ingress,IngressClass) where the kinds are case-insensitive.") flags.StringVar(&o.SkippedPropagatingNamespaces, "skipped-propagating-namespaces", "", "Comma-separated namespaces that should be skipped from propagating in addition to the default skipped namespaces(fleet-system, namespaces prefixed by kube- and fleet-work-).") - flags.Float64Var(&o.HubQPS, "hub-api-qps", 20.0, "QPS to use while talking with fleet-apiserver. Doesn't cover events and node heartbeat apis which rate limiting is controlled by a different set of flags.") - flags.IntVar(&o.HubBurst, "hub-api-burst", 100, "Burst to use while talking with fleet-apiserver. Doesn't cover events and node heartbeat apis which rate limiting is controlled by a different set of flags.") + flags.Float64Var(&o.HubQPS, "hub-api-qps", 1000, "QPS to use while talking with fleet-apiserver. Doesn't cover events and node heartbeat apis which rate limiting is controlled by a different set of flags.") + flags.IntVar(&o.HubBurst, "hub-api-burst", 1000, "Burst to use while talking with fleet-apiserver. Doesn't cover events and node heartbeat apis which rate limiting is controlled by a different set of flags.") flags.DurationVar(&o.ResyncPeriod.Duration, "resync-period", 300*time.Second, "Base frequency the informers are resynced.") - flags.IntVar(&o.MaxConcurrentClusterPlacement, "max-concurrent-cluster-placement", 10, "The max number of concurrent cluster placement to run concurrently.") + flags.IntVar(&o.MaxConcurrentClusterPlacement, "max-concurrent-cluster-placement", 100, "The max number of concurrent cluster placement to run concurrently.") flags.IntVar(&o.ConcurrentResourceChangeSyncs, "concurrent-resource-change-syncs", 20, "The number of resourceChange reconcilers that are allowed to run concurrently.") flags.IntVar(&o.MaxFleetSizeSupported, "max-fleet-size", 100, "The max number of member clusters supported in this fleet") flags.BoolVar(&o.EnableV1Alpha1APIs, "enable-v1alpha1-apis", false, "If set, the agents will watch for the v1alpha1 APIs.")