0100def25a
- Frontend: Changed NodePort from 30080 to 3000 (matches Docker port) - Backend: Changed NodePort from 30081 to 5001 (matches Docker port) - Keycloak: Changed NodePort from 30082 to 8080 (matches Docker port) - Updated ConfigMap URLs to use new ports - Updated NEXTAUTH_URL to use port 3000 This ensures Kubernetes deployment uses the same ports as Docker Compose for consistency across environments.
18 lines
269 B
YAML
18 lines
269 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: 5001
|
|
targetPort: 8080
|
|
nodePort: 5001
|
|
protocol: TCP
|