Merge "ceph: make log directory configurable"

This commit is contained in:
Zuul 2018-10-26 02:41:15 +00:00 committed by Gerrit Code Review
commit 1ca39def84
4 changed files with 4 additions and 2 deletions

View File

@ -218,7 +218,7 @@ spec:
volumes:
- name: pod-var-log
hostPath:
path: /var/log/ceph
path: {{ .Values.conf.storage.mon.log_directory }}
- name: ceph-mon-bin
configMap:
name: ceph-mon-bin

View File

@ -179,6 +179,7 @@ conf:
storage:
mon:
directory: /var/lib/openstack-helm/ceph/mon
log_directory: /var/log/ceph
dependencies:
dynamic:

View File

@ -261,7 +261,7 @@ spec:
emptyDir: {}
- name: pod-var-log
hostPath:
path: /var/log/ceph
path: {{ .Values.conf.storage.osd_log_directory }}
- name: pod-run
emptyDir:
medium: "Memory"

View File

@ -104,6 +104,7 @@ conf:
osd_mount_options_xfs: "rw,noatime,largeio,inode64,swalloc,logbufs=8,logbsize=256k,allocsize=4M"
storage:
osd_log_directory: /var/log/ceph
# NOTE(portdirect): for homogeneous clusters the `osd` key can be used to
# define OSD pods that will be deployed across the cluster.
osd: