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
mine
parent
47f92199c5
commit
88547dcc81
|
|
@ -1,7 +1,7 @@
|
|||
plugins:
|
||||
# List all the resources managed by a Composite Resource
|
||||
kube-lineage:
|
||||
shortCut: Ctrl-X
|
||||
shortCut: Ctrl-U
|
||||
confirm: false
|
||||
description: "Kube Lineage"
|
||||
scopes:
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
# See https://github.com/Telemaco019/duplik8s
|
||||
plugins:
|
||||
duplicate-pod:
|
||||
shortCut: Ctrl-T
|
||||
shortCut: Ctrl-B
|
||||
description: Duplicate Pod
|
||||
scopes:
|
||||
- po
|
||||
|
|
|
|||
|
|
@ -152,7 +152,7 @@ plugins:
|
|||
-n $NAMESPACE $NAME
|
||||
| less -K
|
||||
trace:
|
||||
shortCut: Shift-A
|
||||
shortCut: Shift-P
|
||||
confirm: false
|
||||
description: Flux trace
|
||||
scopes:
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
plugins:
|
||||
# See https://k9scli.io/topics/plugins/
|
||||
raw-logs-follow:
|
||||
shortCut: Ctrl-L
|
||||
shortCut: Ctrl-G
|
||||
description: logs -f
|
||||
scopes:
|
||||
- po
|
||||
|
|
@ -18,7 +18,7 @@ plugins:
|
|||
- --kubeconfig
|
||||
- $KUBECONFIG
|
||||
log-less:
|
||||
shortCut: Shift-L
|
||||
shortCut: Shift-K
|
||||
description: "logs|less"
|
||||
scopes:
|
||||
- po
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@ plugins:
|
|||
- "{ namespace = \"$NAMESPACE\", pod = \"$POD\", container = \"$NAME\" }"
|
||||
- -f
|
||||
loki-container-raw:
|
||||
shortCut: Ctrl-L
|
||||
shortCut: Ctrl-E
|
||||
description: "loki raw"
|
||||
scopes:
|
||||
- containers
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
plugins:
|
||||
# Leverage stern (https://github.com/stern/stern) to output logs.
|
||||
stern:
|
||||
shortCut: Ctrl-L
|
||||
shortCut: Ctrl-Y
|
||||
confirm: false
|
||||
description: "Logs <Stern>"
|
||||
scopes:
|
||||
|
|
|
|||
Loading…
Reference in New Issue