Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- apiVersion: v1
- kind: Pod
- metadata:
- name: volpod
- spec:
- volumes:
- - name: data
- persistentVolumeClaim:
- claimName: pvc1
- containers:
- - name: ubuntu-ctr
- image: ubuntu:latest
- command:
- - /bin/bash
- - "-c"
- - "sleep 60m"
- imagePullPolicy: IfNotPresent
- volumeMounts:
- - mountPath: "/data"
- name: data
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement