use LB instead of nodePort

This commit is contained in:
2025-05-31 03:14:18 +05:30
parent 72474c092a
commit f0018750a5
25 changed files with 46 additions and 99 deletions

View File

@@ -5,14 +5,12 @@ metadata:
name: immich-service
namespace: default
spec:
type: NodePort
type: LoadBalancer
selector:
app: immich-app
ports:
- port: 2283
targetPort: 2283
nodePort: 2283
protocol: TCP
---
apiVersion: v1
@@ -21,14 +19,12 @@ metadata:
name: immich-machine-learning-service
namespace: default
spec:
type: NodePort
type: LoadBalancer
selector:
app: immich-app
ports:
- port: 3003
- port: 3333
targetPort: 3003
nodePort: 3333
protocol: TCP
---
apiVersion: v1