From 7c1d19a6c7af0eef1da4bededa34ee78a37a9dc1 Mon Sep 17 00:00:00 2001 From: LeaveMyYard <33721692+LeaveMyYard@users.noreply.github.com> Date: Tue, 11 Jul 2023 16:47:40 +0300 Subject: Add info to readme --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) 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 -- cgit v1.2.3