feat: add immich deployment, services, and persistent volume claims
This commit is contained in:
59
cluster/apps/immich/immich-svc.yml
Normal file
59
cluster/apps/immich/immich-svc.yml
Normal 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
|
||||
Reference in New Issue
Block a user