Skip to content

Commit 7046b7d

Browse files
committed
polish docs
1 parent dd7e496 commit 7046b7d

File tree

2 files changed

+23
-2
lines changed

2 files changed

+23
-2
lines changed

README.md

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,18 @@ kubectl apply -f https://raw.githubusercontent.com/aylei/kubectl-debug/master/sc
2020

2121
Install the kubectl debug plugin:
2222
```bash
23-
curl
23+
# Linux
24+
curl -Lo kubectl-debug https://github.com/aylei/kubectl-debug/releases/download/0.0.1/kubectl-debug_0.0.1_linux-amd64
25+
26+
# MacOS
27+
curl -Lo kubectl-debug https://github.com/aylei/kubectl-debug/releases/download/0.0.1/kubectl-debug_0.0.1_macos-amd64
28+
29+
chmod +x ./kubectl-debug
30+
mv kubectdl-debug /usr/local/bin/
2431
```
2532

33+
For windows user, download the latest binary from the [release page](https://github.com/aylei/kubectl-debug/releases/tag/0.0.1) and add it to your PATH.
34+
2635
Try it out!
2736
```bash
2837
kubectl debug POD_NAME
@@ -86,4 +95,4 @@ When user run `kubectl debug target-pod -c <container-name> /bin/bash`:
8695

8796
# Contribute
8897

89-
Feel free to open issues and pull requests. Any feedback will be highly appreciated!
98+
Feel free to open issues and pull requests. Any feedback is highly appreciated!

docs/zh-cn.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,18 @@ kubectl apply -f https://raw.githubusercontent.com/aylei/kubectl-debug/master/sc
1313

1414
接下来, 安装 kubectl 插件:
1515

16+
```bash
17+
# Linux
18+
curl -Lo kubectl-debug https://github.com/aylei/kubectl-debug/releases/download/0.0.1/kubectl-debug_0.0.1_linux-amd64
19+
20+
# MacOS
21+
curl -Lo kubectl-debug https://github.com/aylei/kubectl-debug/releases/download/0.0.1/kubectl-debug_0.0.1_macos-amd64
22+
23+
chmod +x ./kubectl-debug
24+
mv kubectdl-debug /usr/local/bin/
25+
```
26+
27+
Windows 上可以到 [release page](https://github.com/aylei/kubectl-debug/releases/tag/0.0.1) 下载最新的 binary (_win-amd64结尾) 然后加入 PATH.
1628

1729
装完之后就可以试试看了:
1830
```bash

0 commit comments

Comments
 (0)