Tweaked metrics

This commit is contained in:
Marcus Noble 2022-05-27 21:02:19 +00:00
parent d8e2e4673f
commit 90c3faae54
2 changed files with 18 additions and 8 deletions

View File

@ -209,33 +209,33 @@ spec:
containers: containers:
- name: kube-state-metrics - name: kube-state-metrics
args: args:
- --resources=certificatesigningrequests #- --resources=certificatesigningrequests
- --resources=configmaps - --resources=configmaps
- --resources=cronjobs - --resources=cronjobs
- --resources=daemonsets - --resources=daemonsets
- --resources=deployments - --resources=deployments
- --resources=endpoints #- --resources=endpoints
- --resources=horizontalpodautoscalers #- --resources=horizontalpodautoscalers
- --resources=ingresses - --resources=ingresses
- --resources=jobs - --resources=jobs
- --resources=limitranges #- --resources=limitranges
- --resources=mutatingwebhookconfigurations - --resources=mutatingwebhookconfigurations
- --resources=namespaces - --resources=namespaces
- --resources=networkpolicies #- --resources=networkpolicies
- --resources=nodes - --resources=nodes
- --resources=persistentvolumeclaims - --resources=persistentvolumeclaims
- --resources=persistentvolumes - --resources=persistentvolumes
- --resources=poddisruptionbudgets - --resources=poddisruptionbudgets
- --resources=pods - --resources=pods
- --resources=replicasets - --resources=replicasets
- --resources=replicationcontrollers #- --resources=replicationcontrollers
- --resources=resourcequotas #- --resources=resourcequotas
- --resources=secrets - --resources=secrets
- --resources=services - --resources=services
- --resources=statefulsets - --resources=statefulsets
- --resources=storageclasses - --resources=storageclasses
- --resources=validatingwebhookconfigurations - --resources=validatingwebhookconfigurations
- --resources=volumeattachments #- --resources=volumeattachments
imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent
image: "k8s.gcr.io/kube-state-metrics/kube-state-metrics:v2.4.2" image: "k8s.gcr.io/kube-state-metrics/kube-state-metrics:v2.4.2"
ports: ports:

View File

@ -62,6 +62,16 @@ spec:
- --no-collector.wifi - --no-collector.wifi
- --no-collector.hwmon - --no-collector.hwmon
- --no-collector.netclass - --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/.+)($|/) - --collector.filesystem.ignored-mount-points=^/(dev|proc|sys|var/lib/docker/.+|var/lib/kubelet/pods/.+)($|/)
- --web.listen-address=:9100 - --web.listen-address=:9100
ports: ports: