Fix: static pod example pod name

Signed-off-by: zhangzhiqiang02 <zhangzhiqiang02@megvii.com>
pull/42902/head
zhangzhiqiang02 2023-09-06 16:03:38 +08:00
parent a8c3b3ff5a
commit 63f28c3813
No known key found for this signature in database
GPG Key ID: 45FA21DD7659C90B
1 changed files with 6 additions and 6 deletions

View File

@ -190,7 +190,7 @@ kubectl get pods
```
```
NAME READY STATUS RESTARTS AGE
static-web 1/1 Running 0 2m
static-web-my-node1 1/1 Running 0 2m
```
{{< note >}}
@ -206,10 +206,10 @@ If you try to use `kubectl` to delete the mirror Pod from the API server,
the kubelet _doesn't_ remove the static Pod:
```shell
kubectl delete pod static-web
kubectl delete pod static-web-my-node1
```
```
pod "static-web" deleted
pod "static-web-my-node1" deleted
```
You can see that the Pod is still running:
```shell
@ -217,7 +217,7 @@ kubectl get pods
```
```
NAME READY STATUS RESTARTS AGE
static-web 1/1 Running 0 4s
static-web-my-node1 1/1 Running 0 4s
```
Back on your node where the kubelet is running, you can try to stop the container manually.