[ceph-osd] Mount /var/crash inside ceph-osd pods
This change adds /var/crash as a host-path volume mount for ceph-osd pods in order to facilitate core dump capture when ceph-osd daemons crash. Change-Id: Ie517c64e08b11504f71d7d570394fbdb2ac8e54e
This commit is contained in:
parent
2c1a7b772b
commit
c2ca599923
@ -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
|
||||
...
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
...
|
||||
|
Loading…
Reference in New Issue
Block a user