Skip to content

Commit 8d4d005

Browse files
committed
Upd README.md
1 parent 198c17d commit 8d4d005

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33

44
Start a root shell in the node's host OS running.
55

6+
![demo](https://gist.githubusercontent.com/kvaps/2e3d77975a844654ec297893e21a0829/raw/c778a8405ff8c686e4e807a97e9721b423e7208f/kubectl-node-shell.gif)
7+
68
## Installation
79

810
```bash
@@ -23,7 +25,7 @@ kubectl node-shell <node> -- echo 123
2325
# Use stdin
2426
cat /etc/passwd | kubectl node-shell <node> -- sh -c 'cat > /tmp/passwd'
2527

26-
# Run oneliner
28+
# Run oneliner script
2729
kubectl node-shell <node> -- sh -c 'cat /tmp/passwd; rm -f /tmp/passwd'
2830
```
2931

0 commit comments

Comments
 (0)