feat: add immich deployment, services, and persistent volume claims

This commit is contained in:
2025-04-15 11:52:55 +05:30
parent 0851fd3609
commit f9b9ce73cd
4 changed files with 212 additions and 0 deletions

View File

@@ -0,0 +1,59 @@
---
apiVersion: v1
kind: Service
metadata:
name: immich-service
namespace: default
spec:
type: NodePort
selector:
app: immich-app
ports:
- port: 2283
targetPort: 2283
nodePort: 2283
protocol: TCP
---
apiVersion: v1
kind: Service
metadata:
name: immich-machine-learning-service
namespace: default
spec:
type: NodePort
selector:
app: immich-app
ports:
- port: 3003
targetPort: 3003
nodePort: 3333
protocol: TCP
---
apiVersion: v1
kind: Service
metadata:
name: immich-psql-service
namespace: default
spec:
selector:
app: immich-db
ports:
- protocol: TCP
port: 5432
targetPort: 5432
---
apiVersion: v1
kind: Service
metadata:
name: immich-redis-service
namespace: default
spec:
selector:
app: immich-db
ports:
- protocol: TCP
port: 6379
targetPort: 6379