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
285 B
YAML
18 lines
285 B
YAML
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: workclub-frontend
|
|
labels:
|
|
app: workclub-frontend
|
|
component: frontend
|
|
spec:
|
|
type: NodePort
|
|
selector:
|
|
app: workclub-frontend
|
|
ports:
|
|
- name: http
|
|
port: 3000
|
|
targetPort: 3000
|
|
nodePort: 3000
|
|
protocol: TCP
|