Note: This document has been archived, along with all its nested docs. Please see instead How to manage a charm bundle and File '<bundle>.yaml' .
A bundle can specify the storage directives used to satisfy a charm storage declaration. Exactly the same argument as used with juju deploy
with --storage
are supported.
For a charm with storage declaration in its metadata.yaml
file:
storage:
database:
type: filesystem
location:/var/lib/mysql
logs:
type: filesystem
location:/var/log/mysql
cache:
type: filesystem
A bundle might look like:
applications:
example-charm:
charm: "cs:example-charm"
storage:
database: ebs,10G
logs: rootfs,1G
cache: tmpfs