31 lines
730 B
YAML
31 lines
730 B
YAML
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: mic-after-work-server-impl-quarkus-main-service
|
|
namespace: applications
|
|
labels:
|
|
app: mic-after-work-server-impl-quarkus-main
|
|
component: application
|
|
project: lions-infrastructure-2025
|
|
annotations:
|
|
description: "Service for AfterWork API"
|
|
spec:
|
|
type: ClusterIP
|
|
sessionAffinity: ClientIP
|
|
sessionAffinityConfig:
|
|
clientIP:
|
|
timeoutSeconds: 10800
|
|
ports:
|
|
# Port 80 exposé, route vers 8080 du container
|
|
- port: 80
|
|
targetPort: 8080
|
|
protocol: TCP
|
|
name: http
|
|
# Port 8080 pour compatibilité directe
|
|
- port: 8080
|
|
targetPort: 8080
|
|
protocol: TCP
|
|
name: http-direct
|
|
selector:
|
|
app: mic-after-work-server-impl-quarkus-main
|