Adds victoria-metrics-single, grafana, kube-state-metrics, and node-exporter to the cluster. Enables metrics endpoints on traefik, argocd, and cert-manager for scraping. Grafana available at grafana.tr1ceracop.de with VictoriaMetrics as default datasource. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
32 lines
843 B
YAML
32 lines
843 B
YAML
apiVersion: argoproj.io/v1alpha1
|
|
kind: Application
|
|
metadata:
|
|
annotations:
|
|
myks.dev/environment: production
|
|
finalizers:
|
|
- resources-finalizer.argocd.argoproj.io
|
|
name: app-production-victoria-metrics-single
|
|
namespace: argocd
|
|
spec:
|
|
destination:
|
|
namespace: victoria-metrics-single
|
|
server: https://kubernetes.default.svc
|
|
ignoreDifferences:
|
|
- group: apps
|
|
jqPathExpressions:
|
|
- .spec.volumeClaimTemplates
|
|
kind: StatefulSet
|
|
project: env-production
|
|
source:
|
|
path: rendered/envs/production/victoria-metrics-single
|
|
repoURL: ssh://git@git.tr1ceracop.de:222/gitea_admin/k8s-and-chill.git
|
|
targetRevision: main
|
|
syncPolicy:
|
|
automated:
|
|
prune: true
|
|
selfHeal: true
|
|
syncOptions:
|
|
- CreateNamespace=true
|
|
- ServerSideApply=true
|
|
- RespectIgnoreDifferences=true
|