Fix Kubernetes NodePort range (30000-32767)
- Frontend: nodePort 3000 → 30080 - Backend: nodePort 5001 → 30501, service port 5001 → 8080 - Keycloak: nodePort 8080 → 30808 Kubernetes requires NodePort to be in range 30000-32767. The service port (internal) and targetPort (container) remain unchanged for compatibility with existing configurations.
This commit is contained in:
@@ -11,7 +11,7 @@ spec:
|
|||||||
app: workclub-api
|
app: workclub-api
|
||||||
ports:
|
ports:
|
||||||
- name: http
|
- name: http
|
||||||
port: 5001
|
port: 8080
|
||||||
targetPort: 8080
|
targetPort: 8080
|
||||||
nodePort: 5001
|
nodePort: 30501
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
|
|||||||
@@ -13,5 +13,5 @@ spec:
|
|||||||
- name: http
|
- name: http
|
||||||
port: 3000
|
port: 3000
|
||||||
targetPort: 3000
|
targetPort: 3000
|
||||||
nodePort: 3000
|
nodePort: 30080
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
|
|||||||
@@ -13,5 +13,5 @@ spec:
|
|||||||
- name: http
|
- name: http
|
||||||
port: 8080
|
port: 8080
|
||||||
targetPort: 8080
|
targetPort: 8080
|
||||||
nodePort: 8080
|
nodePort: 30808
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
|
|||||||
Reference in New Issue
Block a user