Add langfuse chart 1.0.0-rc.2

This commit is contained in:
wbsong111
2025-03-04 15:33:42 +09:00
parent b654bd3d6f
commit d24cf817e0
329 changed files with 40505 additions and 0 deletions
+32
View File
@@ -0,0 +1,32 @@
{{- if ((.Values.langfuse.web).hpa).enabled }}
apiVersion: autoscaling/v2
kind: HorizontalPodAutoscaler
metadata:
name: {{ include "langfuse.fullname" . }}-web
labels:
{{- include "langfuse.labels" . | nindent 4 }}
spec:
scaleTargetRef:
apiVersion: apps/v1
kind: Deployment
name: {{ include "langfuse.fullname" . }}-web
minReplicas: {{ .Values.langfuse.web.hpa.minReplicas }}
maxReplicas: {{ .Values.langfuse.web.hpa.maxReplicas }}
metrics:
{{- with .Values.langfuse.web.hpa.targetCPUUtilizationPercentage }}
- type: Resource
resource:
name: cpu
target:
type: Utilization
averageUtilization: {{ . }}
{{- end }}
{{- with .Values.langfuse.web.hpa.targetMemoryUtilizationPercentage }}
- type: Resource
resource:
name: memory
target:
type: Utilization
averageUtilization: {{ . }}
{{- end }}
{{- end }}