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:
@@ -10,8 +10,8 @@ spec:
|
||||
selector:
|
||||
app: workclub-frontend
|
||||
ports:
|
||||
- name: http
|
||||
port: 3000
|
||||
targetPort: 3000
|
||||
nodePort: 3000
|
||||
protocol: TCP
|
||||
- name: http
|
||||
port: 3000
|
||||
targetPort: 3000
|
||||
nodePort: 30080
|
||||
protocol: TCP
|
||||
|
||||
Reference in New Issue
Block a user