ZH-trans: update basic-stateful-set.md (#13178)
* Update basic-stateful-set.md * Update basic-stateful-set.md * Update basic-stateful-set.md * Update basic-stateful-set.md * Update basic-stateful-set.md
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
ed7f0adc74
commit
5115d4fa7d
@@ -20,7 +20,7 @@ content_template: templates/tutorial
|
|||||||
在开始本教程之前,你应该熟悉以下 Kubernetes 的概念:
|
在开始本教程之前,你应该熟悉以下 Kubernetes 的概念:
|
||||||
|
|
||||||
* [Pods](/docs/user-guide/pods/single-container/)
|
* [Pods](/docs/user-guide/pods/single-container/)
|
||||||
* [Cluster DNS](/docs/concepts/services-networking/dns-pod-service/)
|
* [集群 DNS](/docs/concepts/services-networking/dns-pod-service/)
|
||||||
* [Headless Services](/docs/concepts/services-networking/service/#headless-services)
|
* [Headless Services](/docs/concepts/services-networking/service/#headless-services)
|
||||||
* [PersistentVolumes](/docs/concepts/storage/volumes/)
|
* [PersistentVolumes](/docs/concepts/storage/volumes/)
|
||||||
* [PersistentVolume Provisioning](http://releases.k8s.io/{{< param "githubbranch" >}}/examples/persistent-volume-provisioning/)
|
* [PersistentVolume Provisioning](http://releases.k8s.io/{{< param "githubbranch" >}}/examples/persistent-volume-provisioning/)
|
||||||
@@ -451,6 +451,7 @@ 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,8 +478,11 @@ 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.
|
||||||
|
-->
|
||||||
|
`web-0` 已经更新了它的镜像,但是 `web-1` 和 `web-2` 仍保留了原始镜像。
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
kubectl delete pod web-1 web-2
|
kubectl delete pod web-1 web-2
|
||||||
|
|||||||
Reference in New Issue
Block a user