summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorPavel Zhukov <33721692+LeaveMyYard@users.noreply.github.com>2023-07-17 09:46:21 +0300
committerGitHub <noreply@github.com>2023-07-17 09:46:21 +0300
commite452f1e504f75fce0590d14ea3f06a53255440fc (patch)
treeec449280e6003d726b2248f7c291ed4c2b605f41 /README.md
parent519c71ec56a0d3edfd070174492a6d4bbc97d01c (diff)
parentda91728668870593b048f7e6e7bf0ec096d6db0e (diff)
Merge branch 'main' into custom-prometheus-headers
Diffstat (limited to 'README.md')
-rw-r--r--README.md6
1 files changed, 6 insertions, 0 deletions
diff --git a/README.md b/README.md
index f743bba..aa0c88d 100644
--- a/README.md
+++ b/README.md
@@ -152,6 +152,12 @@ If you want only specific namespaces (default and ingress-nginx):
krr simple -n default -n ingress-nginx
```
+Filtering by labels (more info [here](https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#api)):
+
+```sh
+python krr.py simple --selector 'app.kubernetes.io/instance in (robusta, ingress-nginx)'
+```
+
By default krr will run in the current context. If you want to run it in a different context:
```sh