Files
deepdata/deployment/helm/milvus/templates/attu-deployment.yaml
figmar 7bbc9d4ef0
CodeQL Advanced / Analyze (actions) (push) Canceled after 0s
CodeQL Advanced / Analyze (java-kotlin) (push) Canceled after 0s
CodeQL Advanced / Analyze (javascript-typescript) (push) Canceled after 0s
CodeQL Advanced / Analyze (python) (push) Canceled after 0s
Docker Image Build & Push / manifest (push) Canceled after 0s
Docker Image Build & Push / manifest (push) Canceled after 0s
Docker Image Build & Push / manifest (push) Canceled after 0s
Docker Image Build & Push / build-and-push-arm (push) Canceled after 0s
Docker Image Build & Push / build-and-push-amd (push) Canceled after 0s
Docker Image Build & Push / build-and-push-arm (push) Canceled after 0s
Docker Image Build & Push / build-and-push-amd (push) Canceled after 0s
Docker Image Build & Push / build-and-push-arm (push) Canceled after 0s
Docker Image Build & Push / build-and-push-amd (push) Canceled after 0s
Deer Flow Docker Image CI / build-and-push-amd (push) Canceled after 0s
Deer Flow Docker Image CI / build-and-push-arm (push) Canceled after 0s
Deer Flow Docker Image CI / manifest (push) Canceled after 0s
Docker Image Build & Push / manifest (push) Canceled after 0s
Docker Image Build & Push / build-and-push-arm (push) Canceled after 0s
Docker Image Build & Push / build-and-push-amd (push) Canceled after 0s
Docker Image Build & Push / manifest (push) Canceled after 0s
Docker Image Build & Push / build-and-push-arm (push) Canceled after 0s
Docker Image Build & Push / build-and-push-amd (push) Canceled after 0s
Docker Image Build & Push / manifest (push) Canceled after 0s
Docker Image Build & Push / build-and-push-arm (push) Canceled after 0s
Docker Image Build & Push / build-and-push-amd (push) Canceled after 0s
Docker Image Build & Push / manifest (push) Canceled after 0s
Docker Image Build & Push / build-and-push-arm (push) Canceled after 0s
Docker Image Build & Push / build-and-push-amd (push) Canceled after 0s
Python Backend Docker Image CI / Build and Push Backend Python Docker Image (push) Canceled after 0s
Backend Docker Image CI / Build and Push Backend Docker Image (push) Canceled after 0s
Database Docker Image CI / Build and Push Database Docker Image (push) Canceled after 0s
Frontend Docker Image CI / Build and Push Frontend Docker Image (push) Canceled after 0s
Gateway Docker Image CI / Build and Push Gateway Docker Image (push) Canceled after 0s
Label Studio Docker Image CI / Build and Push Label Studio Docker Image (push) Canceled after 0s
Runtime Docker Image CI / Build and Push Runtime Docker Image (push) Canceled after 0s
deepdata: delivery stack (docker compose, helm, CI, build scripts)
2026-08-30 19:23:42 +08:00

93 lines
3.0 KiB
YAML

{{- if .Values.attu.enabled }}
apiVersion: apps/v1
kind: Deployment
metadata:
name: {{ template "milvus.attu.fullname" . }}
namespace: {{ .Release.Namespace }}
labels:
{{ include "milvus.labels" . | indent 4 }}
component: "attu"
{{ include "milvus.ud.labels" . | indent 4 }}
annotations:
{{ include "milvus.ud.annotations" . | indent 4 }}
spec:
replicas: 1
selector:
matchLabels:
{{ include "milvus.matchLabels" . | indent 6 }}
component: "attu"
template:
metadata:
labels:
{{ include "milvus.matchLabels" . | indent 8 }}
component: "attu"
{{ include "milvus.ud.labels" . | indent 8 }}
{{- if .Values.attu.podLabels }}
{{ toYaml .Values.attu.podLabels | indent 8 }}
{{- end }}
annotations:
{{- if .Values.attu.annotations }}
{{- toYaml .Values.attu.annotations | nindent 8 }}
{{- end }}
{{ include "milvus.ud.annotations" . | indent 8 }}
spec:
{{- if .Values.attu.image.pullSecrets }}
imagePullSecrets:
{{- range .Values.attu.image.pullSecrets }}
- name: {{ . }}
{{- end }}
{{- end }}
containers:
- name: attu
image: {{ .Values.attu.image.repository }}:{{ .Values.attu.image.tag }}
imagePullPolicy: {{ .Values.attu.image.pullPolicy }}
{{ if and (.Values.containerSecurityContext) (not .Values.attu.containerSecurityContext) }}
securityContext:
{{- toYaml .Values.containerSecurityContext | nindent 12 }}
{{ end }}
{{ if .Values.attu.containerSecurityContext }}
securityContext:
{{- toYaml .Values.attu.containerSecurityContext | nindent 12 }}
{{ end }}
ports:
- name: attu
containerPort: 3000
protocol: TCP
env:
{{ include "milvus.attu.env" . | indent 8}}
resources:
{{- toYaml .Values.attu.resources | nindent 10 }}
{{- if and (.Values.affinity) (not .Values.attu.affinity) }}
affinity:
{{ toYaml .Values.affinity | indent 8 }}
{{- end }}
{{- if .Values.attu.affinity }}
affinity:
{{ toYaml .Values.attu.affinity | indent 8 }}
{{- end }}
{{- if and (.Values.tolerations) (not .Values.attu.tolerations) }}
tolerations:
{{ toYaml .Values.tolerations | indent 8 }}
{{- end }}
{{- if .Values.attu.tolerations }}
tolerations:
{{ toYaml .Values.attu.tolerations | indent 8 }}
{{- end }}
{{- if and (.Values.nodeSelector) (not .Values.attu.nodeSelector) }}
nodeSelector:
{{ toYaml .Values.nodeSelector | indent 8 }}
{{- end }}
{{- if .Values.attu.nodeSelector }}
nodeSelector:
{{ toYaml .Values.attu.nodeSelector | indent 8 }}
{{- end }}
{{- if and (.Values.securityContext) (not .Values.attu.securityContext) }}
securityContext:
{{ toYaml .Values.securityContext | indent 8 }}
{{- end }}
{{- if .Values.attu.securityContext }}
securityContext:
{{ toYaml .Values.attu.securityContext | indent 8 }}
{{- end }}
{{- end }}