mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-19 09:52:49 +00:00
Merge pull request #91409 from johscheuer/update-api-server-flag-help
Update kube-apiserver flag comments
This commit is contained in:
commit
d680e053f1
@ -193,7 +193,7 @@ func (s *ServerRunOptions) Flags() (fss cliflag.NamedFlagSets) {
|
|||||||
// TODO (khenidak) change documentation as we move IPv6DualStack feature from ALPHA to BETA
|
// TODO (khenidak) change documentation as we move IPv6DualStack feature from ALPHA to BETA
|
||||||
fs.StringVar(&s.ServiceClusterIPRanges, "service-cluster-ip-range", s.ServiceClusterIPRanges, ""+
|
fs.StringVar(&s.ServiceClusterIPRanges, "service-cluster-ip-range", s.ServiceClusterIPRanges, ""+
|
||||||
"A CIDR notation IP range from which to assign service cluster IPs. This must not "+
|
"A CIDR notation IP range from which to assign service cluster IPs. This must not "+
|
||||||
"overlap with any IP ranges assigned to nodes for pods.")
|
"overlap with any IP ranges assigned to nodes or pods.")
|
||||||
|
|
||||||
fs.Var(&s.ServiceNodePortRange, "service-node-port-range", ""+
|
fs.Var(&s.ServiceNodePortRange, "service-node-port-range", ""+
|
||||||
"A port range to reserve for services with NodePort visibility. "+
|
"A port range to reserve for services with NodePort visibility. "+
|
||||||
|
@ -209,8 +209,8 @@ func (s *ServerRunOptions) AddUniversalFlags(fs *pflag.FlagSet) {
|
|||||||
"If true and the APIPriorityAndFairness feature gate is enabled, replace the max-in-flight handler with an enhanced one that queues and dispatches with priority and fairness")
|
"If true and the APIPriorityAndFairness feature gate is enabled, replace the max-in-flight handler with an enhanced one that queues and dispatches with priority and fairness")
|
||||||
|
|
||||||
fs.DurationVar(&s.ShutdownDelayDuration, "shutdown-delay-duration", s.ShutdownDelayDuration, ""+
|
fs.DurationVar(&s.ShutdownDelayDuration, "shutdown-delay-duration", s.ShutdownDelayDuration, ""+
|
||||||
"Time to delay the termination. During that time the server keeps serving requests normally and /healthz "+
|
"Time to delay the termination. During that time the server keeps serving requests normally. The endpoints /healthz and /livez "+
|
||||||
"returns success, but /readyz immediately returns failure. Graceful termination starts after this delay "+
|
"will return success, but /readyz immediately returns failure. Graceful termination starts after this delay "+
|
||||||
"has elapsed. This can be used to allow load balancer to stop sending traffic to this server.")
|
"has elapsed. This can be used to allow load balancer to stop sending traffic to this server.")
|
||||||
|
|
||||||
utilfeature.DefaultMutableFeatureGate.AddFlag(fs)
|
utilfeature.DefaultMutableFeatureGate.AddFlag(fs)
|
||||||
|
Loading…
Reference in New Issue
Block a user