Skip to content

Commit 53bf4f2

Browse files
authored
Kubelet accepts graceful node shutdown parameters in camel case while they are written in the document in pascal case
1 parent efbbe7f commit 53bf4f2

File tree

1 file changed

+6
-6
lines changed
  • content/en/docs/concepts/architecture

1 file changed

+6
-6
lines changed

content/en/docs/concepts/architecture/nodes.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -402,7 +402,7 @@ Graceful node shutdown is controlled with the `GracefulNodeShutdown`
402402
enabled by default in 1.21.
403403

404404
Note that by default, both configuration options described below,
405-
`ShutdownGracePeriod` and `ShutdownGracePeriodCriticalPods` are set to zero,
405+
`shutdownGracePeriod` and `shutdownGracePeriodCriticalPods` are set to zero,
406406
thus not activating Graceful node shutdown functionality.
407407
To activate the feature, the two kubelet config settings should be configured appropriately and set to non-zero values.
408408

@@ -412,13 +412,13 @@ During a graceful shutdown, kubelet terminates pods in two phases:
412412
2. Terminate [critical pods](/docs/tasks/administer-cluster/guaranteed-scheduling-critical-addon-pods/#marking-pod-as-critical) running on the node.
413413

414414
Graceful node shutdown feature is configured with two [`KubeletConfiguration`](/docs/tasks/administer-cluster/kubelet-config-file/) options:
415-
* `ShutdownGracePeriod`:
415+
* `shutdownGracePeriod`:
416416
* Specifies the total duration that the node should delay the shutdown by. This is the total grace period for pod termination for both regular and [critical pods](/docs/tasks/administer-cluster/guaranteed-scheduling-critical-addon-pods/#marking-pod-as-critical).
417-
* `ShutdownGracePeriodCriticalPods`:
418-
* Specifies the duration used to terminate [critical pods](/docs/tasks/administer-cluster/guaranteed-scheduling-critical-addon-pods/#marking-pod-as-critical) during a node shutdown. This value should be less than `ShutdownGracePeriod`.
417+
* `shutdownGracePeriodCriticalPods`:
418+
* Specifies the duration used to terminate [critical pods](/docs/tasks/administer-cluster/guaranteed-scheduling-critical-addon-pods/#marking-pod-as-critical) during a node shutdown. This value should be less than `shutdownGracePeriod`.
419419

420-
For example, if `ShutdownGracePeriod=30s`, and
421-
`ShutdownGracePeriodCriticalPods=10s`, kubelet will delay the node shutdown by
420+
For example, if `shutdownGracePeriod=30s`, and
421+
`shutdownGracePeriodCriticalPods=10s`, kubelet will delay the node shutdown by
422422
30 seconds. During the shutdown, the first 20 (30-10) seconds would be reserved
423423
for gracefully terminating normal pods, and the last 10 seconds would be
424424
reserved for terminating [critical pods](/docs/tasks/administer-cluster/guaranteed-scheduling-critical-addon-pods/#marking-pod-as-critical).

0 commit comments

Comments
 (0)