From 19c0e54901dd6af6835a28c70a70917fb8d2791d Mon Sep 17 00:00:00 2001 From: X723166587 <yuchen.wei@daocloud.io> Date: Sun, 19 Jun 2022 16:27:27 +0800 Subject: [PATCH] Update command addition and removal static pods --- content/en/docs/tasks/configure-pod-container/static-pod.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/content/en/docs/tasks/configure-pod-container/static-pod.md b/content/en/docs/tasks/configure-pod-container/static-pod.md index c137382f5b..e9e9a6c356 100644 --- a/content/en/docs/tasks/configure-pod-container/static-pod.md +++ b/content/en/docs/tasks/configure-pod-container/static-pod.md @@ -230,11 +230,11 @@ The running kubelet periodically scans the configured directory (`/etc/kubernete # This assumes you are using filesystem-hosted static Pod configuration # Run these commands on the node where the kubelet is running # -mv /etc/kubelet.d/static-web.yaml /tmp +mv /etc/kubernetes/manifests/static-web.yaml /tmp sleep 20 crictl ps # You see that no nginx container is running -mv /tmp/static-web.yaml /etc/kubelet.d/ +mv /tmp/static-web.yaml /etc/kubernetes/manifests/ sleep 20 crictl ps ```