Merge "[ceph-osd] Mount /var/crash inside ceph-osd pods"

This commit is contained in:
Zuul 2021-07-27 15:40:59 +00:00 committed by Gerrit Code Review
commit 5e20097998
3 changed files with 15 additions and 1 deletions

View File

@ -15,6 +15,6 @@ apiVersion: v1
appVersion: v1.0.0
description: OpenStack-Helm Ceph OSD
name: ceph-osd
version: 0.1.25
version: 0.1.26
home: https://github.com/ceph/ceph
...

View File

@ -136,6 +136,9 @@ spec:
- name: pod-var-lib-ceph-tmp
mountPath: /var/lib/ceph/tmp
readOnly: false
- name: pod-var-crash
mountPath: /var/crash
readOnly: false
- name: ceph-log-ownership
{{ tuple $envAll "ceph_osd" | include "helm-toolkit.snippets.image" | indent 10 }}
{{ dict "envAll" $envAll "application" "osd" "container" "ceph_log_ownership" | include "helm-toolkit.snippets.kubernetes_container_security_context" | indent 10 }}
@ -278,6 +281,9 @@ spec:
- name: pod-var-log
mountPath: /var/log/ceph
readOnly: false
- name: pod-var-crash
mountPath: /var/crash
readOnly: false
containers:
- name: log-runner
{{ tuple $envAll "ceph_osd" | include "helm-toolkit.snippets.image" | indent 10 }}
@ -441,6 +447,9 @@ spec:
- name: pod-var-log
mountPath: /var/log/ceph
readOnly: false
- name: pod-var-crash
mountPath: /var/crash
readOnly: false
volumes:
- name: pod-tmp
emptyDir: {}
@ -472,6 +481,10 @@ spec:
hostPath:
path: /var/lib/openstack-helm/ceph/var-tmp
type: DirectoryOrCreate
- name: pod-var-crash
hostPath:
path: /var/crash
type: DirectoryOrCreate
- name: pod-var-log
emptyDir: {}
- name: ceph-osd-bin

View File

@ -26,4 +26,5 @@ ceph-osd:
- 0.1.23 Use full image ref for docker official images
- 0.1.24 Ceph OSD Init Improvements
- 0.1.25 Export crash dumps when Ceph daemons crash
- 0.1.26 Mount /var/crash inside ceph-osd pods
...