From e5519abd19f2419d08eac282fa32770cd049c5a4 Mon Sep 17 00:00:00 2001 From: Joseph Hanson Date: Tue, 3 Oct 2023 11:19:50 +0000 Subject: [PATCH 1/2] Remove statsd from prometheus. --- .../monitoring/kube-prometheus-stack/app/helmrelease.yaml | 8 -------- 1 file changed, 8 deletions(-) diff --git a/kubernetes/apps/monitoring/kube-prometheus-stack/app/helmrelease.yaml b/kubernetes/apps/monitoring/kube-prometheus-stack/app/helmrelease.yaml index 85baa4f..811351c 100644 --- a/kubernetes/apps/monitoring/kube-prometheus-stack/app/helmrelease.yaml +++ b/kubernetes/apps/monitoring/kube-prometheus-stack/app/helmrelease.yaml @@ -207,14 +207,6 @@ spec: key: objstore.yml retention: 2d retentionSize: 15GB - additionalScrapeConfigs: - - job_name: statsd-exporter - scrape_interval: 1m - scrape_timeout: 10s - honor_timestamps: true - static_configs: - - targets: - - statsd-exporter.fediverse.svc.cluster.local:9102 # default zalando postgres cluster storageSpec: volumeClaimTemplate: spec: From ecce3067a6adb5b4312fe6e76b26cb34e7c2bf4f Mon Sep 17 00:00:00 2001 From: Joseph Hanson Date: Tue, 3 Oct 2023 14:31:03 +0000 Subject: [PATCH 2/2] Solving bursty CPU alerts. --- .../apps/rook-ceph/rook-ceph/cluster/helmrelease.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/kubernetes/apps/rook-ceph/rook-ceph/cluster/helmrelease.yaml b/kubernetes/apps/rook-ceph/rook-ceph/cluster/helmrelease.yaml index 83a35ad..0909e08 100644 --- a/kubernetes/apps/rook-ceph/rook-ceph/cluster/helmrelease.yaml +++ b/kubernetes/apps/rook-ceph/rook-ceph/cluster/helmrelease.yaml @@ -62,6 +62,14 @@ spec: - name: "arlen" devices: - name: /dev/disk/by-id/scsi-0HC_Volume_37460897 + resources: + mgr: + limits: + cpu: "1000m" + memory: "1Gi" + requests: + cpu: "1000m" + memory: "1Gi" ingress: ingressClassName: "nginx"