Skip to content
Snippets Groups Projects
  1. Feb 03, 2022
    • Arunprasad Rajkumar's avatar
      Sanitize regex denylist in ksm-lite addon · f16277e8
      Arunprasad Rajkumar authored
      
      The following metrics are missing from kube-state-metrics:
      - kube_pod_container_status_terminated_reason
      - kube_pod_init_container_status_terminated_reason
      - kube_pod_status_scheduled_time
      
      Previously, some metrics were removed from kube-state-metrics by adding the following --metric-denylist argument to the kube-state-metrics container
      
      ```
      --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
      ```
      
      --metric-denylist: Comma-separated list of metrics not to be enabled. This list comprises of exact metric names and/or regex patterns. The allowlist and denylist are mutually exclusive.
      
      However, all the list of metrics is managed as RegEx, thus "kube_pod_container_status_terminated" denies .*kube_pod_container_status_terminated.*, that's why kube_pod_init_container_status_terminated_reason is missing
      
      Co-authored-by: default avatarFlorian Gleizes <fgleizes@redhat.com>
      Signed-off-by: default avatarArunprasad Rajkumar <arajkuma@redhat.com>
      f16277e8
  2. Feb 02, 2022
  3. Feb 01, 2022
  4. Jan 31, 2022
  5. Jan 28, 2022
  6. Jan 27, 2022
  7. Jan 25, 2022
  8. Jan 24, 2022
  9. Jan 18, 2022
  10. Jan 17, 2022
  11. Jan 10, 2022
Loading