feature: 对接deer-flow (#54)

feature: 对接deer-flow
This commit is contained in:
hhhhsc701
2025-11-04 20:30:40 +08:00
committed by GitHub
parent dc30b0d892
commit f3958f08d9
710 changed files with 112812 additions and 52 deletions

View File

@@ -0,0 +1,23 @@
{{- if and .Values.proxy.enabled .Values.proxy.hpa.enabled }}
apiVersion: autoscaling/v2
kind: HorizontalPodAutoscaler
metadata:
name: {{ template "milvus.proxy.fullname" . }}-hpa
namespace: {{ .Release.Namespace }}
labels:
component: "proxy"
spec:
scaleTargetRef:
apiVersion: apps/v1
kind: Deployment
name: {{ template "milvus.proxy.fullname" . }}
minReplicas: {{ .Values.proxy.hpa.minReplicas | default 1 }}
maxReplicas: {{ .Values.proxy.hpa.maxReplicas | default 10 }}
metrics:
- type: Resource
resource:
name: cpu
target:
type: Utilization
averageUtilization: {{ .Values.proxy.hpa.cpuUtilization | default 40 }}
{{- end }}