Ceph: mount mon state directory on host.
This change allows single node deployments of ceph to reboot/restart sucessfully. Change-Id: I9e8b7c5fa6c769483294071b9ed17db6e51eda1f
This commit is contained in:
parent
bc2bea5ee2
commit
0caa1fcef3
@ -53,6 +53,9 @@ spec:
|
||||
- name: pod-var-lib-ceph
|
||||
mountPath: /var/lib/ceph
|
||||
readOnly: false
|
||||
- name: mon-directory
|
||||
mountPath: /var/lib/ceph/mon
|
||||
readOnly: false
|
||||
- name: pod-run
|
||||
mountPath: /run
|
||||
readOnly: false
|
||||
@ -143,6 +146,9 @@ spec:
|
||||
- name: pod-var-lib-ceph
|
||||
mountPath: /var/lib/ceph
|
||||
readOnly: false
|
||||
- name: mon-directory
|
||||
mountPath: /var/lib/ceph/mon
|
||||
readOnly: false
|
||||
- name: pod-run
|
||||
mountPath: /run
|
||||
readOnly: false
|
||||
@ -160,6 +166,9 @@ spec:
|
||||
- name: pod-run
|
||||
emptyDir:
|
||||
medium: "Memory"
|
||||
- name: mon-directory
|
||||
hostPath:
|
||||
path: {{ .Values.ceph.storage.mon_directory }}
|
||||
- name: ceph-client-admin-keyring
|
||||
secret:
|
||||
secretName: {{ .Values.secrets.keyrings.admin }}
|
||||
|
Loading…
Reference in New Issue
Block a user