mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-12-23 13:30:23 +00:00
16 lines
350 B
YAML
16 lines
350 B
YAML
kind: Pod
|
|
apiVersion: v1
|
|
metadata:
|
|
name: my-csi-app
|
|
spec:
|
|
containers:
|
|
- name: my-frontend
|
|
image: busybox
|
|
volumeMounts:
|
|
- mountPath: "/data"
|
|
name: my-csi-volume
|
|
command: [ "sleep", "1000000" ]
|
|
volumes:
|
|
- name: my-csi-volume
|
|
persistentVolumeClaim:
|
|
claimName: csi-pvc # defined in csi-pvs.yaml |