refactor(k8s): Reorganize into 5-layer structure with production kustomizations

This commit is contained in:
Story Crater Bot
2026-08-18 15:08:01 -07:00
parent 563f720d09
commit 0f30d77288
214 changed files with 405 additions and 885 deletions
@@ -0,0 +1,48 @@
service: argocd
display_name: "Argo CD"
namespace: argocd
service_type: web-app
folder: "Argo CD"
jobs: [argocd-server, argocd-repo-server]
metrics:
prefix: argocd
up_selector: 'job=~"argocd-.*"'
rate:
metric: argocd_http_request_total
labels: [method, path, status]
duration:
metric: argocd_http_request_duration_seconds
type: histogram
unit: s
error:
metric: argocd_http_request_total
filter: 'status=~"5.."'
domain:
- metric: argocd_app_total
kind: gauge
- metric: argocd_app_sync_total
kind: counter
labels: [sync_status]
- metric: argocd_app_health_degraded_total
kind: counter
- metric: argocd_git_sync_total
kind: counter
labels: [git_operation, git_status]
- metric: argocd_reconcile_total
kind: counter
labels: [app_name]
correlation_ids: []
logs:
loki_namespace_selector: 'namespace="argocd"'
alerts:
- name: HighErrorRate
expr_template: rate_error_ratio
threshold: 0.05
for: 10m
severity: warning
- name: AppSyncFailure
expr_template: gauge_above_threshold
metric: argocd_app_health_degraded_total
threshold: 1
for: 10m
severity: warning