Files
work-club-manager/infra/k8s/base/backend-service.yaml
T
WorkClub Automation fd2931e59c
CI Pipeline / Backend Build & Test (push) Successful in 1m6s
CI Pipeline / Frontend Lint, Test & Build (push) Successful in 32s
CI Pipeline / Infrastructure Validation (push) Successful in 4s
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.
2026-03-20 22:50:51 +01:00

18 lines
280 B
YAML

apiVersion: v1
kind: Service
metadata:
name: workclub-api
labels:
app: workclub-api
component: backend
spec:
type: NodePort
selector:
app: workclub-api
ports:
- name: http
port: 8080
targetPort: 8080
nodePort: 30501
protocol: TCP