Compare commits
10 commits
445a047864
...
43d0f83753
| Author | SHA1 | Date | |
|---|---|---|---|
| 43d0f83753 | |||
| 506e7814b3 | |||
| 20f82ef641 | |||
| 15fc85fafb | |||
| 9aa80c21d9 | |||
| 339b9053b2 | |||
| 44e5d4ca10 | |||
| 025a9a0f79 | |||
| 4423c54b00 | |||
| c8a3f251bf |
2 changed files with 79 additions and 4 deletions
|
|
@ -13,10 +13,13 @@ spec:
|
|||
source:
|
||||
repoURL: https://grafana.github.io/helm-charts
|
||||
chart: grafana
|
||||
targetRevision: "6.50.0"
|
||||
targetRevision: "6.50.6"
|
||||
helm:
|
||||
releaseName: grafana-ops
|
||||
values: |
|
||||
deploymentStrategy:
|
||||
type: Recreate
|
||||
|
||||
ingress:
|
||||
enabled: true
|
||||
|
||||
|
|
@ -49,12 +52,16 @@ spec:
|
|||
datasources.yaml:
|
||||
apiVersion: 1
|
||||
datasources:
|
||||
- name: Cluster Prometheus
|
||||
- name: Prometheus
|
||||
type: prometheus
|
||||
url: http://ops-prometheus.monitoring-ops:9090
|
||||
access: proxy
|
||||
isDefault: true
|
||||
- name: In-Cluster Prometheus
|
||||
type: prometheus
|
||||
url: http://monitoring-prometheus.monitoring:9090
|
||||
access: proxy
|
||||
isDefault: true
|
||||
- name: Cluster Loki
|
||||
- name: In-Cluster Loki
|
||||
type: loki
|
||||
url: http://loki-gateway.logging:80
|
||||
access: proxy
|
||||
|
|
|
|||
68
clusters/bee/argocd-apps/monitoring-ops.yaml
Normal file
68
clusters/bee/argocd-apps/monitoring-ops.yaml
Normal file
|
|
@ -0,0 +1,68 @@
|
|||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: monitoring-ops
|
||||
namespace: argocd
|
||||
finalizers:
|
||||
- resources-finalizer.argocd.argoproj.io
|
||||
spec:
|
||||
destination:
|
||||
namespace: monitoring-ops
|
||||
server: https://kubernetes.default.svc
|
||||
project: default
|
||||
source:
|
||||
repoURL: https://prometheus-community.github.io/helm-charts
|
||||
chart: kube-prometheus-stack
|
||||
targetRevision: "44.3.1"
|
||||
helm:
|
||||
releaseName: monitoring-ops
|
||||
skipCrds: true
|
||||
values: |
|
||||
cleanPrometheusOperatorObjectNames: true
|
||||
fullnameOverride: ops
|
||||
|
||||
defaultRules:
|
||||
create: false
|
||||
|
||||
prometheus:
|
||||
podDisruptionBudget:
|
||||
enabled: true
|
||||
minAvailable: 1
|
||||
maxUnavailable: ""
|
||||
|
||||
prometheusSpec:
|
||||
logFormat: json
|
||||
retention: 5d
|
||||
replicas: 2
|
||||
|
||||
storageSpec:
|
||||
volumeClaimTemplate:
|
||||
spec:
|
||||
storageClassName: hcloud-volumes
|
||||
accessModes: ["ReadWriteOnce"]
|
||||
resources:
|
||||
requests:
|
||||
storage: 50Gi
|
||||
|
||||
alertmanager:
|
||||
enabled: false
|
||||
|
||||
prometheusOperator:
|
||||
enabled: false
|
||||
|
||||
grafana:
|
||||
enabled: false
|
||||
|
||||
kubeStateMetrics:
|
||||
enabled: false
|
||||
|
||||
nodeExporter:
|
||||
enabled: false
|
||||
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: true
|
||||
selfHeal: true
|
||||
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
Reference in a new issue