Skip to content

chore: 모니터링 환경, 환경별 Kustomization 개선#43

Merged
doup2001 merged 3 commits intomainfrom
chore/#40
Apr 9, 2026
Merged

chore: 모니터링 환경, 환경별 Kustomization 개선#43
doup2001 merged 3 commits intomainfrom
chore/#40

Conversation

@doup2001
Copy link
Copy Markdown
Member

@doup2001 doup2001 commented Apr 9, 2026

📌 작업한 내용

  • Kustomize 구조를 개선하여 환경별(overlay/base) 확장성을 제공.

🔍 참고 사항

  • HTTPRoute는 Gateway API의 핵심 리소스로 세밀한 경로 기반 라우팅을 지원합니다.
  • Kustomize base/overlay 구조로 dev/staging/prod 환경별 설정을 분리 관리 가능.

🖼️ 스크린샷

(해당 사항 없음)

🔗 관련 이슈

#40

✅ 체크리스트

  • 로컬에서 빌드 및 테스트 완료
  • 코드 리뷰 반영 완료
  • 문서화 필요 여부 확인

Summary by CodeRabbit

릴리스 노트

  • 설정 변경
    • Argo 리스너 설정 비활성화
    • Grafana 리스너 설정 추가 (도메인 및 TLS 보안 포함)
    • 모니터링 백엔드 라우팅 업데이트
    • 배포 소스 경로 업데이트

@doup2001 doup2001 self-assigned this Apr 9, 2026
@doup2001 doup2001 added the refactor 코드 리팩토링 및 구조 개선 label Apr 9, 2026
@doup2001 doup2001 merged commit e17f138 into main Apr 9, 2026
1 check was pending
@doup2001 doup2001 deleted the chore/#40 branch April 9, 2026 07:48
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Apr 9, 2026

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: fd3e5f44-971e-4884-8ee3-b6dcd661c646

📥 Commits

Reviewing files that changed from the base of the PR and between 2e4a716 and a462623.

📒 Files selected for processing (5)
  • k8s-argocd/applications/prod/platform/monitoring-httproute.yaml
  • k8s-helm/.gitignore
  • k8s-helm/platform-chart/values.yaml
  • k8s-kustomize/platform/monitoring/overlays/prod/httproute.yaml
  • k8s-kustomize/platform/monitoring/overlays/prod/kustomization.yaml

📋 워크스루

Argo CD 애플리케이션의 소스 경로를 overlays/prod 디렉토리로 업데이트하고, Helm 차트의 게이트웨이 리스너 설정을 수정했습니다. Argo 리스너를 비활성화하고 Grafana 리스너를 추가한 후, 백엔드 서비스 참조명을 변경했습니다.

📊 변경사항

응집도 / 파일 요약
Argo CD 애플리케이션 소스 경로
k8s-argocd/applications/prod/platform/monitoring-httproute.yaml
spec.source.pathk8s-kustomize/platform/monitoring/overlays/prod로 업데이트하여 Kustomize 배포 디렉토리를 변경했습니다.
Helm 값 및 게이트웨이 설정
k8s-helm/platform-chart/values.yaml
gateway.listeners.argo.enabledtrue에서 false로 변경하고, gateway.listeners.grafana 블록(enabled: false, domain, tlsSecretName)을 새로 추가했습니다.
HTTPRoute 백엔드 참조
k8s-kustomize/platform/monitoring/overlays/prod/httproute.yaml
백엔드 서비스명을 pinhouse-monitoring-core-grafana에서 monitoring-core-grafana로 업데이트했습니다.
빌드 관리
k8s-helm/.gitignore
platform-chart/templates/**/*.yaml 파일을 명시적으로 추적하도록 부정 규칙을 추가했습니다.
Kustomization 주석
k8s-kustomize/platform/monitoring/overlays/prod/kustomization.yaml
주석 헤더를 "Grafana HTTPRoute (NGINX Gateway Fabric)"에서 "Grafana HTTPRoute (Prod)"로 업데이트했습니다.

🔍 예상 코드 리뷰 소요 시간

🎯 2 (단순) | ⏱️ ~8분

🔗 관련 가능성 있는 PR

🐰 시 (Poem)

🏔️ 경로를 정리하고 리스너를 재배치하니
우리의 모니터링은 Prod로 날아가네요
Argo는 쉬고 Grafana가 깨어났어요
매니페스트 정렬, 깔끔한 구조
배포의 여정, 더욱 명확해졌네! 🚀

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch chore/#40

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 and usage tips.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

refactor 코드 리팩토링 및 구조 개선

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant