mirror of
https://github.com/ktds-dg0501/kt-event-marketing.git
synced 2026-01-21 13:26:23 +00:00
Kubernetes 설정 개선: Health Check 및 Swagger UI 접근성 향상
- 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 <noreply@anthropic.com>
This commit is contained in:
parent
82086fcf64
commit
a876a1c6da
22
.github/kustomize/base/ingress.yaml
vendored
22
.github/kustomize/base/ingress.yaml
vendored
@ -55,7 +55,7 @@ spec:
|
|||||||
number: 80
|
number: 80
|
||||||
|
|
||||||
# AI Service
|
# AI Service
|
||||||
- path: /api/v1/ai-service
|
- path: /api/v1/ai
|
||||||
pathType: Prefix
|
pathType: Prefix
|
||||||
backend:
|
backend:
|
||||||
service:
|
service:
|
||||||
@ -106,11 +106,29 @@ spec:
|
|||||||
port:
|
port:
|
||||||
number: 80
|
number: 80
|
||||||
|
|
||||||
|
# Analytics Service - Swagger UI 및 기타 경로
|
||||||
|
- path: /api/v1/analytics
|
||||||
|
pathType: Prefix
|
||||||
|
backend:
|
||||||
|
service:
|
||||||
|
name: analytics-service
|
||||||
|
port:
|
||||||
|
number: 80
|
||||||
|
|
||||||
# Distribution Service
|
# Distribution Service
|
||||||
- path: /distribution
|
- path: /api/v1/distribution
|
||||||
pathType: Prefix
|
pathType: Prefix
|
||||||
backend:
|
backend:
|
||||||
service:
|
service:
|
||||||
name: distribution-service
|
name: distribution-service
|
||||||
port:
|
port:
|
||||||
number: 80
|
number: 80
|
||||||
|
|
||||||
|
# Event Service - Swagger UI 및 기타 경로 (맨 마지막에 배치 - catch-all)
|
||||||
|
- path: /api/v1
|
||||||
|
pathType: Prefix
|
||||||
|
backend:
|
||||||
|
service:
|
||||||
|
name: event-service
|
||||||
|
port:
|
||||||
|
number: 80
|
||||||
|
|||||||
@ -41,21 +41,21 @@ spec:
|
|||||||
memory: "1024Mi"
|
memory: "1024Mi"
|
||||||
startupProbe:
|
startupProbe:
|
||||||
httpGet:
|
httpGet:
|
||||||
path: /actuator/health/liveness
|
path: /api/v1/participations/actuator/health
|
||||||
port: 8084
|
port: 8084
|
||||||
initialDelaySeconds: 60
|
initialDelaySeconds: 60
|
||||||
periodSeconds: 10
|
periodSeconds: 10
|
||||||
failureThreshold: 30
|
failureThreshold: 30
|
||||||
livenessProbe:
|
livenessProbe:
|
||||||
httpGet:
|
httpGet:
|
||||||
path: /actuator/health/liveness
|
path: /api/v1/participations/actuator/health/liveness
|
||||||
port: 8084
|
port: 8084
|
||||||
initialDelaySeconds: 0
|
initialDelaySeconds: 0
|
||||||
periodSeconds: 10
|
periodSeconds: 10
|
||||||
failureThreshold: 3
|
failureThreshold: 3
|
||||||
readinessProbe:
|
readinessProbe:
|
||||||
httpGet:
|
httpGet:
|
||||||
path: /actuator/health/readiness
|
path: /api/v1/participations/actuator/health/readiness
|
||||||
port: 8084
|
port: 8084
|
||||||
initialDelaySeconds: 0
|
initialDelaySeconds: 0
|
||||||
periodSeconds: 10
|
periodSeconds: 10
|
||||||
|
|||||||
@ -41,21 +41,21 @@ spec:
|
|||||||
memory: "1024Mi"
|
memory: "1024Mi"
|
||||||
startupProbe:
|
startupProbe:
|
||||||
httpGet:
|
httpGet:
|
||||||
path: /actuator/health
|
path: /api/v1/users/actuator/health
|
||||||
port: 8081
|
port: 8081
|
||||||
initialDelaySeconds: 30
|
initialDelaySeconds: 30
|
||||||
periodSeconds: 10
|
periodSeconds: 10
|
||||||
failureThreshold: 30
|
failureThreshold: 30
|
||||||
readinessProbe:
|
readinessProbe:
|
||||||
httpGet:
|
httpGet:
|
||||||
path: /actuator/health/readiness
|
path: /api/v1/users/actuator/health/readiness
|
||||||
port: 8081
|
port: 8081
|
||||||
initialDelaySeconds: 10
|
initialDelaySeconds: 10
|
||||||
periodSeconds: 5
|
periodSeconds: 5
|
||||||
failureThreshold: 3
|
failureThreshold: 3
|
||||||
livenessProbe:
|
livenessProbe:
|
||||||
httpGet:
|
httpGet:
|
||||||
path: /actuator/health/liveness
|
path: /api/v1/users/actuator/health/liveness
|
||||||
port: 8081
|
port: 8081
|
||||||
initialDelaySeconds: 30
|
initialDelaySeconds: 30
|
||||||
periodSeconds: 10
|
periodSeconds: 10
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user