Skip to content

Commit

Permalink
comment: rename kubenetes api to kubenetes API server
Browse files Browse the repository at this point in the history
  • Loading branch information
Thearas committed Jan 9, 2023
1 parent 9d927f4 commit 80acc0f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pkg/controller/dependences.go
Expand Up @@ -92,7 +92,7 @@ type CLIConfig struct {
// what resources should be watched and synced by controller
Selector string

// KubeClientQPS indicates the maximum QPS to the kubenetes api from client.
// KubeClientQPS indicates the maximum QPS to the kubenetes API server from client.
KubeClientQPS float64
KubeClientBurst int
}
Expand Down Expand Up @@ -151,8 +151,8 @@ func (c *CLIConfig) AddFlag(_ *flag.FlagSet) {
flag.DurationVar(&c.LeaseDuration, "leader-lease-duration", c.LeaseDuration, "leader-lease-duration is the duration that non-leader candidates will wait to force acquire leadership")
flag.DurationVar(&c.RenewDeadline, "leader-renew-deadline", c.RenewDeadline, "leader-renew-deadline is the duration that the acting master will retry refreshing leadership before giving up")
flag.DurationVar(&c.RetryPeriod, "leader-retry-period", c.RetryPeriod, "leader-retry-period is the duration the LeaderElector clients should wait between tries of actions")
flag.Float64Var(&c.KubeClientQPS, "kube-client-qps", c.KubeClientQPS, "The maximum QPS to the kubenetes api from client")
flag.IntVar(&c.KubeClientBurst, "kube-client-burst", c.KubeClientBurst, "The maximum burst for throttle to the kubenetes api from client")
flag.Float64Var(&c.KubeClientQPS, "kube-client-qps", c.KubeClientQPS, "The maximum QPS to the kubenetes API server from client")
flag.IntVar(&c.KubeClientBurst, "kube-client-burst", c.KubeClientBurst, "The maximum burst for throttle to the kubenetes API server from client")
}

// HasNodePermission returns whether the user has permission for node operations.
Expand Down

0 comments on commit 80acc0f

Please sign in to comment.