Skip to content

Instantly share code, notes, and snippets.

@omril1
Created September 1, 2025 14:28
Show Gist options
  • Save omril1/7b7fba2e40ad8c4fddc796778f40f2ca to your computer and use it in GitHub Desktop.
Save omril1/7b7fba2e40ad8c4fddc796778f40f2ca to your computer and use it in GitHub Desktop.
plugins:
# Sends logs over to jq for processing. This leverages kubectl plugin kubectl-jq.
pinologsp:
shortCut: Ctrl-L
confirm: false
description: "Logs (pino)"
scopes:
- pod
command: bash
background: false
args:
- -ic
- kubectl logs -f $NAME -n $NAMESPACE --context $CONTEXT | pino-pretty -c | less -R -S -X
pinologsd:
shortCut: Ctrl-L
confirm: false
description: "Logs (pino)"
scopes:
- deployment
command: bash
background: false
args:
- -ic
- kubectl logs -f deployment/$NAME -n $NAMESPACE --context $CONTEXT | pino-pretty -c | less -R -S -X
pinologss:
shortCut: Ctrl-L
confirm: false
description: "Logs (pino)"
scopes:
- service
command: bash
background: false
args:
- -ic
- kubectl logs -f service/$NAME -n $NAMESPACE --context $CONTEXT | pino-pretty -c | less -R -S -X
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment