From 92c475e20fdc4f5dcf45ed77e061f40367213fb8 Mon Sep 17 00:00:00 2001 From: Daniel Lundin Date: Thu, 25 Jan 2024 11:17:56 +0100 Subject: [PATCH] k9s: add get all pod logs plugin --- .config/k9s/plugins.yaml | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 .config/k9s/plugins.yaml diff --git a/.config/k9s/plugins.yaml b/.config/k9s/plugins.yaml new file mode 100644 index 0000000..ef8a5bf --- /dev/null +++ b/.config/k9s/plugins.yaml @@ -0,0 +1,12 @@ +plugins: + raw-logs-follow: + shortCut: Shift-L + description: kubectl logs + scopes: + - po + command: bash + background: false + args: + - -c + - | + kubectl logs $NAME -n $NAMESPACE --context $CONTEXT | bat --wrap=never --pager="less" --force-colorization