FEAT(k8s): add k8s monitoring dashboard

- Add monitoring page with Grafana-style UI and real-time charts
- Implement Prometheus metrics API endpoint with comprehensive queries
- Add Chart.js for visualizing cluster metrics
- Include Overview, Resources, Kubernetes, and Network sections
- Support both production (Prometheus) and development (mock) data
- Add PROMETHEUS_URL environment variable to deployment
This commit is contained in:
2025-11-26 22:55:07 +09:00
parent efd7549a29
commit 93d746dfc2
6 changed files with 1007 additions and 1 deletions

View File

@@ -43,6 +43,8 @@ spec:
name: argocd-ca-cert
key: ca.crt
optional: true
- name: PROMETHEUS_URL
value: "http://prometheus.monitoring.svc.cluster.local:9090"
resources:
requests:
memory: "100Mi"

View File

@@ -13,7 +13,7 @@ commonLabels:
# 이미지 태그 설정
images:
- name: ghcr.io/mayne0213/portfolio
newTag: main-sha-0981be0a1847a9bce2595c0eb42bb616e0c4ae30
newTag: main-sha-a9ded587c52ffcd723797ef76cfbfde8c3641e0c
patchesStrategicMerge:
- deployment-patch.yaml