Add Immich Machine Learning

This commit is contained in:
Daniel Cosme
2026-05-06 18:30:57 -04:00
parent 6ac72ad069
commit f2703951ce
6 changed files with 98 additions and 8 deletions

View File

@@ -6,6 +6,9 @@ metadata:
resources:
- immich-deployment.yaml
- immich-srv.yaml
- machine-learning-pvc.yaml
- machine-learning-srv.yaml
- machine-learning.yaml
- namespace.yaml
- redis-deployment.yaml
- redis-srv.yaml

View File

@@ -0,0 +1,13 @@
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: immich-machine-learning-pvc
namespace: immich
spec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 1Gi
storageClassName: longhorn
status: {}

View File

@@ -0,0 +1,15 @@
apiVersion: v1
kind: Service
metadata:
labels:
app: immich-machine-learning
name: immich-machine-learning
namespace: immich
spec:
ports:
- port: 3003
targetPort: 0
selector:
app: immich-machine-learning
status:
loadBalancer: {}

View File

@@ -0,0 +1,29 @@
apiVersion: apps/v1
kind: Deployment
metadata:
labels:
app: immich-machine-learning
name: immich-machine-learning
namespace: immich
spec:
selector:
matchLabels:
app: immich-machine-learning
strategy: {}
template:
metadata:
labels:
app: immich-machine-learning
spec:
containers:
- image: ghcr.io/immich-app/immich-machine-learning:v2.7.5
name: immich-machine-learning
resources: {}
volumeMounts:
- mountPath: /cache
name: cache
volumes:
- name: cache
persistentVolumeClaim:
claimName: immich-machine-learning-pvc
status: {}