Fix: static pod example pod name
Signed-off-by: zhangzhiqiang02 <zhangzhiqiang02@megvii.com>pull/42902/head
parent
a8c3b3ff5a
commit
63f28c3813
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue