# use "-" because that the fields have many items capsuleVersion: beta kind: capsule metadata: name: capsule-volume labels: foo: bar restartPolicy: always availabilityZone: nova spec: containers: - image: test command: - "/bin/bash" workDir: /root labels: app: web volumeMounts: - name: volume1 mountPath: /data1 - name: volume2 mountPath: /data2 - name: volume3 mountPath: /data3 volumes: - name: volume1 cinder: size: 3 autoRemove: True - name: volume2 cinder: volumeID: 473e4a6a-99f2-4b42-88ce-5ab03a00b756 - name: volume3 cinder: volumeID: f4246aa1-1c87-479c-a2ab-4dbaf0c3c7bb