This is an automated email from the ASF dual-hosted git repository.
adoroszlai pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/ozone-helm-charts.git
The following commit(s) were added to refs/heads/main by this push:
new da8ae37 HDDS-15904. Add affinity and tolerations support to
om-decommission and om-leader-transfer jobs (#46)
da8ae37 is described below
commit da8ae37cedda7b394469d0036194be28a530c9a3
Author: Denis Krivenko <[email protected]>
AuthorDate: Sun Jul 19 09:21:06 2026 +0200
HDDS-15904. Add affinity and tolerations support to om-decommission and
om-leader-transfer jobs (#46)
---
charts/ozone/templates/helm/om-decommission-job.yaml | 6 ++++++
charts/ozone/templates/helm/om-leader-transfer-job.yaml | 6 ++++++
2 files changed, 12 insertions(+)
diff --git a/charts/ozone/templates/helm/om-decommission-job.yaml
b/charts/ozone/templates/helm/om-decommission-job.yaml
index e2ce3e5..b47c46c 100644
--- a/charts/ozone/templates/helm/om-decommission-job.yaml
+++ b/charts/ozone/templates/helm/om-decommission-job.yaml
@@ -85,6 +85,12 @@ spec:
{{- with $nodeSelector }}
nodeSelector: {{- toYaml . | nindent 8 }}
{{- end }}
+ {{- with $affinity }}
+ affinity: {{- toYaml . | nindent 8 }}
+ {{- end }}
+ {{- with $tolerations }}
+ tolerations: {{- toYaml . | nindent 8 }}
+ {{- end }}
{{- with $securityContext }}
securityContext: {{- toYaml . | nindent 8 }}
{{- end }}
diff --git a/charts/ozone/templates/helm/om-leader-transfer-job.yaml
b/charts/ozone/templates/helm/om-leader-transfer-job.yaml
index 7a95ab8..553079f 100644
--- a/charts/ozone/templates/helm/om-leader-transfer-job.yaml
+++ b/charts/ozone/templates/helm/om-leader-transfer-job.yaml
@@ -67,6 +67,12 @@ spec:
{{- with $nodeSelector }}
nodeSelector: {{- toYaml . | nindent 8 }}
{{- end }}
+ {{- with $affinity }}
+ affinity: {{- toYaml . | nindent 8 }}
+ {{- end }}
+ {{- with $tolerations }}
+ tolerations: {{- toYaml . | nindent 8 }}
+ {{- end }}
{{- with $securityContext }}
securityContext: {{- toYaml . | nindent 8 }}
{{- end }}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]