File tree Expand file tree Collapse file tree 1 file changed +14
-5
lines changed Expand file tree Collapse file tree 1 file changed +14
-5
lines changed Original file line number Diff line number Diff line change @@ -18,11 +18,15 @@ Usage:
1818 kubectl-grep [flags]
1919
2020Flags:
21- -n, --clean Cleanup generate fields
22- -N, --clean-status Cleanup generate fields, including status
23- -h, --help help for kubectl-grep
24- -s, --summary Summarize output
25- -L, --unlist Split Kubernetes lists
21+ -n, --clean Cleanup generate fields
22+ -N, --clean-status Cleanup generate fields, including status
23+ -h, --help help for kubectl-grep
24+ -i, --insensitive-regex Invert regex match
25+ -v, --invert-regex Invert regex match
26+ -r, --regex string Raw regex to match against
27+ -s, --summary Summarize output
28+ -L, --unlist Split Kubernetes lists
29+
2630```
2731
2832## Examples
4448``` shell
4549< some-config.yaml | kubectl grep ' Pod/*/dev' -N
4650```
51+ #### Display all resources that contain the string ` pertrytimeout ` (case-insensitive), but do not contain ` timeout ` .
52+
53+ ``` shell
54+ < some-config.yaml | kubectl grep -r pertrytimeout -i | kubectl grep -v -r timeout
55+ ```
You can’t perform that action at this time.
0 commit comments