|
|
|
|
|
by sixonesixo
302 days ago
|
|
i've found out that is possible! with k9s plugins.
you need to create a yaml file with the gonzo command you want to launch the file is `$XDG_CONFIG_HOME/k9s/plugins.yaml` and here's an example: plugins:
gonzo-ai:
shortCut: g
description: "Gonzo: AI log analysis"
scopes:
- po
command: sh
background: false
args:
- -c
- "kubectl logs -f $NAME -n $NAMESPACE --context $CONTEXT | gonzo --ai-model=gpt-4"
|
|