fd2931e59c
- 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.
18 lines
292 B
YAML
18 lines
292 B
YAML
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: workclub-keycloak
|
|
labels:
|
|
app: workclub-keycloak
|
|
component: auth
|
|
spec:
|
|
type: NodePort
|
|
selector:
|
|
app: workclub-keycloak
|
|
ports:
|
|
- name: http
|
|
port: 8080
|
|
targetPort: 8080
|
|
nodePort: 30808
|
|
protocol: TCP
|