Skip to content

Commit

Permalink
fix install command
Browse files Browse the repository at this point in the history
Signed-off-by: bingshen.wbs <bingshen.wbs@alibaba-inc.com>
  • Loading branch information
BSWANG committed Feb 14, 2023
1 parent 31a23a2 commit f15d92c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,13 +48,13 @@ You can view the full documentation from the [KubeSkoop.io](https://kubeskoop.io
Through `go install` to install KubeSkoop cli:

```shell
go install github.com/alibaba/kubeskoop/cmd/kubeskoop
go install github.com/alibaba/kubeskoop/cmd/skoop@latest
```

#### One-Shot Diagnose

```shell
$ kubeskoop -s 172.18.0.4 -d 10.96.0.10 -p 53 --http # Execute the diagnostic command, specify the src,dst, and use --http to provide the diagnostic result through the local web service
$ skoop -s 172.18.0.4 -d 10.96.0.10 -p 53 --http # Execute the diagnostic command, specify the src,dst, and use --http to provide the diagnostic result through the local web service
I0118 11:43:23.383446 6280 web.go:97] http server listening on http://127.0.0.1:8080 # After the diagnosis is completed, a link to the diagnosis result will be output
```

Expand Down
4 changes: 2 additions & 2 deletions README_zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,13 +51,13 @@ KubeSkoop是一个Kubernetes网络诊断工具。针对不同的网络插件和I
通过`go install`来安装KubeSkoop的诊断客户端:

```shell
go install github.com/alibaba/kubeskoop/cmd/kubeskoop@latest
go install github.com/alibaba/kubeskoop/cmd/skoop@latest
```

#### 一键诊断

```shell
$ kubeskoop -s 172.18.0.4 -d 10.96.0.10 -p 53 --http # 执行诊断命令,通过src,dst指定源地址和目的地址,使用--http通过本地web服务展示诊断结果
$ skoop -s 172.18.0.4 -d 10.96.0.10 -p 53 --http # 执行诊断命令,通过src,dst指定源地址和目的地址,使用--http通过本地web服务展示诊断结果
I0118 11:43:23.383446 6280 web.go:97] http server listening on http://127.0.0.1:8080 # 在诊断完成后,将会显示用于查看诊断结果的链接
```

Expand Down

0 comments on commit f15d92c

Please sign in to comment.