Skip to content

Commit

Permalink
fix README
Browse files Browse the repository at this point in the history
  • Loading branch information
FingerLiu committed Mar 16, 2021
1 parent 1f75838 commit 26c8c2d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,13 @@ using curl:
curl -LO https://github.com/FingerLiu/kubectl-smart/raw/master/kubectl-smart
chmod +x ./kubectl-smart
sudo mv ./kubectl-smart /usr/local/bin/kubectl-s
kubectl s -h
```

using krew:
```bash
TODO
kubectl smart -h
```

# Usage
Expand All @@ -39,6 +41,7 @@ OPTIONS:
-c : TODO container name.
-e : use exact match rather than grep. Only use this when you want to disable grep when grep return multi items.
Examples:
# if you installed through krew, you should **kubectl smart** to replace **kubectl s**
# get pod with name contains my in namespace her-namespace
# (kubectl get pod -n her-namespace-a |grep my)
kubectl s gp -n her.*a my
Expand Down

0 comments on commit 26c8c2d

Please sign in to comment.