Skip to content

Instantly share code, notes, and snippets.

@tomlinton
Created July 4, 2019 23:39
Show Gist options
  • Save tomlinton/e48d8b9c55b9d62cab618896c8e611b0 to your computer and use it in GitHub Desktop.
Save tomlinton/e48d8b9c55b9d62cab618896c8e611b0 to your computer and use it in GitHub Desktop.
# debug-volume.yaml
kind: Pod
apiVersion: v1
metadata:
name: volume-debugger
spec:
volumes:
- name: volume-to-debug
persistentVolumeClaim:
claimName: <pvc_claim_name>
containers:
- name: debugger
image: busybox
command: ['sleep', '3600']
volumeMounts:
- mountPath: "/data"
name: data
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment