Skip to content

Commit

Permalink
feat: add duplik8s plugin (#2771)
Browse files Browse the repository at this point in the history
Signed-off-by: Michele Zanotti <[email protected]>
  • Loading branch information
Telemaco019 authored Aug 15, 2024
1 parent 2a1f4e1 commit 8e506b6
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 8e506b6

Please sign in to comment.