ensure ceph storage is persistent

This commit is contained in:
Alan Meadows 2016-11-30 14:13:11 -08:00
parent 877e0cd46f
commit 1aa1aa70e4
2 changed files with 8 additions and 6 deletions

View File

@ -20,9 +20,8 @@ spec:
hostPath:
path: /dev
- name: ceph
emptyDir: {}
# hostPath:
# path: /opt/ceph
hostPath:
path: {{ .Values.storage.var_directory }}
- name: ceph-conf
secret:
secretName: ceph-conf-combined
@ -36,9 +35,8 @@ spec:
secret:
secretName: ceph-bootstrap-rgw-keyring
- name: osd-directory
emptyDir: {}
# hostPath:
# path: /home/core/data/ceph/osd
hostPath:
path: {{ .Values.storage.osd_directory }}
containers:
- name: osd-pod
image: {{ .Values.images.daemon }}

View File

@ -20,3 +20,7 @@ network:
mon: 6789
rgw_ingress: 80
rgw_target: 8088
storage:
osd_directory: /var/lib/aic-helm/ceph/osd
var_directory: /var/lib/aic-helm/ceph/ceph