Skip to content

fix: 코드리뷰 critical/high 항목 수정 (#57)#58

Merged
eomkyeongmun merged 1 commit into
mainfrom
fix/k8s-review-critical
Jun 1, 2026
Merged

fix: 코드리뷰 critical/high 항목 수정 (#57)#58
eomkyeongmun merged 1 commit into
mainfrom
fix/k8s-review-critical

Conversation

@eomkyeongmun

Copy link
Copy Markdown
Contributor

closes #57

변경

  • postgres: DeploymentStatefulSet + volumeClaimTemplates(10Gi, 기본 SC) — Pod 재시작/노드 교체 시 데이터 전손실 해결. PGDATA를 subPath로 분리(lost+found 충돌 회피)
  • backend configmap: LOKI_URL loki-gateway.monitoring:80(비활성) → loki.monitoring.svc:3100
  • backend/ai/frontend: resources requests·limits 추가 (t3.small OOM/eviction 방지)
  • ai: 모델 PVC 100Mi10Gi

base만 수정해 eks/kind overlay 양쪽 자동 반영. YAML 검증 통과.

🤖 Generated with Claude Code

- postgres: Deployment → StatefulSet + 영속 PVC(10Gi)로 전환하여 Pod 재시작/노드 교체 시 데이터 전손실 해결 (PGDATA를 subPath로 분리, 기본 SC 사용해 kind/EKS 공용)
- backend configmap: LOKI_URL을 비활성 loki-gateway → loki.monitoring.svc:3100 으로 수정
- backend/ai/frontend: resources requests·limits 추가하여 t3.small 노드 OOM/eviction 방지
- ai: 모델 PVC 100Mi → 10Gi 로 상향 (모델 저장 실패 방지)

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@eomkyeongmun eomkyeongmun merged commit f8e1216 into main Jun 1, 2026
1 check passed
@eomkyeongmun eomkyeongmun deleted the fix/k8s-review-critical branch June 1, 2026 03:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix: 코드리뷰 critical/high 항목 수정 (postgres 영속성, resources, LOKI_URL)

1 participant