Skip to content

Latest commit

 

History

History
27 lines (21 loc) · 553 Bytes

README.md

File metadata and controls

27 lines (21 loc) · 553 Bytes

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'