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