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:
|
source:
|
||||||
repoURL: https://grafana.github.io/helm-charts
|
repoURL: https://grafana.github.io/helm-charts
|
||||||
chart: grafana
|
chart: grafana
|
||||||
targetRevision: "6.50.0"
|
targetRevision: "6.50.6"
|
||||||
helm:
|
helm:
|
||||||
releaseName: grafana-ops
|
releaseName: grafana-ops
|
||||||
values: |
|
values: |
|
||||||
|
deploymentStrategy:
|
||||||
|
type: Recreate
|
||||||
|
|
||||||
ingress:
|
ingress:
|
||||||
enabled: true
|
enabled: true
|
||||||
|
|
||||||
|
|
@ -49,12 +52,16 @@ spec:
|
||||||
datasources.yaml:
|
datasources.yaml:
|
||||||
apiVersion: 1
|
apiVersion: 1
|
||||||
datasources:
|
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
|
type: prometheus
|
||||||
url: http://monitoring-prometheus.monitoring:9090
|
url: http://monitoring-prometheus.monitoring:9090
|
||||||
access: proxy
|
access: proxy
|
||||||
isDefault: true
|
- name: In-Cluster Loki
|
||||||
- name: Cluster Loki
|
|
||||||
type: loki
|
type: loki
|
||||||
url: http://loki-gateway.logging:80
|
url: http://loki-gateway.logging:80
|
||||||
access: proxy
|
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