* 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...
* Update log-full.yaml
* Update log-loki.yaml
* Update log-stern.yaml
* Update crossplane.yaml
* Update duplik8s.yaml
* Update flux.yaml
* Update log-full.yaml
* Delete plugins/rm-ns.yml
* Update and rename get_suspended.yml to get_suspended.yaml
* Delete plugins/get_suspended.yaml
|
||
|---|---|---|
| .. | ||
| kubectl | ||
| kubectl-plugins | ||
| README.md | ||
| ai-incident-investigaton.yaml | ||
| argo-rollouts.yaml | ||
| argocd.yaml | ||
| blame.yaml | ||
| carvel.yaml | ||
| cert-manager.yaml | ||
| crossplane.yaml | ||
| current-ctx-terminal.yaml | ||
| debug-container.yaml | ||
| dive.yaml | ||
| duplik8s.yaml | ||
| flux.yaml | ||
| get-all.yaml | ||
| helm-default-values.yaml | ||
| helm-purge.yaml | ||
| helm-values.yaml | ||
| job-suspend.yaml | ||
| k3d-root-shell.yaml | ||
| keda-toggle.yaml | ||
| kubectl-get-in-shell.yaml | ||
| liveMigration.yaml | ||
| log-full.yaml | ||
| log-jq.yaml | ||
| log-loki.yaml | ||
| log-stern.yaml | ||
| openssl.yaml | ||
| remove-finalizers.yaml | ||
| resource-recommendations.yaml | ||
| rm-ns.yaml | ||
| spark-operator.yaml | ||
| watch-events.yaml | ||
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 |
| resource-recommendations.yml | View recommendations for CPU/Memory requests based on historical data | deployments/daemonsets/statefulsets | Shift-k | Robusta KRR |
| 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 | |
| ai-incident-investigation.yaml | Run AI investigation on application issues to find the root cause in seconds | all | Shift-h/o | HolmesGPT |
| toggle-keda | Enable/disable keda ScaledObject autoscaler | scaledobjects | Ctrl-N |