Skip to content

Commit

Permalink
feat: add duplik8s plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
Telemaco019 committed Jul 1, 2024
1 parent 626bde1 commit a97b912
Showing 1 changed file with 50 additions and 0 deletions.
50 changes: 50 additions & 0 deletions plugins/duplik8s.yaml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit a97b912

Please sign in to comment.