REFACTOR(repo): restructure monitoring folder

- and add namespace resou...
- Remove argocd/, helm-values/, ingress/ subdirectories
- Move files to parent directory (argocd.yaml, helm-values.yaml,
  ingress.yaml)
- Update helm valueFiles paths in ArgoCD Applications
- Add namespace.yaml to all applications with Goldilocks labels
- Update destination namespaces to match folder names
- Update kustomization.yaml files to reference new structure
This commit is contained in:
2025-12-29 00:49:04 +09:00
parent 01c10141a9
commit 5c4676ca9a
33 changed files with 94 additions and 32 deletions

View File

@@ -0,0 +1,54 @@
# Alertmanager Helm Values
# Chart: https://github.com/prometheus-community/helm-charts/tree/main/charts/alertmanager
fullnameOverride: alertmanager
persistence:
enabled: true
size: 1Gi
storageClass: longhorn # Migrated from local-path to Longhorn (replica=3)
resources:
requests:
cpu: 10m
memory: 32Mi
# Prometheus ServiceMonitor 설정
serviceMonitor:
enabled: true
additionalLabels:
release: prometheus
namespace: monitoring
config:
global:
resolve_timeout: 5m
route:
group_by: ["alertname", "cluster", "service"]
group_wait: 10s
group_interval: 10s
repeat_interval: 12h
receiver: "default"
routes:
- match:
severity: critical
receiver: "critical"
continue: true
- match:
severity: warning
receiver: "warning"
receivers:
- name: "default"
# 기본 수신자 (로그만 남김)
- name: "critical"
# TODO: Slack, Email 등 알림 채널 추가
# webhook_configs:
# - url: 'http://your-webhook-url'
- name: "warning"
# TODO: 경고 알림 채널 추가
inhibit_rules:
- source_match:
severity: "critical"
target_match:
severity: "warning"
equal: ["alertname", "cluster", "service"]