From 4298de4d2e6b399d0b8056dc8a6d1334bb13887b Mon Sep 17 00:00:00 2001 From: aigptteam <160504957+aigptteam@users.noreply.github.com> Date: Mon, 19 Feb 2024 15:16:13 +0100 Subject: [PATCH] Add resources configuration to datanode initcontainers --- charts/milvus/templates/datanode-deployment.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/charts/milvus/templates/datanode-deployment.yaml b/charts/milvus/templates/datanode-deployment.yaml index d9b164d..394351c 100644 --- a/charts/milvus/templates/datanode-deployment.yaml +++ b/charts/milvus/templates/datanode-deployment.yaml @@ -50,6 +50,8 @@ spec: - "cp -r /opt/heaptrack /milvus/tools" image: "{{ .Values.heaptrack.image.repository }}:{{ .Values.heaptrack.image.tag }}" imagePullPolicy: {{ .Values.heaptrack.image.pullPolicy }} + resources: + {{- toYaml .Values.dataNode.init.heaptrack.resources | nindent 10 }} volumeMounts: - mountPath: /milvus/tools name: tools @@ -61,6 +63,8 @@ spec: - /milvus/tools/run-helm.sh,/milvus/tools/merge image: "{{ .Values.image.tools.repository }}:{{ .Values.image.tools.tag }}" imagePullPolicy: {{ .Values.image.tools.pullPolicy}} + resources: + {{- toYaml .Values.dataNode.init.config.resources | nindent 10 }} volumeMounts: - mountPath: /milvus/tools name: tools