Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add duplik8s plugin #2771

Merged
merged 1 commit into from
Aug 15, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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