commit 83a9e3acc98be39190b814abce2dedb03b5dc083 Author: qorgh529 Date: Fri Mar 6 07:53:57 2026 +0000 Add monitoring.yaml diff --git a/monitoring.yaml b/monitoring.yaml new file mode 100644 index 0000000..d015a2f --- /dev/null +++ b/monitoring.yaml @@ -0,0 +1,38 @@ +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + name: kube-prometheus-stack + namespace: argocd +spec: + project: default + source: + repoURL: https://prometheus-community.github.io/helm-charts + chart: kube-prometheus-stack + targetRevision: 61.3.1 + helm: + values: | + grafana: + service: + type: NodePort + nodePort: 32000 + grafana.ini: + server: + root_url: http://localhost:32000 + prometheus: + prometheusSpec: + retention: 10d + storageSpec: + volumeClaimTemplate: + spec: + accessModes: ["ReadWriteOnce"] + resources: + requests: + storage: 10Gi + destination: + server: https://kubernetes.default.svc + namespace: monitoring + syncPolicy: + automated: + prune: true + selfHeal: true + createNamespace: true \ No newline at end of file