Skip to content

Commit 19c0e54

Browse files
author
X723166587
authored
Update command addition and removal static pods
1 parent 7accd81 commit 19c0e54

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -230,11 +230,11 @@ The running kubelet periodically scans the configured directory (`/etc/kubernete
230230
# This assumes you are using filesystem-hosted static Pod configuration
231231
# Run these commands on the node where the kubelet is running
232232
#
233-
mv /etc/kubelet.d/static-web.yaml /tmp
233+
mv /etc/kubernetes/manifests/static-web.yaml /tmp
234234
sleep 20
235235
crictl ps
236236
# You see that no nginx container is running
237-
mv /tmp/static-web.yaml /etc/kubelet.d/
237+
mv /tmp/static-web.yaml /etc/kubernetes/manifests/
238238
sleep 20
239239
crictl ps
240240
```

0 commit comments

Comments
 (0)