Add monitoring.yaml
This commit is contained in:
38
monitoring.yaml
Normal file
38
monitoring.yaml
Normal file
@@ -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
|
||||
Reference in New Issue
Block a user