k9s/plugins
fragolinux 91de8e1182
added flux suspended resources retrieval plugin (#1584)
* added flux suspended resources retrieval plugin

using this plugin, you can press Shift-S in "kustomizations" and "helmreleases" k9s sections to get a list of all suspended resources... a temporary patch till k9s will allow custom columns based on .spec in its views...

* Create rm-ns.yml

to test: create an "undeletable" namespace, with wrong finalizers:

```
apiVersion: v1
kind: Namespace
metadata:
  name: test
spec:
  finalizers:
    - foregroundDeletion
```

apply to cluster: `kubectl create -f test.yaml`

go in NS view in k9s, then select the test NS and press CTRL-D to delete it... it will stay in terminating state, because of the finalizers... now press "n", and confirm, to remove the finalizers... the NS should now be gone...

do NOT run on the "all+" ns, it will crash k9s...
2023-11-12 11:59:01 -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 Update carvel.yml to include contexts (#2103) 2023-05-28 07:03:30 -06:00
crossplane.yml Add crossplane plugin (#2204) 2023-11-12 10:03:47 -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 Update flux.yml with shortcuts for helm repo and oci repos (#2141) 2023-08-05 08:55:15 -06:00
get-all.yml Add context to get-all (#1701) 2023-11-12 11:45:05 -07:00
get_suspended.yml added flux suspended resources retrieval plugin (#1584) 2023-11-12 11:59:01 -07:00
helm-default-values.yml plugin to allow default chart values retrieval (#1539) 2022-05-19 09:13:52 -06:00
helm-purge.yml feat(helm): add helm purge plugin 2020-03-12 16:03:47 -05:00
helm_values.yml Add plugin examples for `helm get values` and `kubectl get events` (#1288) 2021-11-20 12:34:15 -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