Documentation ¶
Index ¶
Constants ¶
View Source
const (
RootSyncNamespace = "config-management-system"
)
Variables ¶
This section is empty.
Functions ¶
func UpdateQPS ¶
func UpdateQPS(flags *genericclioptions.ConfigFlags)
UpdateQPS modifies a genericclioptions.ConfigFlags to update the client-side throttling QPS and Burst QPS (including for discovery).
If Flow Control is enabled on the apiserver, client-side throttling is disabled!
If Flow Control is disabled or undetected on the apiserver, client-side throttling QPS will be increased to at least 30 (burst: 60).
Flow Control is enabled by default on Kubernetes v1.20+. https://kubernetes.io/docs/concepts/cluster-administration/flow-control/
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.