Skip to content

Commit 1bd6749

Browse files
author
zhuzhenghao
committed
[zh] Resync run-stateless-application-deployment
1 parent 448e1fa commit 1bd6749

File tree

1 file changed

+11
-10
lines changed

1 file changed

+11
-10
lines changed

content/zh-cn/docs/tasks/run-application/run-stateless-application-deployment.md

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,13 @@ This page shows how to run an application using a Kubernetes Deployment object.
1515
## {{% heading "objectives" %}}
1616

1717
<!--
18-
* Create an nginx deployment.
19-
* Use kubectl to list information about the deployment.
20-
* Update the deployment.
18+
- Create an nginx deployment.
19+
- Use kubectl to list information about the deployment.
20+
- Update the deployment.
2121
-->
22-
* 创建一个 nginx Deployment。
23-
* 使用 kubectl 列举该 Deployment 的相关信息。
24-
* 更新该 Deployment。
22+
- 创建一个 nginx Deployment。
23+
- 使用 kubectl 列举该 Deployment 的相关信息。
24+
- 更新该 Deployment。
2525

2626
## {{% heading "prerequisites" %}}
2727

@@ -81,8 +81,8 @@ Docker 镜像的 Deployment:
8181
Pod Template:
8282
Labels: app=nginx
8383
Containers:
84-
nginx:
85-
Image: nginx:1.7.9
84+
nginx:
85+
Image: nginx:1.14.2
8686
Port: 80/TCP
8787
Environment: <none>
8888
Mounts: <none>
@@ -161,6 +161,7 @@ Deployment 镜像更新为 nginx 1.16.1。
161161
```shell
162162
kubectl get pods -l app=nginx
163163
```
164+
164165
<!--
165166
## Scaling the application by increasing the replica count
166167
@@ -237,6 +238,6 @@ added to Kubernetes, replicated applications were configured using a
237238
## {{% heading "whatsnext" %}}
238239

239240
<!--
240-
* Learn more about [Deployment objects](/docs/concepts/workloads/controllers/deployment/).
241+
- Learn more about [Deployment objects](/docs/concepts/workloads/controllers/deployment/).
241242
-->
242-
* 进一步了解 [Deployment 对象](/zh-cn/docs/concepts/workloads/controllers/deployment/)
243+
- 进一步了解 [Deployment 对象](/zh-cn/docs/concepts/workloads/controllers/deployment/)

0 commit comments

Comments
 (0)