Skip to content

Commit a769887

Browse files
authored
Merge pull request #25709 from guzj11/patch-50
Update static-pod.md
2 parents cb5d05e + 8322013 commit a769887

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

content/zh/docs/tasks/configure-pod-container/static-pod.md

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

0 commit comments

Comments
 (0)