Skip to content

Commit 7274c9a

Browse files
authored
Merge pull request #50005 from windsonsea/letles
[zh] Sync node/kubelet-files.md
2 parents 9320b9f + 285d6c2 commit 7274c9a

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

content/zh-cn/docs/reference/node/kubelet-files.md

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ in systemd unit settings file. Typically it includes:
118118
- command line arguments to [run kubelet](/docs/reference/command-line-tools-reference/kubelet/)
119119
- environment variables, used by kubelet or [configuring golang runtime](https://pkg.go.dev/runtime#hdr-Environment_Variables)
120120
-->
121-
### Systemd 单元设置 {#systemd-unit-settings}
121+
### systemd 单元设置 {#systemd-unit-settings}
122122

123123
当 kubelet 作为 systemd 单元运行时,一些 kubelet 配置可以在 systemd 单元设置文件中声明。
124124
这些配置通常包括:
@@ -280,6 +280,20 @@ The types of plugins that can place socket files into that directory are:
280280

281281
(通常是 `/var/lib/kubelet/plugins_registry`)。
282282

283+
<!--
284+
### Graceful node shutdown
285+
-->
286+
### 节点体面关闭 {#graceful-node-shutdown}
287+
288+
{{< feature-state feature_gate_name="GracefulNodeShutdown" >}}
289+
290+
<!--
291+
[Graceful node shutdown](/docs/concepts/cluster-administration/node-shutdown/#graceful-node-shutdown)
292+
stores state locally at `/var/lib/kubelet/graceful_node_shutdown_state`.
293+
-->
294+
[节点体面关闭](/zh-cn/docs/concepts/cluster-administration/node-shutdown/#graceful-node-shutdown)将状态存储在本地目录
295+
`/var/lib/kubelet/graceful_node_shutdown_state`
296+
283297
<!--
284298
## Security profiles & configuration
285299

0 commit comments

Comments
 (0)