diff --git a/jsonnet/kube-prometheus/addons/ksm-lite.libsonnet b/jsonnet/kube-prometheus/addons/ksm-lite.libsonnet index dec2256f027c6c654b2a067e0798bf3955d33f2e..a34655ad6f9ca7fa28b94e0b3b3b51b529577501 100644 --- a/jsonnet/kube-prometheus/addons/ksm-lite.libsonnet +++ b/jsonnet/kube-prometheus/addons/ksm-lite.libsonnet @@ -16,17 +16,17 @@ local addArgs(args, name, containers) = std.map( containers: addArgs( [||| --metric-denylist= - kube_.+_created, - kube_.+_metadata_resource_version, - kube_replicaset_metadata_generation, - kube_replicaset_status_observed_generation, - kube_pod_restart_policy, - kube_pod_init_container_status_terminated$, - kube_pod_init_container_status_running, - kube_pod_container_status_terminated$, - kube_pod_container_status_running, - kube_pod_completion_time, - kube_pod_status_scheduled$ + ^kube_.+_created$, + ^kube_.+_metadata_resource_version$, + ^kube_replicaset_metadata_generation$, + ^kube_replicaset_status_observed_generation$, + ^kube_pod_restart_policy$, + ^kube_pod_init_container_status_terminated$, + ^kube_pod_init_container_status_running$, + ^kube_pod_container_status_terminated$, + ^kube_pod_container_status_running$, + ^kube_pod_completion_time$, + ^kube_pod_status_scheduled$ |||], 'kube-state-metrics', super.containers