Skip to content

Instantly share code, notes, and snippets.

@SuperQ
SuperQ / kubeApiServer_values.yaml
Last active June 8, 2022 13:49
Drop excessive cAdvisor metrics from kube-prometheus-stack helm chart.
# Taken from https://bugzilla.redhat.com/show_bug.cgi?id=1801154
kubeApiServer:
serviceMonitor:
metricRelabelings:
- action: drop
regex: apiserver_request_duration_seconds_bucket;(0.15|0.25|0.3|0.35|0.4|0.45|0.6|0.7|0.8|0.9|1.25|1.5|1.75|2.5|3|3.5|4.5|6|7|8|9|15|25|30|50)
sourceLabels:
- __name__
- le