helm/llama-cpp/templates/service.yaml
2025-02-07 13:06:50 +08:00

14 lines
359 B
YAML

apiVersion: v1
kind: Service
metadata:
name: {{ include "llama-cpp.fullname" . }}
labels: {{- include "llama-cpp.labels" . | nindent 4 }}
spec:
type: {{ .Values.service.type }}
ports:
- port: {{ .Values.service.port }}
targetPort: http
protocol: TCP
name: http
selector: {{- include "llama-cpp.selectorLabels" . | nindent 4 }}