From 28c2d14a02b7c41c12c24033880465c35c81b624 Mon Sep 17 00:00:00 2001 From: CarlosEDP Date: Wed, 16 May 2018 12:11:32 -0500 Subject: [PATCH 1/2] Updated Prometheus --- manifests/grafana/grafana-external-ingress.yaml | 4 ++-- manifests/prometheus/prometheus-k8s.yaml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/manifests/grafana/grafana-external-ingress.yaml b/manifests/grafana/grafana-external-ingress.yaml index 84f8c30..7b79f0d 100644 --- a/manifests/grafana/grafana-external-ingress.yaml +++ b/manifests/grafana/grafana-external-ingress.yaml @@ -7,8 +7,8 @@ metadata: traffic-type: external annotations: traefik.frontend.rule.type: PathPrefix - traefik.frontend.redirect.regex: ^http://(.*) - traefik.frontend.redirect.replacement: https://$1 + #traefik.frontend.redirect.regex: ^http://(.*) + #traefik.frontend.redirect.replacement: https://$1 spec: rules: - host: grafana.cloud.carlosedp.com diff --git a/manifests/prometheus/prometheus-k8s.yaml b/manifests/prometheus/prometheus-k8s.yaml index 919c056..90a05b3 100644 --- a/manifests/prometheus/prometheus-k8s.yaml +++ b/manifests/prometheus/prometheus-k8s.yaml @@ -7,7 +7,7 @@ metadata: spec: replicas: 1 baseImage: carlosedp/prometheus - version: v2.1.0 + version: v2.2.1 retention: "168h" serviceAccountName: prometheus-k8s serviceMonitorSelector: @@ -23,7 +23,7 @@ spec: # memory. Modify based on your target and time-series count for # production use. This value is mainly meant for demonstration/testing # purposes. - memory: 400Mi + memory: 512Mi alerting: alertmanagers: - namespace: monitoring From 2c441c79bb72623cc4da69901d8bda0ca45f27cd Mon Sep 17 00:00:00 2001 From: CarlosEDP Date: Mon, 21 May 2018 16:53:39 -0500 Subject: [PATCH 2/2] Ignore filesystem on node_exporter --- manifests/node-exporter/node-exporter-daemonset.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/manifests/node-exporter/node-exporter-daemonset.yaml b/manifests/node-exporter/node-exporter-daemonset.yaml index 39c1ae0..06d4fe2 100644 --- a/manifests/node-exporter/node-exporter-daemonset.yaml +++ b/manifests/node-exporter/node-exporter-daemonset.yaml @@ -25,6 +25,8 @@ spec: #- "--web.listen-address=0.0.0.1:9100" - "--path.procfs=/host/proc" - "--path.sysfs=/host/sys" + - "--collector.filesystem.ignored-mount-points" + - '^(\/(host|root)\/sys\/kernel\/debug\/).*' name: node-exporter ports: - containerPort: 9100