Commit Graph

41 Commits (90a810ffc2ec5d5460ae4f43325e295f158dec65)

Author SHA1 Message Date
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
Guillaume Berche c1e16e338a
feat: plugin for adding an ephemeral debug container (#2147)
* docs: refactor plugins table

* feat: plugin for adding an ephemeral debug container

Uses https://github.com/nicolaka/netshoot container
2023-07-12 08:14:05 -06:00
Jan Dittrich e8955ea9fc
Add get-all plugin specific for namespace view (#2091) 2023-05-28 07:24:47 -06:00
Alex Barbato 8af2bea737
Update carvel.yml to include contexts (#2103)
Adding context to the example carvel file
2023-05-28 07:03:30 -06:00
Howie Zhao 6b93085b61
fix: fix outdated stern links (#1990) 2023-03-16 14:16:31 -06:00
linehrr 8e5b5ceebd
added full logs viewing (#2002)
Changes to be committed:
	modified:   README.md
	new file:   log_full.yml

Co-authored-by: Ryne Yang <ryneyang@acuityads.com>
2023-03-16 14:08:30 -06:00
Guillaume Berche 871a52d8d0
Plugin support for carvel kapp CR (#1830)
* Plugin support for carvel kapp CR

Shortcuts to call carvel kctrl cli

See https://carvel.dev/kapp-controller/docs/develop/management-command/#app

* Update carvel.yml
2022-10-30 07:04:15 -06:00
Guillaume Berche 61f7534612
flux.yml plugin now displays stderr messages (#1829)
Stderr were previously not piped into less
2022-10-30 07:03:39 -06:00
iserpent ea18aec512
Plugin for opening a root shell to k3d containter (#1709)
* Plugin for opening a root shell to k3d containter

* Add namespace and context to kubectl call

Co-authored-by: Igor Iatsenko <igor.iatsenko@here.com>
2022-09-18 08:08:38 -06:00
Roman Kuznetsov 638d7d4442
Fix flux plugin to properly handle trace (#1753)
@kuznero Thank you!
2022-09-18 07:08:22 -06:00
fragolinux 838174a0cc
plugin to allow default chart values retrieval (#1539)
@fragolinux Thank you for this update!
2022-05-19 09:13:52 -06:00
RichieSams 309465e2b6
Fix the flux plugin to use the context of the currently running instance (#1366)
Rather than the default context.

This means if you run k9s --context XXX, any flux commands run by the plugin will run on the correct context
2022-01-24 17:07:12 -07:00
Guillaume Berche 08ee61a298
Add flux trace shortcut to flux plugin (#1356)
* Add flux trace shortcut to flux plugin

Implementation notes: $RESOURCE_NAME is exported in plural form (e.g. cronjobs, pods) so the script trims the trailing s if any.

* Generalize to support other resource name plural forms

such as Ingresses
2021-12-13 12:33:00 -07:00
Danny Rich f4007fa0ce
Add plugin examples for `helm get values` and `kubectl get events` (#1288)
* Create helm_values.yml

* Create watch_events.yml
2021-11-20 12:34:15 -07:00
fragolinux 66bce23f42
add support for flux reconcile/suspend/resume (#1125)
# Shift-T (with confirmation) to toggle helm releases or kustomizations suspend and resume
# Shift-R (no confirmation) to reconcile a git source or a helm release or a kustomization
2021-07-24 08:22:46 -06:00
Josh Soref a07243dbb0
Spelling (#1089)
* spelling: a hex

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: accepted

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: actions

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: additional

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: assertions

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: assessments

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: betta'

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: [br]eaking [ba]d

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: change

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: changed

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: childnodes

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: cleared

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: clusterrole

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: collection

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: columns

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: configuration

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: confirm

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: consensus

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: crumbs

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: ctrl

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: ctx

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: debugging

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: deltas

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: deprecated

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: describable

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: disturbance

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: disturbances

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: efforts

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: excitement

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: filter

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: forward

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: forwarding

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: fqn

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: fullscreen

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: grab

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: graphable

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: groups if

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: homebrew

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: hopeful

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: impatient

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: initialized

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: initially

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: is a

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: job runner

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: kubectl

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: kubernetes

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: latest

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: list

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: makusi

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: menu

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: mnemonic

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: nice

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: nominally

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: nonexistent

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: original

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: outputs

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: override

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: parens

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: preceded

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: preliminary

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: process

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: prozac

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: purpose

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: rbac

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: repeatedly

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: replenishing

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: resource

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: returns

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: right

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: row event

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: rpi

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: salient

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: seemingly

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: separator

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: shas

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: shortcut

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: shortcuts

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: solidify

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: sponsorship

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: superfluous

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: support

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: target's

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: threshold

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: times out

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: tripping

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: unanimous (?)

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: upgrade

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: using

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: views

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: vulnerability

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: will launch

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
2021-04-27 07:51:33 -06:00
Gergely Tankovics 02bda720c0 handling non json lines as raw with red color 2020-11-30 09:45:37 +01:00
Jeroen Lanckmans 79c43dc478 Add plugin example to list all resources in a namespace 2020-06-16 20:25:17 +02:00
Fernand Galiana 99ad32ba98
Merge pull request #619 from Flare576/master
feat(helm): add helm purge plugin
2020-05-23 11:46:55 -06:00
David Němec 2c79dcfda8
Update readme and examples 2020-05-01 22:26:08 +02:00
Tobias Germer 87a101b5e8
Add dive plugin to README 2020-04-19 23:51:38 +02:00
Tobias Germer e7409b4ce3
Add dive to plugins 2020-04-19 23:47:42 +02:00
derailed 2e05367256 changed plugin col references. Bugz #616 #615 #614 2020-03-13 00:24:04 -06:00
Flare576 cc19f6da7e feat(helm): add helm purge plugin
Add plugin yaml and kubectl plugin

618
2020-03-12 16:03:47 -05:00
derailed 355f4ce396 checkpoint 2020-02-19 18:25:36 -07:00
derailed f1ef8d216c enable port-forwards on pods and services 2020-02-13 12:31:30 -07:00