Skip to content

Commit acc695c

Browse files
authored
Merge pull request #21751 from ZhiFeng1993/ZF--sync-chinese-minilube-page-with-english
Sync Chinese minikube page with English one
2 parents ce768c8 + 71736e8 commit acc695c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

content/zh/docs/setup/learning-environment/minikube.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ This brief demo guides you on how to start, use, and delete Minikube locally. Fo
110110
让我们使用名为 `echoserver` 的镜像创建一个 Kubernetes Deployment,并使用 `--port` 在端口 8080 上暴露服务。`echoserver` 是一个简单的 HTTP 服务器。
111111

112112
```shell
113-
kubectl run hello-minikube --image=k8s.gcr.io/echoserver:1.10 --port=8080
113+
kubectl create deployment hello-minikube --image=k8s.gcr.io/echoserver:1.10
114114
```
115115
<!--
116116
The output is similar to this:
@@ -128,7 +128,7 @@ This brief demo guides you on how to start, use, and delete Minikube locally. Fo
128128
-->
129129

130130
```shell
131-
kubectl expose deployment hello-minikube --type=NodePort
131+
kubectl expose deployment hello-minikube --type=NodePort --port=8080
132132
```
133133
<!--
134134
The option `--type=NodePort` specifies the type of the Service.

0 commit comments

Comments
 (0)