kt-event-marketing/.github/kustomize/base/participation-service-deployment.yaml
wonho a876a1c6da 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>
2025-10-31 10:43:40 +09:00

63 lines
1.7 KiB
YAML

apiVersion: apps/v1
kind: Deployment
metadata:
name: participation-service
labels:
app: participation-service
spec:
replicas: 1
selector:
matchLabels:
app: participation-service
template:
metadata:
labels:
app: participation-service
spec:
imagePullSecrets:
- name: kt-event-marketing
containers:
- name: participation-service
image: acrdigitalgarage01.azurecr.io/kt-event-marketing/participation-service:latest
imagePullPolicy: Always
ports:
- containerPort: 8084
name: http
envFrom:
- configMapRef:
name: cm-common
- configMapRef:
name: cm-participation-service
- secretRef:
name: secret-common
- secretRef:
name: secret-participation-service
resources:
requests:
cpu: "256m"
memory: "256Mi"
limits:
cpu: "1024m"
memory: "1024Mi"
startupProbe:
httpGet:
path: /api/v1/participations/actuator/health
port: 8084
initialDelaySeconds: 60
periodSeconds: 10
failureThreshold: 30
livenessProbe:
httpGet:
path: /api/v1/participations/actuator/health/liveness
port: 8084
initialDelaySeconds: 0
periodSeconds: 10
failureThreshold: 3
readinessProbe:
httpGet:
path: /api/v1/participations/actuator/health/readiness
port: 8084
initialDelaySeconds: 0
periodSeconds: 10
failureThreshold: 3