use LB instead of nodePort
This commit is contained in:
@@ -5,14 +5,13 @@ metadata:
|
||||
name: nextcloud-service
|
||||
namespace: default
|
||||
spec:
|
||||
type: NodePort
|
||||
type: LoadBalancer
|
||||
selector:
|
||||
app: nextcloud
|
||||
ports:
|
||||
- protocol: TCP
|
||||
port: 443
|
||||
port: 9200
|
||||
targetPort: 443
|
||||
nodePort: 9200
|
||||
|
||||
---
|
||||
apiVersion: v1
|
||||
@@ -21,14 +20,13 @@ metadata:
|
||||
name: collabora-service
|
||||
namespace: default
|
||||
spec:
|
||||
type: NodePort
|
||||
type: LoadBalancer
|
||||
selector:
|
||||
app: collabora
|
||||
ports:
|
||||
- protocol: TCP
|
||||
port: 9980
|
||||
targetPort: 9980
|
||||
nodePort: 9980
|
||||
|
||||
---
|
||||
apiVersion: v1
|
||||
|
||||
Reference in New Issue
Block a user