[zh] Sync node/kubelet-files.md

pull/50005/head
windsonsea 2025-03-05 10:17:46 +08:00
parent 9320b9f81e
commit 285d6c2038
1 changed files with 15 additions and 1 deletions

View File

@ -118,7 +118,7 @@ in systemd unit settings file. Typically it includes:
- command line arguments to [run kubelet](/docs/reference/command-line-tools-reference/kubelet/)
- environment variables, used by kubelet or [configuring golang runtime](https://pkg.go.dev/runtime#hdr-Environment_Variables)
-->
### Systemd 单元设置 {#systemd-unit-settings}
### systemd 单元设置 {#systemd-unit-settings}
当 kubelet 作为 systemd 单元运行时,一些 kubelet 配置可以在 systemd 单元设置文件中声明。
这些配置通常包括:
@ -280,6 +280,20 @@ The types of plugins that can place socket files into that directory are:
(通常是 `/var/lib/kubelet/plugins_registry`)。
<!--
### Graceful node shutdown
-->
### 节点体面关闭 {#graceful-node-shutdown}
{{< feature-state feature_gate_name="GracefulNodeShutdown" >}}
<!--
[Graceful node shutdown](/docs/concepts/cluster-administration/node-shutdown/#graceful-node-shutdown)
stores state locally at `/var/lib/kubelet/graceful_node_shutdown_state`.
-->
[节点体面关闭](/zh-cn/docs/concepts/cluster-administration/node-shutdown/#graceful-node-shutdown)将状态存储在本地目录
`/var/lib/kubelet/graceful_node_shutdown_state`
<!--
## Security profiles & configuration