From 26c868ec34d5441e0ec3a9b0998f31676cccc943 Mon Sep 17 00:00:00 2001 From: Caio Correa Date: Thu, 16 May 2024 16:09:11 -0300 Subject: [PATCH] Add starlingx label to operator and toolbox pod Add app.starlingx.io/component=platform label to operator and toolbox pod. With this label, the pods are scheduled on platform cores. Signed-off-by: Caio Correa Signed-off-by: Ítalo Vieira --- deploy/charts/rook-ceph-cluster/templates/deployment.yaml | 1 + deploy/charts/rook-ceph/templates/deployment.yaml | 1 + 2 files changed, 2 insertions(+) diff --git a/deploy/charts/rook-ceph-cluster/templates/deployment.yaml b/deploy/charts/rook-ceph-cluster/templates/deployment.yaml index 63adf22d3..a8e7cd837 100644 --- a/deploy/charts/rook-ceph-cluster/templates/deployment.yaml +++ b/deploy/charts/rook-ceph-cluster/templates/deployment.yaml @@ -19,6 +19,7 @@ spec: metadata: labels: app: rook-ceph-tools + app.starlingx.io/component: platform spec: dnsPolicy: ClusterFirstWithHostNet {{- $network := .Values.cephClusterSpec.network | default dict -}} diff --git a/deploy/charts/rook-ceph/templates/deployment.yaml b/deploy/charts/rook-ceph/templates/deployment.yaml index cee5d63af..c18c761a0 100644 --- a/deploy/charts/rook-ceph/templates/deployment.yaml +++ b/deploy/charts/rook-ceph/templates/deployment.yaml @@ -22,6 +22,7 @@ spec: labels: app: rook-ceph-operator helm.sh/chart: "{{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}" + app.starlingx.io/component: platform {{- if .Values.operatorPodLabels }} {{ toYaml .Values.operatorPodLabels | indent 8 }} {{- end }}