Skip to content

Commit bd42094

Browse files
committed
Update kube-apiserver flag comments
1 parent d66bbd8 commit bd42094

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

cmd/kube-apiserver/app/options/options.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ func (s *ServerRunOptions) Flags() (fss cliflag.NamedFlagSets) {
193193
// TODO (khenidak) change documentation as we move IPv6DualStack feature from ALPHA to BETA
194194
fs.StringVar(&s.ServiceClusterIPRanges, "service-cluster-ip-range", s.ServiceClusterIPRanges, ""+
195195
"A CIDR notation IP range from which to assign service cluster IPs. This must not "+
196-
"overlap with any IP ranges assigned to nodes for pods.")
196+
"overlap with any IP ranges assigned to nodes or pods.")
197197

198198
fs.Var(&s.ServiceNodePortRange, "service-node-port-range", ""+
199199
"A port range to reserve for services with NodePort visibility. "+

staging/src/k8s.io/apiserver/pkg/server/options/server_run_options.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -209,8 +209,8 @@ func (s *ServerRunOptions) AddUniversalFlags(fs *pflag.FlagSet) {
209209
"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")
210210

211211
fs.DurationVar(&s.ShutdownDelayDuration, "shutdown-delay-duration", s.ShutdownDelayDuration, ""+
212-
"Time to delay the termination. During that time the server keeps serving requests normally and /healthz "+
213-
"returns success, but /readyz immediately returns failure. Graceful termination starts after this delay "+
212+
"Time to delay the termination. During that time the server keeps serving requests normally. The endpoints /healthz and /livez "+
213+
"will return success, but /readyz immediately returns failure. Graceful termination starts after this delay "+
214214
"has elapsed. This can be used to allow load balancer to stop sending traffic to this server.")
215215

216216
utilfeature.DefaultMutableFeatureGate.AddFlag(fs)

0 commit comments

Comments
 (0)