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