Skip to content

Commit 2227d45

Browse files
committed
Misc: Update README.md
1 parent 3a9dc71 commit 2227d45

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ typing such long commands are quite annoyed.
2121
Before change, we usually search pods by the following commands,
2222

2323
$ kubectl get pods | grep "keyword"
24+
$ kubectl get pods -o wide | grep "keyword"
2425
$ kubectl get pods -n "my-ns" | grep "keyword"
2526
$ kubectl get pods --all-namespaces | grep "keyword"
2627
$ kubectl get pods -l "key=value" | grep "keyword"
@@ -31,6 +32,7 @@ Before change, we usually search pods by the following commands,
3132
With this plugin installed, you can search pod with `kubectl search` easily
3233

3334
$ kubectl search pods "keyword"
35+
$ kubectl search pods "keyword" -o wide
3436
$ kubectl search pods "keyword" -n "my-ns"
3537
$ kubectl search pods "keyword" --all-namespaces
3638
$ kubectl search pods "keyword" -l "key=value"
@@ -40,7 +42,7 @@ With this plugin installed, you can search pod with `kubectl search` easily
4042

4143
# Basic Usage
4244

43-
$ curl -L https://github.com/guessi/kubectl-search/releases/download/v1.0.0/kubectl-search-`uname -s`-`uname -m` -o /usr/local/bin/kubectl-search
45+
$ curl -L https://github.com/guessi/kubectl-search/releases/download/v1.0.2/kubectl-search-`uname -s`-`uname -m` -o /usr/local/bin/kubectl-search
4446
$ chmod +x /usr/local/bin/kubectl-search
4547
$ kubectl search pods "keyword"
4648

@@ -56,7 +58,7 @@ With this plugin installed, you can search pod with `kubectl search` easily
5658

5759
What kind of resource does current release supported?
5860

59-
now it support Pods, Deployments, and HPA
61+
now it support Pods, Deployments, DaemonSets, and HPA
6062

6163
Is it possible to search StatefulSets, DaemonSets, etc?
6264

0 commit comments

Comments
 (0)