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 appVersion: v1.0.0
description: OpenStack-Helm Ceph OSD description: OpenStack-Helm Ceph OSD
name: ceph-osd name: ceph-osd
version: 0.1.25 version: 0.1.26
home: https://github.com/ceph/ceph home: https://github.com/ceph/ceph
... ...

View File

@ -136,6 +136,9 @@ spec:
- name: pod-var-lib-ceph-tmp - name: pod-var-lib-ceph-tmp
mountPath: /var/lib/ceph/tmp mountPath: /var/lib/ceph/tmp
readOnly: false readOnly: false
- name: pod-var-crash
mountPath: /var/crash
readOnly: false
- name: ceph-log-ownership - name: ceph-log-ownership
{{ tuple $envAll "ceph_osd" | include "helm-toolkit.snippets.image" | indent 10 }} {{ 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 }} {{ 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 - name: pod-var-log
mountPath: /var/log/ceph mountPath: /var/log/ceph
readOnly: false readOnly: false
- name: pod-var-crash
mountPath: /var/crash
readOnly: false
containers: containers:
- name: log-runner - name: log-runner
{{ tuple $envAll "ceph_osd" | include "helm-toolkit.snippets.image" | indent 10 }} {{ tuple $envAll "ceph_osd" | include "helm-toolkit.snippets.image" | indent 10 }}
@ -441,6 +447,9 @@ spec:
- name: pod-var-log - name: pod-var-log
mountPath: /var/log/ceph mountPath: /var/log/ceph
readOnly: false readOnly: false
- name: pod-var-crash
mountPath: /var/crash
readOnly: false
volumes: volumes:
- name: pod-tmp - name: pod-tmp
emptyDir: {} emptyDir: {}
@ -472,6 +481,10 @@ spec:
hostPath: hostPath:
path: /var/lib/openstack-helm/ceph/var-tmp path: /var/lib/openstack-helm/ceph/var-tmp
type: DirectoryOrCreate type: DirectoryOrCreate
- name: pod-var-crash
hostPath:
path: /var/crash
type: DirectoryOrCreate
- name: pod-var-log - name: pod-var-log
emptyDir: {} emptyDir: {}
- name: ceph-osd-bin - 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.23 Use full image ref for docker official images
- 0.1.24 Ceph OSD Init Improvements - 0.1.24 Ceph OSD Init Improvements
- 0.1.25 Export crash dumps when Ceph daemons crash - 0.1.25 Export crash dumps when Ceph daemons crash
- 0.1.26 Mount /var/crash inside ceph-osd pods
... ...