k9s/plugins
tyzbit 906138181e
fix(misc plugins): split up multiline commands, use less -K everywhere (#2348)
`less -K` makes ctrl+c work with `less`.

When running commands in k9s that use less, sometimes the command doesn't ever return or the user doesn't wait for it to finish. Issuing ctrl+c to a command with a simple `| less` puts k9s into an unfixable state, requiring restarting because `less` never quits. With `less -K`, ctrl+c quits `less` and the user should always be returned to a working `k9s` session.

I also used multiline strings in a few places which improve readability and remove the need for double quotes in many places as many commands had gotten long.
2023-12-18 08:31:38 -07:00
..
kubectl Merge pull request #619 from Flare576/master 2020-05-23 11:46:55 -06:00
kubectl-plugins handling non json lines as raw with red color 2020-11-30 09:45:37 +01:00
README.md README.md: fix typo in netshoot URL (#2278) 2023-11-09 17:11:46 -07:00
carvel.yml fix(misc plugins): split up multiline commands, use less -K everywhere (#2348) 2023-12-18 08:31:38 -07:00
crossplane.yml fix(misc plugins): split up multiline commands, use less -K everywhere (#2348) 2023-12-18 08:31:38 -07:00
debug-container.yml feat: plugin for adding an ephemeral debug container (#2147) 2023-07-12 08:14:05 -06:00
dive.yml Update readme and examples 2020-05-01 22:26:08 +02:00
flux.yml fix(misc plugins): split up multiline commands, use less -K everywhere (#2348) 2023-12-18 08:31:38 -07:00
get-all.yml fix(misc plugins): split up multiline commands, use less -K everywhere (#2348) 2023-12-18 08:31:38 -07:00
helm-default-values.yml fix(misc plugins): split up multiline commands, use less -K everywhere (#2348) 2023-12-18 08:31:38 -07:00
helm-purge.yml feat(helm): add helm purge plugin 2020-03-12 16:03:47 -05:00
helm_values.yml fix(misc plugins): split up multiline commands, use less -K everywhere (#2348) 2023-12-18 08:31:38 -07:00
job_suspend.yml Update readme and examples 2020-05-01 22:26:08 +02:00
k3d_root_shell.yml Plugin for opening a root shell to k3d containter (#1709) 2022-09-18 08:08:38 -06:00
log_full.yml Add support for using custom kubeconfig with log_full plugin (#2014) 2023-11-12 11:37:01 -07:00
log_jq.yml Update readme and examples 2020-05-01 22:26:08 +02:00
log_stern.yml fix: fix outdated stern links (#1990) 2023-03-16 14:16:31 -06:00
rm-ns.yml added flux suspended resources retrieval plugin (#1584) 2023-11-12 11:59:01 -07:00
schema.json docs: add plugin.yml JSON schema (#2235) 2023-10-08 08:09:20 -06:00
watch_events.yml Add plugin examples for `helm get values` and `kubectl get events` (#1288) 2021-11-20 12:34:15 -07:00

README.md

K9s community plugins

K9s plugins extend the tool to provide additional functionality via actions to further help you observe or administer your Kubernetes clusters.

Following is an example of some of plugin files in this directory. Other files are not listed in this table.

Plugin-Name Description Available on Views Shortcut Kubectl plugin, external dependencies
debug-container.yml Add ephemeral debug container
(nicolaka/netshoot)
containers Shift-d
dive.yml Dive image layers containers d Dive
get-all.yml get all resources in a namespace all g Krew, ketall
job_suspend.yml Suspends a running cronjob cronjobs Ctrl-s
k3d_root_shell.yml Root shell to k3d container containers Shift-s jq
log_stern.yml View resource logs using stern pods Ctrl-l
log_jq.yml View resource logs using jq pods Ctrl-j kubectl-plugins/kubectl-jq
log_full.yml get full logs from pod/container pods/containers Ctrl-l