Share volume within capsule
Bug #1787855 reported by
hongbin
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Zun |
Fix Released
|
High
|
hongbin |
Bug Description
Create a capsule with a Cinder volume and two containers. The Cinder volume should be able to mounted into both containers. In other words, the following capsule should work:
$ cat capsule.yaml
capsuleVersion: beta
kind: capsule
metadata:
name: init-demo
spec:
restartPolicy: Never
containers:
- image: cirros
command:
- ls
- /workdir/
volumeMounts:
- name: workdir
mountPath: /workdir
- image: cirros
command:
- touch
- /workdir/hello
volumeMounts:
- name: workdir
mountPath: /workdir
volumes:
- name: workdir
cinder:
size: 1
Changed in zun: | |
importance: | Undecided → High |
status: | New → Triaged |
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/593482
Review: https:/