Add Immich Machine Learning
This commit is contained in:
@@ -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
|
||||
|
||||
13
apps/hydra/immich/machine-learning-pvc.yaml
Normal file
13
apps/hydra/immich/machine-learning-pvc.yaml
Normal 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: {}
|
||||
15
apps/hydra/immich/machine-learning-srv.yaml
Normal file
15
apps/hydra/immich/machine-learning-srv.yaml
Normal 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: {}
|
||||
29
apps/hydra/immich/machine-learning.yaml
Normal file
29
apps/hydra/immich/machine-learning.yaml
Normal 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: {}
|
||||
Reference in New Issue
Block a user