feat: migrate immich to k8s
This commit is contained in:
parent
2f0378cba6
commit
3d3ea948db
21 changed files with 1044 additions and 100 deletions
34
k8s/charts/immich/templates/service.yaml
Normal file
34
k8s/charts/immich/templates/service.yaml
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: {{ include "immich.fullname" . }}
|
||||
labels:
|
||||
{{- include "immich.labels" . | nindent 4 }}
|
||||
spec:
|
||||
type: {{ .Values.service.type }}
|
||||
ports:
|
||||
- port: {{ .Values.service.port }}
|
||||
targetPort: http
|
||||
protocol: TCP
|
||||
name: http
|
||||
selector:
|
||||
{{- include "immich.selectorLabels" . | nindent 4 }}
|
||||
app.kubernetes.io/component: server
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: {{ include "immich.fullname" . }}-machine-learning
|
||||
labels:
|
||||
{{- include "immich.labels" . | nindent 4 }}
|
||||
app.kubernetes.io/component: machine-learning
|
||||
spec:
|
||||
type: ClusterIP
|
||||
ports:
|
||||
- port: 3003
|
||||
targetPort: http
|
||||
protocol: TCP
|
||||
name: http
|
||||
selector:
|
||||
{{- include "immich.selectorLabels" . | nindent 4 }}
|
||||
app.kubernetes.io/component: machine-learning
|
||||
Loading…
Add table
Add a link
Reference in a new issue