From a876a1c6da83ace4f3b35c73f45481ac08456cd4 Mon Sep 17 00:00:00 2001 From: wonho Date: Fri, 31 Oct 2025 10:43:40 +0900 Subject: [PATCH] =?UTF-8?q?Kubernetes=20=EC=84=A4=EC=A0=95=20=EA=B0=9C?= =?UTF-8?q?=EC=84=A0:=20Health=20Check=20=EB=B0=8F=20Swagger=20UI=20?= =?UTF-8?q?=EC=A0=91=EA=B7=BC=EC=84=B1=20=ED=96=A5=EC=83=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - user-service, participation-service의 probe 경로를 context-path에 맞게 수정 - AI Service Ingress 경로 수정: /api/v1/ai-service → /api/v1/ai - Analytics Service Swagger UI 접근을 위한 /api/v1/analytics 경로 추가 - Distribution Service Ingress 경로 수정: /distribution → /api/v1/distribution - Event Service catch-all 경로 /api/v1 추가 (우선순위 최하위) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- .github/kustomize/base/ingress.yaml | 22 +++++++++++++++++-- .../participation-service-deployment.yaml | 6 ++--- .../base/user-service-deployment.yaml | 6 ++--- 3 files changed, 26 insertions(+), 8 deletions(-) diff --git a/.github/kustomize/base/ingress.yaml b/.github/kustomize/base/ingress.yaml index 4ad2008..ceb3008 100644 --- a/.github/kustomize/base/ingress.yaml +++ b/.github/kustomize/base/ingress.yaml @@ -55,7 +55,7 @@ spec: number: 80 # AI Service - - path: /api/v1/ai-service + - path: /api/v1/ai pathType: Prefix backend: service: @@ -106,11 +106,29 @@ spec: port: number: 80 + # Analytics Service - Swagger UI 및 기타 경로 + - path: /api/v1/analytics + pathType: Prefix + backend: + service: + name: analytics-service + port: + number: 80 + # Distribution Service - - path: /distribution + - path: /api/v1/distribution pathType: Prefix backend: service: name: distribution-service port: number: 80 + + # Event Service - Swagger UI 및 기타 경로 (맨 마지막에 배치 - catch-all) + - path: /api/v1 + pathType: Prefix + backend: + service: + name: event-service + port: + number: 80 diff --git a/.github/kustomize/base/participation-service-deployment.yaml b/.github/kustomize/base/participation-service-deployment.yaml index 3b9895b..b69b460 100644 --- a/.github/kustomize/base/participation-service-deployment.yaml +++ b/.github/kustomize/base/participation-service-deployment.yaml @@ -41,21 +41,21 @@ spec: memory: "1024Mi" startupProbe: httpGet: - path: /actuator/health/liveness + path: /api/v1/participations/actuator/health port: 8084 initialDelaySeconds: 60 periodSeconds: 10 failureThreshold: 30 livenessProbe: httpGet: - path: /actuator/health/liveness + path: /api/v1/participations/actuator/health/liveness port: 8084 initialDelaySeconds: 0 periodSeconds: 10 failureThreshold: 3 readinessProbe: httpGet: - path: /actuator/health/readiness + path: /api/v1/participations/actuator/health/readiness port: 8084 initialDelaySeconds: 0 periodSeconds: 10 diff --git a/.github/kustomize/base/user-service-deployment.yaml b/.github/kustomize/base/user-service-deployment.yaml index 4ea16a9..946c1a6 100644 --- a/.github/kustomize/base/user-service-deployment.yaml +++ b/.github/kustomize/base/user-service-deployment.yaml @@ -41,21 +41,21 @@ spec: memory: "1024Mi" startupProbe: httpGet: - path: /actuator/health + path: /api/v1/users/actuator/health port: 8081 initialDelaySeconds: 30 periodSeconds: 10 failureThreshold: 30 readinessProbe: httpGet: - path: /actuator/health/readiness + path: /api/v1/users/actuator/health/readiness port: 8081 initialDelaySeconds: 10 periodSeconds: 5 failureThreshold: 3 livenessProbe: httpGet: - path: /actuator/health/liveness + path: /api/v1/users/actuator/health/liveness port: 8081 initialDelaySeconds: 30 periodSeconds: 10