Ceph: Update log directory host mount path
This updates the ceph-mon and ceph-osd charts to use the release name for the hostpath defined for mounting the /var/log/ceph directories to. This gives us a mechanism for creating unique log directories for multiple releases of the same chart without the need for specifying an override for each deployment of that chart Change-Id: Ie6e05b99c32f24440fbade02d59c7bb14d8aa4c8
This commit is contained in:
parent
6ef48d3706
commit
45da8c2b69
@ -218,7 +218,7 @@ spec:
|
||||
volumes:
|
||||
- name: pod-var-log
|
||||
hostPath:
|
||||
path: {{ .Values.conf.storage.mon.log_directory }}
|
||||
path: {{ print "/var/log/ceph/" $envAll.Release.Name }}
|
||||
- name: ceph-mon-bin
|
||||
configMap:
|
||||
name: ceph-mon-bin
|
||||
|
@ -182,7 +182,6 @@ conf:
|
||||
storage:
|
||||
mon:
|
||||
directory: /var/lib/openstack-helm/ceph/mon
|
||||
log_directory: /var/log/ceph
|
||||
|
||||
dependencies:
|
||||
dynamic:
|
||||
|
@ -261,7 +261,7 @@ spec:
|
||||
emptyDir: {}
|
||||
- name: pod-var-log
|
||||
hostPath:
|
||||
path: {{ .Values.conf.storage.osd_log_directory }}
|
||||
path: {{ print "/var/log/ceph/" $envAll.Release.Name }}
|
||||
- name: pod-run
|
||||
emptyDir:
|
||||
medium: "Memory"
|
||||
|
@ -107,7 +107,6 @@ 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:
|
||||
|
Loading…
Reference in New Issue
Block a user