Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docs: Switch the positions of vela port-forward and vela exec commands. #1179

Merged
merged 1 commit into from
Feb 25, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ nginx-basic-dfb6dcf8d-km5vk nginx-basic 2022-04-08T06:38:10.540430392Z /docker-e
nginx-basic-dfb6dcf8d-km5vk nginx-basic 2022-04-08T06:38:10.540742240Z /docker-entrypoint.sh: Looking for shell scripts in /docker-entrypoint.d/
```

- `vela port-forward` 将子集群中的 Pod 或者 Service 通过端口映射到本地使其可以在本地被访问
- `vela exec` 帮助你在子集群的 Pod 里执行命令

```bash
$ vela exec basic-topology -n examples -it -- ls
Expand All @@ -164,7 +164,7 @@ boot docker-entrypoint.sh lib mnt root srv usr
dev etc lib64 opt run sys var
```

- `vela exec` 帮助你在子集群的 Pod 里执行命令
- `vela port-forward` 将子集群中的 Pod 或者 Service 通过端口映射到本地使其可以在本地被访问

```bash
$ vela port-forward basic-topology -n examples 8080:80
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ nginx-basic-dfb6dcf8d-km5vk nginx-basic 2022-04-08T06:38:10.540430392Z /docker-e
nginx-basic-dfb6dcf8d-km5vk nginx-basic 2022-04-08T06:38:10.540742240Z /docker-entrypoint.sh: Looking for shell scripts in /docker-entrypoint.d/
```

- `vela port-forward` 将子集群中的 Pod 或者 Service 通过端口映射到本地使其可以在本地被访问
- `vela exec` 帮助你在子集群的 Pod 里执行命令

```bash
$ vela exec basic-topology -n examples -it -- ls
Expand All @@ -158,7 +158,7 @@ boot docker-entrypoint.sh lib mnt root srv usr
dev etc lib64 opt run sys var
```

- `vela exec` 帮助你在子集群的 Pod 里执行命令
- `vela port-forward` 将子集群中的 Pod 或者 Service 通过端口映射到本地使其可以在本地被访问

```bash
$ vela port-forward basic-topology -n examples 8080:80
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ nginx-basic-dfb6dcf8d-km5vk nginx-basic 2022-04-08T06:38:10.540430392Z /docker-e
nginx-basic-dfb6dcf8d-km5vk nginx-basic 2022-04-08T06:38:10.540742240Z /docker-entrypoint.sh: Looking for shell scripts in /docker-entrypoint.d/
```

- `vela port-forward` 将子集群中的 Pod 或者 Service 通过端口映射到本地使其可以在本地被访问
- `vela exec` 帮助你在子集群的 Pod 里执行命令

```bash
$ vela exec basic-topology -n examples -it -- ls
Expand All @@ -158,7 +158,7 @@ boot docker-entrypoint.sh lib mnt root srv usr
dev etc lib64 opt run sys var
```

- `vela exec` 帮助你在子集群的 Pod 里执行命令
- `vela port-forward` 将子集群中的 Pod 或者 Service 通过端口映射到本地使其可以在本地被访问

```bash
$ vela port-forward basic-topology -n examples 8080:80
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ nginx-basic-dfb6dcf8d-km5vk nginx-basic 2022-04-08T06:38:10.540430392Z /docker-e
nginx-basic-dfb6dcf8d-km5vk nginx-basic 2022-04-08T06:38:10.540742240Z /docker-entrypoint.sh: Looking for shell scripts in /docker-entrypoint.d/
```

- `vela port-forward` 将子集群中的 Pod 或者 Service 通过端口映射到本地使其可以在本地被访问
- `vela exec` 帮助你在子集群的 Pod 里执行命令

```bash
$ vela exec basic-topology -n examples -it -- ls
Expand All @@ -164,7 +164,7 @@ boot docker-entrypoint.sh lib mnt root srv usr
dev etc lib64 opt run sys var
```

- `vela exec` 帮助你在子集群的 Pod 里执行命令
- `vela port-forward` 将子集群中的 Pod 或者 Service 通过端口映射到本地使其可以在本地被访问

```bash
$ vela port-forward basic-topology -n examples 8080:80
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ nginx-basic-dfb6dcf8d-km5vk nginx-basic 2022-04-08T06:38:10.540430392Z /docker-e
nginx-basic-dfb6dcf8d-km5vk nginx-basic 2022-04-08T06:38:10.540742240Z /docker-entrypoint.sh: Looking for shell scripts in /docker-entrypoint.d/
```

- `vela port-forward` 将子集群中的 Pod 或者 Service 通过端口映射到本地使其可以在本地被访问
- `vela exec` 帮助你在子集群的 Pod 里执行命令

```bash
$ vela exec basic-topology -n examples -it -- ls
Expand All @@ -164,7 +164,7 @@ boot docker-entrypoint.sh lib mnt root srv usr
dev etc lib64 opt run sys var
```

- `vela exec` 帮助你在子集群的 Pod 里执行命令
- `vela port-forward` 将子集群中的 Pod 或者 Service 通过端口映射到本地使其可以在本地被访问

```bash
$ vela port-forward basic-topology -n examples 8080:80
Expand Down