Skip to content

Feat/code improvements - #15

Open
joungGo wants to merge 8 commits into
developfrom
feat/code-improvements
Open

joungGo wants to merge 8 commits into
developfrom
feat/code-improvements

Conversation

@joungGo

@joungGo joungGo commented Sep 10, 2026

Copy link
Copy Markdown
Collaborator

No description provided.

- sources를 외부 Helm 차트와 Git 저장소의 두 항목으로 구성
- ref: values와 $values 경로로 프로젝트 설정 파일 연결
- values 파일을 feat/code-improvements 브랜치에서 읽도록 지정
- .helmignore에 secret values 파일 제외 규칙 추가
- .dockerignore로 환경 파일·비밀값·로컬 산출물 제외
- HPA 활성화 시 Deployment replicas 렌더링 제외
- Argo CD가 HPA가 조정한 replicas 차이를 무시하도록 설정
- 연결 풀 크기와 timeout을 환경변수 및 Helm values로 분리
- HPA와 롤링 업데이트를 고려해 운영 연결 수 제한
- Replica 미사용 시 read/write 연결 풀 공유
- 캐시 세대 키와 최근 쓰기 Primary 조회 창 추가
- 생성·삭제 후 세대 증가로 오래된 캐시 격리
- 일관성 창 외 cache miss는 Read Replica 유지
- Prometheus와 Alertmanager의 emptyDir 임시 스토리지를 EBS PVC(gp2)로 변경하여 Pod 재기동 시 시계열 데이터 및 Silence 상태 보존

- Prometheus storageSpec의 volumeClaimTemplate 계층 누락 및 storageClassName 오타 수정

- 디스크 용량 초과로 인한 크래시 방지를 위해 50Gi PVC 기준 retentionSize를 40Gi로 설정

- 노드 OOM 방지 및 안정적인 스케줄링을 위한 Prometheus Pod 리소스(requests/limits) 설정
@joungGo joungGo self-assigned this Sep 10, 2026
@coderabbitai

coderabbitai Bot commented Sep 10, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Advanced

Run ID: 67b89153-f6cd-4479-abe2-e12109f8b2a8

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

- OIDC Role의 신뢰 subject를 main 브랜치 push로 축소
- 기능 브랜치와 PR의 ECR push Role Assume 차단
- CI/CD 배포 트리거와 쓰기 권한을 운영 배포 job으로 한정
- 모든 알림 규칙(HighErrorRate, CacheHitRateLow, CacheOperationErrorHigh, DBQueryLatencyHigh, APIRequestLatencyHigh)에 namespace 및 service 라벨 selector 추가하여 타 서비스 메트릭 혼입 방지
- HighErrorRate의 분자/분모 모두에서 probe(/healthz, /readyz) 경로를 제외하여 사용자 요청 에러율 희석 방지
- CacheHitRateLow 평가 시 첫 hit 전 시계열 부재(Empty Vector)로 알림이 누락되지 않도록 vector(0) fallback 적용
@sonarqubecloud

Copy link
Copy Markdown

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.

2 participants