Files
k8s-pilot/k8s/service.yaml
T
dev 566c122044
Build & Push / build (push) Failing after 45s
initial
2026-06-07 10:52:17 +02:00

19 lines
393 B
YAML

apiVersion: v1
kind: Service
metadata:
name: k8s-pilot
namespace: k8s-pilot
spec:
selector:
app: k8s-pilot
ports:
- port: 80
targetPort: 3000
type: ClusterIP
# Sticky sessions — keeps SSE log streams and WebSocket
# connections on the same pod after initial connection
sessionAffinity: ClientIP
sessionAffinityConfig:
clientIP:
timeoutSeconds: 3600