Skip to content

mycrEEpy/kube-debug

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

kube-debug

OCI image for debugging Kubernetes pods.

Usage

kubectl

kubectl debug -it --image=ghcr.io/mycreepy/kube-debug:latest --profile=restricted --namespace=[NAMESPACE] --target=[CONTAINER] [POD]

k9s

plugins:
  debug:
    shortCut: Shift-D
    description: Debug
    scopes:
      - containers
    command: bash
    background: false
    args:
      - -c
      - 'kubectl debug -it --image=ghcr.io/mycreepy/kube-debug:latest --profile=restricted --context=$CONTEXT --namespace=$NAMESPACE --target=$NAME $POD'