bugfix: milvus部分组件支持镜像仓库 (#114)

This commit is contained in:
hhhhsc701
2025-11-28 17:39:56 +08:00
committed by GitHub
parent 07029d07ff
commit fe42b03548
5 changed files with 9 additions and 3 deletions

View File

@@ -97,7 +97,7 @@ head:
limits:
cpu: "2"
# To avoid out-of-memory issues, never allocate less than 2G memory for the Ray head.
memory: "4G"
memory: "8G"
requests:
cpu: "1"
memory: "2G"

View File

@@ -72,7 +72,7 @@ spec:
{{- end }}
containers:
- name: {{ .Chart.Name }}
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
image: "{{ .Values.global.imageRegistry }}{{ .Values.image.repository }}:{{ .Values.image.tag }}"
imagePullPolicy: {{ .Values.image.pullPolicy }}
{{- if .Values.s3gateway.enabled }}
command:

View File

@@ -10,6 +10,9 @@ fullnameOverride: ""
##
clusterDomain: cluster.local
global:
imageRegistry: ""
## Set default image, imageTag, and imagePullPolicy. mode is used to indicate the
##
image:

View File

@@ -69,7 +69,7 @@ spec:
{{- end }}
containers:
- name: streamingnode
image: "{{ .Values.image.all.repository }}:{{ .Values.image.all.tag }}"
image: "{{ .Values.global.imageRegistry }}{{ .Values.image.all.repository }}:{{ .Values.image.all.tag }}"
imagePullPolicy: {{ .Values.image.all.pullPolicy }}
{{ if and (.Values.containerSecurityContext) (not .Values.streamingNode.containerSecurityContext) }}
securityContext:

View File

@@ -8,6 +8,9 @@ fullnameOverride: ""
cluster:
enabled: false
global:
imageRegistry: ""
image:
all:
repository: milvusdb/milvus