Browse Source

Add a toleration in ceph-pools-audit

CMK will check worker has the taint "cmk=true:NoSchedule" after assign
application-isolated cores on Applications. Current ceph-pools-audit
Cron job does not allow pod to be scheduled when this taint is applied.
It is observed one ceph-pools-audit pod is pending because it can not
tolerate {cmk:true} taint on AIO-SX. Add toleration support for
ceph-pools-audit so that a helm override can be provided to allow job
scheduling when CMK is installed.

Closes-Bug: 1934006
Signed-off-by: Yvonne Ding <yvonne.ding@windriver.com>
Change-Id: I57462ac5d4ce700dbd89dd7569101834e0f0c83d
changes/37/798737/5
Yvonne Ding 3 months ago
parent
commit
10051cce95
  1. 4
      stx-platform-helm/stx-platform-helm/helm-charts/ceph-pools-audit/templates/job-ceph-pools-audit.yaml

4
stx-platform-helm/stx-platform-helm/helm-charts/ceph-pools-audit/templates/job-ceph-pools-audit.yaml

@ -48,6 +48,10 @@ spec:
restartPolicy: OnFailure
nodeSelector:
{{ .Values.labels.job.node_selector_key }}: {{ .Values.labels.job.node_selector_value }}
{{- with .Values.tolerations }}
tolerations:
{{ toYaml . | indent 12 }}
{{- end }}
volumes:
- name: ceph-pools-bin
configMap:

Loading…
Cancel
Save