Update static-pod.md

sync with english version
pull/25709/head
guzj11 2020-12-19 00:20:44 +08:00 committed by GitHub
parent 240a7d000f
commit 8322013733
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -155,7 +155,8 @@ For example, this is how to start a simple web server as a static Pod:
```
or add the `staticPodPath: <the directory>` field in the [KubeletConfiguration file](/docs/tasks/administer-cluster/kubelet-config-file).
-->
3. 配置这个节点上的 kubelet使用这个参数执行 `--pod-manifest-path=/etc/kubelet.d/`
3. 配置这个节点上的 kubelet使用这个参数执行 `--pod-manifest-path=/etc/kubelet.d/`
在 Fedora 上编辑 `/etc/kubernetes/kubelet` 以包含下行:
```
KUBELET_ARGS="--cluster-dns=10.254.0.10 --cluster-domain=kube.local --pod-manifest-path=/etc/kubelet.d/"