From 90c3faae5498fbf552f394d8476e9df0b4477db0 Mon Sep 17 00:00:00 2001 From: Marcus Noble Date: Fri, 27 May 2022 21:02:19 +0000 Subject: [PATCH] Tweaked metrics --- manifests/monitoring/kube-state-metrics.yaml | 16 ++++++++-------- manifests/monitoring/node-exporter.yaml | 10 ++++++++++ 2 files changed, 18 insertions(+), 8 deletions(-) diff --git a/manifests/monitoring/kube-state-metrics.yaml b/manifests/monitoring/kube-state-metrics.yaml index cba61e5..15e96bc 100644 --- a/manifests/monitoring/kube-state-metrics.yaml +++ b/manifests/monitoring/kube-state-metrics.yaml @@ -209,33 +209,33 @@ spec: containers: - name: kube-state-metrics args: - - --resources=certificatesigningrequests + #- --resources=certificatesigningrequests - --resources=configmaps - --resources=cronjobs - --resources=daemonsets - --resources=deployments - - --resources=endpoints - - --resources=horizontalpodautoscalers + #- --resources=endpoints + #- --resources=horizontalpodautoscalers - --resources=ingresses - --resources=jobs - - --resources=limitranges + #- --resources=limitranges - --resources=mutatingwebhookconfigurations - --resources=namespaces - - --resources=networkpolicies + #- --resources=networkpolicies - --resources=nodes - --resources=persistentvolumeclaims - --resources=persistentvolumes - --resources=poddisruptionbudgets - --resources=pods - --resources=replicasets - - --resources=replicationcontrollers - - --resources=resourcequotas + #- --resources=replicationcontrollers + #- --resources=resourcequotas - --resources=secrets - --resources=services - --resources=statefulsets - --resources=storageclasses - --resources=validatingwebhookconfigurations - - --resources=volumeattachments + #- --resources=volumeattachments imagePullPolicy: IfNotPresent image: "k8s.gcr.io/kube-state-metrics/kube-state-metrics:v2.4.2" ports: diff --git a/manifests/monitoring/node-exporter.yaml b/manifests/monitoring/node-exporter.yaml index f338602..ffd6bbe 100644 --- a/manifests/monitoring/node-exporter.yaml +++ b/manifests/monitoring/node-exporter.yaml @@ -62,6 +62,16 @@ spec: - --no-collector.wifi - --no-collector.hwmon - --no-collector.netclass + - --no-collector.arp + - --no-collector.bcache + - --no-collector.bonding + - --no-collector.btrfs + - --no-collector.dmi + - --no-collector.edac + - --no-collector.entropy + - --no-collector.fibrechannel + - --no-collector.infiniband + - --no-collector.tapestats - --collector.filesystem.ignored-mount-points=^/(dev|proc|sys|var/lib/docker/.+|var/lib/kubelet/pods/.+)($|/) - --web.listen-address=:9100 ports: