zkt26/sk1/service.yaml
2026-05-12 19:27:18 +02:00

43 lines
1.2 KiB
YAML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# ─────────────────────────────────────────────────────────────────────────────
# Service Backend NodePort (accessible via localhost:30888)
# ─────────────────────────────────────────────────────────────────────────────
apiVersion: v1
kind: Service
metadata:
name: vigimeteo-backend-service
namespace: vigimeteo
labels:
app: vigimeteo-backend
spec:
type: NodePort
selector:
app: vigimeteo-backend
ports:
- name: http
protocol: TCP
port: 8888
targetPort: 8888
nodePort: 30888
---
# Service Frontend NodePort (accessible via localhost:30500)
apiVersion: v1
kind: Service
metadata:
name: vigimeteo-frontend-service
namespace: vigimeteo
labels:
app: vigimeteo-frontend
spec:
type: NodePort
selector:
app: vigimeteo-frontend
ports:
- name: http
protocol: TCP
port: 80
targetPort: 80
nodePort: 30500