[zh]sync access tasks files

This commit is contained in:
chenxuc
2021-08-26 16:30:21 +08:00
parent 03f1829e4f
commit 1809def31c
2 changed files with 23 additions and 18 deletions
@@ -40,7 +40,7 @@ for database debugging.
1. 创建一个运行 MongoDB 的 deployment
```shell
kubectl apply -f https://k8s.io/examples/application/guestbook/mongo-deployment.yaml
kubectl apply -f https://k8s.io/examples/application/mongodb/mongo-deployment.yaml
```
<!--
@@ -117,7 +117,7 @@ for database debugging.
2. 创建一个在网络上公开的 MongoDB 服务:
```shell
kubectl apply -f https://k8s.io/examples/application/guestbook/mongo-service.yaml
kubectl apply -f https://k8s.io/examples/application/mongodb/mongo-service.yaml
```
<!--
@@ -284,16 +284,6 @@ the slightly simpler syntax:
kubectl port-forward deployment/mongo :27017
```
<!--
The output is similar to this:
-->
输出应该类似于:
```
Forwarding from 127.0.0.1:63753 -> 27017
Forwarding from [::1]:63753 -> 27017
```
<!--
The `kubectl` tool finds a local port number that is not in use (avoiding low ports numbers,
because these might be used by other applications). The output is similar to: