Merge pull request #34403 from X723166587/patch-2

Update command addition and removal static pods
pull/35596/head
Kubernetes Prow Robot 2022-08-01 00:22:28 -07:00 committed by GitHub
commit 0b3e6d9459
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
```