Commit Graph

75 Commits (bc22b8705304b86c2f4c417a088accdfed13fdf8)

Author SHA1 Message Date
lorenzboguhn 39eef03373
Extend the argocd plugin by refresh and en/dis-abling of app sync (#3142)
* Extend the argocd plugin by refresh and en/dis-abling of app sync

* Add argocd plugin to plugins readme

---------

Co-authored-by: Lorenz Boguhn <Lorenz.Boguhn@ppi.de>
2025-03-11 23:37:47 -06:00
Peter Denham 5e05221a26
Feat: Add plugin support for parsing logs with bunyan cli #3153 (#3152)
* Create log-bunyan.yaml

* Update log-bunyan.yaml

* Add bunyan to readme

* Add install link for bunyan

* fix plugin names

* update available views
2025-03-11 17:55:39 -06:00
Robin Schneider 0320ba387b
feat: add plugin to run `vector top` in vector.dev container, hotkey `h` (#3170) 2025-03-09 17:50:53 -06:00
lorenzboguhn 1e9f85dd15
Add externalsecrets plugin (#3143)
* Add externalsecrets plugin

* Adjust externalsecrets descriptions and formatting

---------

Co-authored-by: Lorenz Boguhn <Lorenz.Boguhn@ppi.de>
2025-02-28 17:50:59 -07:00
Sławek Piotrowski 33d592deb4
Log in as root to the node. (#3094)
This executes simple container in host IPC, network and PID space.
Then is uses nsenter to switch other namespaces and execute BASH.
2025-02-15 17:02:47 -07:00
Zadkiel AHARONIAN de9a118d43
feat: use kubectl events for plugin `watch-events` (#3062) 2025-01-19 10:20:59 -07:00
Alexandre Veyrenc 4f78ab77ec
Fix Flux trace plugin command (#3041) 2025-01-12 08:41:12 -07:00
bluesky6529 520e96a2ae
feat: add helm diff plugin (#3017)
* feat: add helm diff plugin

* feat: Add helm-diff to plugin readme and sort items alphabetically

* chore: Adjust plugin README format
2025-01-06 10:01:32 -07:00
Nathan Baulch 420a53317e
Fix typos (#3026) 2024-12-16 09:09:22 -07:00
davefu113 7230fdbb33
fix(argo-rollouts plugin): resolve improper piping in watch command (#3009)
The `-w` or `--watch` flag is designed for continuous monitoring
and should not pipe to `less` to avoid unnecessary screen rolling.
2024-12-07 08:32:14 -07:00
Guilherme Bravi afa27f3899
feat: change to crossplane cli & add crossplane-watch (#2985) 2024-11-28 10:42:36 -07:00
Florian Geyer fd439bd8de
Bump version of netshoot image in debug-container plugin (#2996)
Latest version of netshoot image is 0.13, see https://github.com/nicolaka/netshoot/pkgs/container/netshoot/216758080?tag=v0.13
and https://hub.docker.com/layers/nicolaka/netshoot/v0.13/images/sha256-5a21d467fed653554bdc483ca5e7e866805c5b4c8f7ecb195a43f778c8d02fb8?context=explore.
2024-11-28 10:41:15 -07:00
Qasim Sarfraz 1c388066c0
plugin/trace-dns: Trace DNS requests using Inspektor Gadget (#2986)
Signed-off-by: Qasim Sarfraz <qasimsarfraz@microsoft.com>
2024-11-28 10:40:58 -07:00
David Mealo baa4ea5397
Adding Argo Rollouts plugin version for PowerShell (#2937)
* Update argo-rollouts.yaml with commented version for PowerShell

* Update argo-rollouts.yaml

* Moving Plugin - Argo Rollouts for Powershell - to separate file
2024-11-03 08:23:12 -07:00
thbits 12ea38a701
Adding eks-node-viewer plugin (#2914)
Co-authored-by: tomhalo <tom.halo@glassbox.com>
2024-10-30 07:40:21 -06:00
Jonas Badstübner a95c8b9585
chore(plugins,remove-finalizers): make sure the resources api group is respected (#2926)
I had an issue where RabbitMQ created a CRD called `policies`, but
Kyverno also did and the finalizer removal did not hit the RabbitMQ CRD.
2024-10-30 07:39:02 -06:00
fragolinux 88547dcc81
fixed conflicting plugin shortcuts, and added 2 new plugins (#2930)
* 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
2024-10-27 18:20:53 -06:00
xfrancois 47f92199c5
fix: add kubeconfig if k9s is launched with --kubeconfig (#2932) 2024-10-27 11:48:47 -06:00
Samuel Kopecký f139a5700d
feat(2896): Add toggle keda plugin (#2897)
* feat(2896): Add toggle keda plugin

Also update formating of plugins readme table and fix links

Signed-off-by: SamoKopecky <sano.kopecky@gmail.com>

* chore: Fix table formating

Signed-off-by: SamoKopecky <sano.kopecky@gmail.com>

---------

Signed-off-by: SamoKopecky <sano.kopecky@gmail.com>
2024-10-14 09:17:20 -06:00
Eitan Nargassi 42bc8fcaac
Add argocd plugin (#2898) 2024-10-14 09:16:26 -06:00
Brian Dols 37a5f05d17
Loki plugin (#2755)
* plugin for loki logs

* typo

* COL-NAME -> NAME
2024-08-15 18:12:09 -06:00
Michele Zanotti 8e506b66d9
feat: add duplik8s plugin (#2771)
Signed-off-by: Michele Zanotti <m.zanotti019@gmail.com>
2024-08-15 17:54:55 -06:00
Guillaume Berche 2a1f4e13b2
Update helm-purge.yaml (#2787)
* Update helm-purge.yaml

Document prereq to install https://github.com/robertsmieja/kubectl-purge in order for kubectl purge

Otherwise fails with 
> $ kubectl purge
> error: unknown command "purge" for "kubectl"

* Update helm-purge.yaml
2024-08-15 17:53:35 -06:00
Guillaume Berche a6e7b655bf
Create kubectl-get-in-shell.yaml (#2789)
* Create kubectl-get-in-shell.yaml

Provide a way to continue working on the currently selected object in a new shell without doing lengthy copy/pastes

* Update kubectl-get-in-shell.yaml

Refine comment
2024-08-15 17:50:57 -06:00
Alfonso Cobo Canela 9e7b8236df
add new plugin current-ctx-terminal (#2795)
Co-authored-by: acobo <acobo@opensistemas.com>
2024-08-15 17:46:32 -06:00
Jacob Salway 6096bfa0f9
Add a spark-operator plugin (#2821) 2024-08-15 17:10:47 -06:00
Pavan Gudiwada e7ddea63ef
Adding HolmesGPT plugin (#2822)
* Adding HolmesGPT plugin

* Updated to use a temporary file
2024-08-15 17:09:44 -06:00
Luca Mattiello 0afea245b7
feat: Add plugins for argo-rollouts (#2711)
Signed-off-by: Luca Mattiello <github@matluca.com>
2024-05-25 09:33:11 -06:00
Martin Montes 2ff050b7f8
Added cert-manager and openssl plugins. (#2699)
Signed-off-by: Martin Montes <martin11lrx@gmail.com>
2024-05-18 08:45:02 -06:00
Robin Schneider a0c03703b1
fix: do not hard-code path to kubectl in jq plugin (#2678) 2024-05-03 07:32:00 -06:00
Fernand Galiana d3027c8f29 K9s/release v0.32.4 (#2637)
* [Bug] fix #2605

* [Bug] fix #2604

* [Bug] fix #2592

* [Bug] fix #2608

* [Bug] Fix #2612

* Rel v0.32.4
2024-03-20 13:14:37 -06:00
ffais 82ba6f9f37
Added context to the debug command for debug-container plugin (#2554)
* fix: debug-container plugin added context to debug command

Signed-off-by: ffais <ffais@fbk.eu>

* fix: debug-container plugin upgrade netshoot version

Signed-off-by: ffais <ffais@fbk.eu>

---------

Signed-off-by: ffais <ffais@fbk.eu>
2024-02-29 08:05:15 -07:00
Pierce Staab dae2590e0f
Update flux plugin to handle inactive context (#2542)
* Update flux.yaml

* Update flux.yaml
2024-02-21 17:53:35 -07:00
Rabin Yasharzadehe 9ca46ab027
Add liveMigration example to plugins (#2522) 2024-02-07 09:17:22 -07:00
Fernand Galiana 6cc4374e83
K9s/release v0.31.0 (#2440)
* cleaning up

* [Bug] Fix #2425 - no context skin issue

* [Bug] Fix #2428

* [Feat] schema validation

* v0.31.0 Release notes
2024-01-08 18:30:49 -07:00
Alex Barbato a19fabd885
Update carvel plugin kick to shift K (#2426) 2024-01-03 23:35:36 -07:00
Pavan Gudiwada a766329083
Add support for resource recommendations using Robusta KRR (#2399)
* Adding Robusta KRR as a K9s  plugin

* Fixed file extension

* Updated details for simplicity

* Updated Author and dependency details
2024-01-02 10:33:11 -07:00
Tobias Germer cbe13e8c63
add kubectl-blame plugin (#2338)
* add kubectl-blame plugin

* add install docs & credits for kubectl-blame

* rename to plugins needed for v0.30.x
2023-12-28 10:36:34 -07:00
Jose Alvarez 8debcab3eb
Add plugin to remove finalizers (#2359)
* Add finalizer plugin

* Add explanation and authorship

* Move description and update plugin key to new k9s version
2023-12-26 14:11:12 -07:00
Fernand Galiana f0d0e62b70
K9s/release v0.30.1 (#2369)
* [Bug] Fix #2368

* [Bug] Fix #2363

* [Bug] Fix #2364

* [Bug] Fix #2366

* [Bug] Fix #2367

* Release docs + rebase fixes
2023-12-24 11:29:22 -07:00
Fernand Galiana dcec53e061
K9s/rel v0.30.0 (#2361)
* [Maint] Refactor VS col handling

* [Bug] Add helm hist <enter> values cmd

* [Bug] Add context specific skins within a given cluster config.

* [Maint] Image scan controls

* [Bug] Fix fwd+bench timestamp

* [Refact] all-ns const

* [Maint] update tabledefs from metav1beta1 to metav1

* [Feat] Introduce workload view

* [Maint] Add convenience to map out ns names

- Refactor allnamespaces

* [Cleanup] axe pegomock

* [Refact] Use gvr type vs string

* [Feat] Add blacklist scans exclusions

* [Feat] setLabels for stored commands

* [Maint] Rename api-group column

* [Refact] gvr type refactor

* [Maint] Cleaning up

* [Bug] Add ability to skin based on context

- Handles cluster spanning *contexts

* [Maint] Cleaning up

* [Feat] Cmd interpreter

* [Maint] Clean up + bug fixes

* [Feat] Changed k9s config loader

> NOTE: !!Breaking change!!

- Make k9s config readonly
- Move writable artifacts to XDG data dir
- Move transient artifacts to XDG state dir
- Add per context skin option
- Add per context readonly option
- Consistent pluralization file names to yaml section

* [Docs] Update release and README docs

* [Maint] Rebase + cleanup

* [Maint] Normalize config extensions all yml -> yaml

* [Maint] Cleaning up + fixes
2023-12-23 14:29:55 -07:00
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
tyzbit 337ad9e402
add flux plugin image reconciliation commands (#1445) 2023-11-12 16:22:10 -07:00
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
Olivier Orand 46d4681933
Add context to get-all (#1701) 2023-11-12 11:45:05 -07:00
Jørgen Jervidalo b2775871c5
Add support for using custom kubeconfig with log_full plugin (#2014)
Support for using the log_full plugin (added in #2002) if starting k9s with a custom kubeconfig file (the `--kubeconfig` flag)
2023-11-12 11:37:01 -07:00
Clément Blaise b3029eefbd
Add crossplane plugin (#2204) 2023-11-12 10:03:47 -07:00
Jérémie Tarot b3e85e9bbc
README.md: fix typo in netshoot URL (#2278) 2023-11-09 17:11:46 -07:00
Julien Bouquillon 46b725d934
docs: add plugin.yml JSON schema (#2235) 2023-10-08 08:09:20 -06:00
Guillaume Berche 0002fef5e3
Update flux.yml with shortcuts for helm repo and oci repos (#2141) 2023-08-05 08:55:15 -06:00