open-webui/kubernetes/helm/templates/ollama-service.yaml

18 lines
378 B
YAML
Raw Normal View History

apiVersion: v1
kind: Service
metadata:
2024-02-19 20:58:25 +00:00
name: {{ include "ollama.name" . }}
2024-02-19 21:23:36 +00:00
labels:
{{- include "ollama.labels" . | nindent 4 }}
spec:
selector:
2024-02-19 21:23:36 +00:00
{{- include "ollama.selectorLabels" . | nindent 4 }}
{{- with .Values.ollama.service }}
type: {{ .type }}
ports:
- protocol: TCP
2024-02-19 21:23:36 +00:00
name: http
port: {{ .port }}
targetPort: {{ .containerPort }}
{{- end }}