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,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