Update command addition and removal static pods

This commit is contained in:
X723166587 2022-06-19 16:27:27 +08:00 committed by GitHub
parent 7accd81c5f
commit 19c0e54901
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -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
```