Skip to content

Instantly share code, notes, and snippets.

@alazycoder101
Created October 23, 2021 09:12
Show Gist options
  • Save alazycoder101/cb31019b6c0ccfa1096ca07e74565d98 to your computer and use it in GitHub Desktop.
Save alazycoder101/cb31019b6c0ccfa1096ca07e74565d98 to your computer and use it in GitHub Desktop.
busybox pod to debug
# debugger.yaml
kind: Pod
apiVersion: v1
metadata:
name: toolkit
spec:
volumes:
- name: volume-to-debug
persistentVolumeClaim:
claimName: postgres-data-0
containers:
- name: debugger
image: busybox
command: ['sleep', '7200']
volumeMounts:
- mountPath: "/data"
name: volume-to-debug
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment