Refactoring
This commit is contained in:
@@ -1,10 +1,14 @@
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: afterwork-api
|
||||
name: mic-after-work-server-impl-quarkus-main-service
|
||||
namespace: applications
|
||||
labels:
|
||||
app: afterwork-api
|
||||
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
|
||||
@@ -12,9 +16,15 @@ spec:
|
||||
clientIP:
|
||||
timeoutSeconds: 10800
|
||||
ports:
|
||||
- port: 8080
|
||||
# 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: afterwork-api
|
||||
app: mic-after-work-server-impl-quarkus-main
|
||||
|
||||
Reference in New Issue
Block a user