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

View File

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