fix Typo "##" -> "## " (#12011)
* fix Typo "##" -> "## " fix Typo "##" -> "## " * update basic-stateful-set.md
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
8511590979
commit
a1bfbe8b21
@@ -448,9 +448,10 @@ kubectl delete pod web-0
|
|||||||
pod "web-0" deleted
|
pod "web-0" deleted
|
||||||
```
|
```
|
||||||
|
|
||||||
<--
|
<!--
|
||||||
Watch the `web-0` Pod, and wait for it to transition to Running and Ready.
|
Watch the `web-0` Pod, and wait for it to transition to Running and Ready.
|
||||||
-->
|
-->
|
||||||
|
|
||||||
观察 `web-0` Pod, 等待它变成 Running 和 Ready。
|
观察 `web-0` Pod, 等待它变成 Running 和 Ready。
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
@@ -477,10 +478,15 @@ web-1 k8s.gcr.io/nginx-slim:0.8
|
|||||||
web-2 k8s.gcr.io/nginx-slim:0.8
|
web-2 k8s.gcr.io/nginx-slim:0.8
|
||||||
```
|
```
|
||||||
|
|
||||||
|
<!--
|
||||||
`web-0` has had its image updated, but `web-0` and `web-1` still have the original
|
`web-0` has had its image updated, but `web-0` and `web-1` still have the original
|
||||||
image. Complete the update by deleting the remaining Pods.
|
image. Complete the update by deleting the remaining Pods.
|
||||||
|
-->
|
||||||
|
|
||||||
```shell
|
`web-0` 已经更新了它的容器镜像,但 `web-0` 和 `web-1` 仍然是原始版本的镜像。通过删除剩余的 Pod 来完成更新。
|
||||||
|
|
||||||
|
|
||||||
|
```shell
|
||||||
kubectl delete pod web-1 web-2
|
kubectl delete pod web-1 web-2
|
||||||
pod "web-1" deleted
|
pod "web-1" deleted
|
||||||
pod "web-2" deleted
|
pod "web-2" deleted
|
||||||
@@ -489,7 +495,7 @@ pod "web-2" deleted
|
|||||||
|
|
||||||
观察 StatefulSet 的 Pod,等待它们全部变成 Running 和 Ready。
|
观察 StatefulSet 的 Pod,等待它们全部变成 Running 和 Ready。
|
||||||
|
|
||||||
```
|
```shell
|
||||||
kubectl get pods -w -l app=nginx
|
kubectl get pods -w -l app=nginx
|
||||||
NAME READY STATUS RESTARTS AGE
|
NAME READY STATUS RESTARTS AGE
|
||||||
web-0 1/1 Running 0 8m
|
web-0 1/1 Running 0 8m
|
||||||
|
|||||||
Reference in New Issue
Block a user