feat: add duplik8s plugin (#2771)

Signed-off-by: Michele Zanotti <m.zanotti019@gmail.com>
mine
Michele Zanotti 2024-08-16 01:54:55 +02:00 committed by GitHub
parent 2a1f4e13b2
commit 8e506b66d9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 50 additions and 0 deletions

50
plugins/duplik8s.yaml Normal file
View File

@ -0,0 +1,50 @@
# Duplicate Pods, Deployments and StatefulSet for easy debugging
# and troubleshooting.
#
# See https://github.com/Telemaco019/duplik8s
plugins:
duplicate-pod:
shortCut: Ctrl-T
description: Duplicate Pod
scopes:
- po
command: kubectl
background: true
args:
- duplicate
- pod
- $NAME
- -n
- $NAMESPACE
- --context
- $CONTEXT
duplicate-deployment:
shortCut: Ctrl-T
description: Duplicate Deployment
scopes:
- deploy
command: kubectl
background: true
args:
- duplicate
- deploy
- $NAME
- -n
- $NAMESPACE
- --context
- $CONTEXT
duplicate-statefulset:
shortCut: Ctrl-T
description: Duplicate StatefulSet
scopes:
- statefulset
command: kubectl
background: true
args:
- duplicate
- statefulset
- $NAME
- -n
- $NAMESPACE
- --context
- $CONTEXT