Skip to content

Commit a9bc318

Browse files
authored
Merge pull request #39310 from windsonsea/hellom
[zh] sync hello-minikube.md
2 parents 97c97ec + 9225137 commit a9bc318

File tree

1 file changed

+15
-10
lines changed

1 file changed

+15
-10
lines changed

content/zh-cn/docs/tutorials/hello-minikube.md

Lines changed: 15 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ You can also follow this tutorial if you've installed minikube locally.
4343
See [minikube start](https://minikube.sigs.k8s.io/docs/start/) for installation instructions.
4444
-->
4545
如果你已在本地安装 Minikube,也可以按照本教程操作。
46-
安装指南参阅 [minikube start](https://minikube.sigs.k8s.io/docs/start/)
46+
安装指南参阅 [minikube start](https://minikube.sigs.k8s.io/docs/start/)
4747
{{< /note >}}
4848

4949
## {{% heading "objectives" %}}
@@ -165,21 +165,26 @@ Kubernetes [**Deployment**](/zh-cn/docs/concepts/workloads/controllers/deploymen
165165
检查 Pod 的健康状况,并在 Pod 中的容器终止的情况下重新启动新的容器。
166166
Deployment 是管理 Pod 创建和扩展的推荐方法。
167167

168+
<!--
169+
1. Katacoda environment only: At the top of the terminal pane, click the plus sign, and then click open a new terminal.
170+
-->
171+
1. 仅 Katacoda 环境:在终端窗格的顶部,点击加号,然后点击 **Open a new terminal**
172+
168173
<!--
169174
1. Use the `kubectl create` command to create a Deployment that manages a Pod. The
170175
Pod runs a Container based on the provided Docker image.
171176
-->
172-
1. 使用 `kubectl create` 命令创建管理 Pod 的 Deployment。该 Pod 根据提供的 Docker
177+
2. 使用 `kubectl create` 命令创建管理 Pod 的 Deployment。该 Pod 根据提供的 Docker
173178
镜像运行容器。
174179

175180
```shell
176181
kubectl create deployment hello-node --image=registry.k8s.io/e2e-test-images/agnhost:2.39 -- /agnhost netexec --http-port=8080
177182
```
178183

179184
<!--
180-
2. View the Deployment:
185+
1. View the Deployment:
181186
-->
182-
2. 查看 Deployment:
187+
3. 查看 Deployment:
183188

184189
```shell
185190
kubectl get deployments
@@ -197,9 +202,9 @@ Pod runs a Container based on the provided Docker image.
197202
```
198203

199204
<!--
200-
3. View the Pod:
205+
1. View the Pod:
201206
-->
202-
3. 查看 Pod:
207+
4. 查看 Pod:
203208

204209
```shell
205210
kubectl get pods
@@ -217,18 +222,18 @@ Pod runs a Container based on the provided Docker image.
217222
```
218223

219224
<!--
220-
4. View cluster events:
225+
1. View cluster events:
221226
-->
222-
4. 查看集群事件:
227+
5. 查看集群事件:
223228

224229
```shell
225230
kubectl get events
226231
```
227232

228233
<!--
229-
5. View the `kubectl` configuration:
234+
1. View the `kubectl` configuration:
230235
-->
231-
5. 查看 `kubectl` 配置:
236+
6. 查看 `kubectl` 配置:
232237

233238
```shell
234239
kubectl config view

0 commit comments

Comments
 (0)