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: gluetun-service
namespace: default
spec:
type: NodePort
type: LoadBalancer
selector:
app: gluetun
ports:
- port: 8888
- port: 8388
targetPort: 8888
nodePort: 8388
protocol: TCP
---
apiVersion: v1
@@ -21,11 +19,10 @@ metadata:
name: gluetun-p2p-service
namespace: default
spec:
type: NodePort
type: LoadBalancer
selector:
app: gluetun
ports:
- port: 6881
- port: 30881
targetPort: 6881
nodePort: 30881
protocol: TCP