@@ -15,13 +15,13 @@ This page shows how to run an application using a Kubernetes Deployment object.
15
15
## {{% heading "objectives" %}}
16
16
17
17
<!--
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.
21
21
-->
22
- * 创建一个 nginx Deployment。
23
- * 使用 kubectl 列举该 Deployment 的相关信息。
24
- * 更新该 Deployment。
22
+ - 创建一个 nginx Deployment。
23
+ - 使用 kubectl 列举该 Deployment 的相关信息。
24
+ - 更新该 Deployment。
25
25
26
26
## {{% heading "prerequisites" %}}
27
27
@@ -81,8 +81,8 @@ Docker 镜像的 Deployment:
81
81
Pod Template:
82
82
Labels: app=nginx
83
83
Containers:
84
- nginx:
85
- Image: nginx:1.7.9
84
+ nginx:
85
+ Image: nginx:1.14.2
86
86
Port: 80/TCP
87
87
Environment: <none>
88
88
Mounts: <none>
@@ -161,6 +161,7 @@ Deployment 镜像更新为 nginx 1.16.1。
161
161
``` shell
162
162
kubectl get pods -l app=nginx
163
163
```
164
+
164
165
<!--
165
166
## Scaling the application by increasing the replica count
166
167
@@ -237,6 +238,6 @@ added to Kubernetes, replicated applications were configured using a
237
238
## {{% heading "whatsnext" %}}
238
239
239
240
<!--
240
- * Learn more about [Deployment objects](/docs/concepts/workloads/controllers/deployment/).
241
+ - Learn more about [Deployment objects](/docs/concepts/workloads/controllers/deployment/).
241
242
-->
242
- * 进一步了解 [ Deployment 对象] ( /zh-cn/docs/concepts/workloads/controllers/deployment/ ) 。
243
+ - 进一步了解 [ Deployment 对象] ( /zh-cn/docs/concepts/workloads/controllers/deployment/ ) 。
0 commit comments