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
* Update static-pod.md
kubeadm should be configured to use a pod-manifest-path of `/etc/kubernetes/manifests` by default, so this may be a better suggested directory to use than `/etc/kubelet.d/`
* Addressing review comments
Addressed review comments, and changed an additional instance of the path that needed to be modified.
Copy file name to clipboardExpand all lines: content/en/docs/tasks/configure-pod-container/static-pod.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
@@ -67,12 +67,12 @@ For example, this is how to start a simple web server as a static Pod:
67
67
ssh my-node1
68
68
```
69
69
70
-
2. Choose a directory, say `/etc/kubelet.d` and place a web server Pod definition there, for example `/etc/kubelet.d/static-web.yaml`:
70
+
2. Choose a directory, say `/etc/kubernetes/manifests` and place a web server Pod definition there, for example `/etc/kubernetes/manifests/static-web.yaml`:
71
71
72
72
```shell
73
73
# Run this command on the node where kubelet is running
@@ -90,10 +90,10 @@ For example, this is how to start a simple web server as a static Pod:
90
90
EOF
91
91
```
92
92
93
-
3. Configure your kubelet on the node to use this directory by running it with `--pod-manifest-path=/etc/kubelet.d/` argument. On Fedora edit `/etc/kubernetes/kubelet` to include this line:
93
+
3. Configure your kubelet on the node to use this directory by running it with `--pod-manifest-path=/etc/kubernetes/manifests/` argument. On Fedora edit `/etc/kubernetes/kubelet` to include this line:
The running kubelet periodically scans the configured directory (`/etc/kubelet.d`in our example) forchanges and adds/removes Pods as files appear/disappearin this directory.
227
+
The running kubelet periodically scans the configured directory (`/etc/kubernetes/manifests`in our example) forchanges and adds/removes Pods as files appear/disappearin this directory.
228
228
229
229
```shell
230
230
# This assumes you are using filesystem-hosted static Pod configuration
0 commit comments