You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+34Lines changed: 34 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -23,6 +23,40 @@ This plugin needs the following programs:
23
23
24
24
## Installation
25
25
26
+
### Install through krew
27
+
This is a way to install kubectl-ssh-jump through [krew](https://github.com/GoogleContainerTools/krew). After installing krew by following [this](https://github.com/GoogleContainerTools/krew#installation), you can install kubectl-ssh-jump like this:
28
+
29
+
```sh
30
+
$ kubectl krew install ssh-jump
31
+
```
32
+
33
+
Expected output would be like this:
34
+
```
35
+
Updated the local copy of plugin index.
36
+
Installing plugin: ssh-jump
37
+
CAVEATS:
38
+
\
39
+
| This plugin needs the following programs:
40
+
| * ssh(1)
41
+
| * ssh-agent(1)
42
+
|
43
+
| Please follow the documentation: https://github.com/yokawasa/kubectl-plugin-ssh-jump
44
+
/
45
+
Installed plugin: ssh-jump
46
+
```
47
+
48
+
Once it's installed, run:
49
+
```sh
50
+
$ kubectl plugin list
51
+
52
+
The following kubectl-compatible plugins are available:
53
+
54
+
/Users/yoichika/.krew/bin/kubectl-krew
55
+
/Users/yoichika/.krew/bin/kubectl-ssh_jump
56
+
57
+
$ kubectl ssh-jump
58
+
```
59
+
26
60
### Manual Installation
27
61
28
62
Install the plugin by copying the script in the $PATH of your shell.
0 commit comments