You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/en/docs/concepts/architecture/nodes.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -402,7 +402,7 @@ Graceful node shutdown is controlled with the `GracefulNodeShutdown`
402
402
enabled by default in 1.21.
403
403
404
404
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,
406
406
thus not activating Graceful node shutdown functionality.
407
407
To activate the feature, the two kubelet config settings should be configured appropriately and set to non-zero values.
408
408
@@ -412,13 +412,13 @@ During a graceful shutdown, kubelet terminates pods in two phases:
412
412
2. Terminate [critical pods](/docs/tasks/administer-cluster/guaranteed-scheduling-critical-addon-pods/#marking-pod-as-critical) running on the node.
413
413
414
414
Graceful node shutdown feature is configured with two [`KubeletConfiguration`](/docs/tasks/administer-cluster/kubelet-config-file/) options:
415
-
*`ShutdownGracePeriod`:
415
+
*`shutdownGracePeriod`:
416
416
* 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`.
419
419
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
422
422
30 seconds. During the shutdown, the first 20 (30-10) seconds would be reserved
423
423
for gracefully terminating normal pods, and the last 10 seconds would be
424
424
reserved for terminating [critical pods](/docs/tasks/administer-cluster/guaranteed-scheduling-critical-addon-pods/#marking-pod-as-critical).
0 commit comments