2025-10-08 19:38:59 +02:00

21 lines
389 B
YAML

apiVersion: v1
kind: Service
metadata:
name: backend-api-internal
namespace: app-notifications
spec:
selector:
app: backend-api-internal
ports:
- protocol: TCP
port: 8101
targetPort: 8101
nodePort: 30101
name: fastapi
- protocol: TCP
port: 9000
targetPort: 9000
nodePort: 30901
name: prometheus-metrics
type: NodePort