Allow Ceph RBD pool job to leave failed pods
This patchset will add the capability to configure the Ceph RBD pool job to leave failed pods behind for debugging purposes, if it is desired. Default is to not leave them behind, which is the current behavior. Change-Id: Ife63b73f89996d59b75ec617129818068b060d1c
This commit is contained in:
parent
734b344bf6
commit
f20eff164f
@ -15,6 +15,6 @@ apiVersion: v1
|
||||
appVersion: v1.0.0
|
||||
description: OpenStack-Helm Ceph Client
|
||||
name: ceph-client
|
||||
version: 0.1.13
|
||||
version: 0.1.14
|
||||
home: https://github.com/ceph/ceph-client
|
||||
...
|
||||
|
@ -35,7 +35,7 @@ spec:
|
||||
spec:
|
||||
{{ dict "envAll" $envAll "application" "rbd_pool" | include "helm-toolkit.snippets.kubernetes_pod_security_context" | indent 6 }}
|
||||
serviceAccountName: {{ $serviceAccountName }}
|
||||
restartPolicy: OnFailure
|
||||
restartPolicy: {{ $envAll.Values.jobs.rbd_pool.restartPolicy | quote }}
|
||||
affinity:
|
||||
{{ tuple $envAll "ceph" "rbd-pool" | include "helm-toolkit.snippets.kubernetes_pod_anti_affinity" | indent 8 }}
|
||||
nodeSelector:
|
||||
|
@ -251,6 +251,8 @@ jobs:
|
||||
# Skip new job if previous job still active
|
||||
execPolicy: Forbid
|
||||
startingDeadlineSecs: 60
|
||||
rbd_pool:
|
||||
restartPolicy: OnFailure
|
||||
|
||||
conf:
|
||||
features:
|
||||
|
@ -14,4 +14,5 @@ ceph-client:
|
||||
- 0.1.11 enhance logic to enable and disable the autoscaler
|
||||
- 0.1.12 Disable autoscaling before pools are created
|
||||
- 0.1.13 Fix ceph-client helm test
|
||||
- 0.1.14 Allow Ceph RBD pool job to leave failed pods
|
||||
...
|
||||
|
Loading…
Reference in New Issue
Block a user