summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeaveMyYard <33721692+LeaveMyYard@users.noreply.github.com>2023-07-11 16:47:40 +0300
committerLeaveMyYard <33721692+LeaveMyYard@users.noreply.github.com>2023-07-11 16:47:40 +0300
commit7c1d19a6c7af0eef1da4bededa34ee78a37a9dc1 (patch)
tree3d726cf5a3114c3466954eedbb319804b2aab2a9
parenta1d716d9799bd49f7d21615037e83766f636239f (diff)
Add info to readme
-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