Skip to content

Commit

Permalink
add_prom
Browse files Browse the repository at this point in the history
  • Loading branch information
andreyev committed Nov 6, 2024
1 parent e797a69 commit 6e656c3
Showing 1 changed file with 40 additions and 0 deletions.
40 changes: 40 additions & 0 deletions applicationsets/prometheus.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
apiVersion: argoproj.io/v1alpha1
kind: ApplicationSet
metadata:
name: prometheus-applicationset
namespace: argocd
spec:
generators:
- list:
elements:
- cluster: "in-cluster"
template:
metadata:
name: prometheus
spec:
project: default
source:
repoURL: https://prometheus-community.github.io/helm-charts
targetRevision: 65.8.0
chart: kube-prometheus-stack
helm:
releaseName: prometheus
values: | # Optional custom values.yaml content
persistence:
enabled: true
size: 8Gi
resources:
requests:
memory: "512Mi"
cpu: "700m"
limits:
memory: "1Gi"
cpu: "1"
destination:
server: https://kubernetes.default.svc
namespace: default # Target namespace
syncPolicy:
automated:
prune: true # Remove obsolete resources
selfHeal: true # Automatically fix drift

0 comments on commit 6e656c3

Please # to comment.