use LB instead of nodePort
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user