"mmdet/models/necks/dilated_encoder.py" did not exist on "3e89e2569a866545f404bfd4c11cc9bfb12cad68"
ollama-service.yaml 524 Bytes
Newer Older
1
{{- if not .Values.ollama.externalHost }}
2
3
4
apiVersion: v1
kind: Service
metadata:
duhow's avatar
duhow committed
5
  name: {{ include "ollama.name" . }}
duhow's avatar
duhow committed
6
7
  labels:
    {{- include "ollama.labels" . | nindent 4 }}
duhow's avatar
duhow committed
8
9
10
11
  {{- with .Values.ollama.service.annotations }}
  annotations:
    {{- toYaml . | nindent 4 }}
  {{- end }}
12
13
spec:
  selector:
duhow's avatar
duhow committed
14
15
16
    {{- include "ollama.selectorLabels" . | nindent 4 }}
{{- with .Values.ollama.service }}
  type: {{ .type }}
17
18
  ports:
  - protocol: TCP
duhow's avatar
duhow committed
19
    name: http
duhow's avatar
duhow committed
20
21
    port: {{ .port }}
    targetPort: http
duhow's avatar
duhow committed
22
{{- end }}
23
{{- end }}