Skip to content

Instantly share code, notes, and snippets.

@ChrisMacNaughton
Created November 2, 2018 11:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ChrisMacNaughton/b2c8f3d83a79fbc92eff86ff519c28d7 to your computer and use it in GitHub Desktop.
Save ChrisMacNaughton/b2c8f3d83a79fbc92eff86ff519c28d7 to your computer and use it in GitHub Desktop.
series: bionic
options:
default-space: &default-space "default"
cluster-space: &cluster-space "storage"
storage-space: &storage-space "client-storage"
# Ceph
osd-devices: &osd-devices /dev/bcache0
openstack-origin: &openstack-origin "cloud:bionic-rocky"
machines:
0:
series: bionic
constraints: tags=nvme
1:
series: bionic
constraints: tags=nvme
2:
series: bionic
constraints: tags=nvme
3:
series: bionic
constraints: tags=nvme
applications:
ceph-osd:
charm: cs:~openstack-charmers-next/ceph-osd
bindings:
public: *storage-space
cluster: *cluster-space
num_units: 4
options:
source: *openstack-origin
osd-devices: *osd-devices
to:
- 0
- 1
- 2
- 3
ceph-mon:
charm: cs:~openstack-charmers-next/ceph-mon
bindings:
"": *default-space
public: *storage-space
cluster: *cluster-space
num_units: 3
options:
expected-osd-count: 3
source: *openstack-origin
to:
- lxd:1
- lxd:2
- lxd:3
relations:
- [ ceph-mon, ceph-osd ]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment