Ever since
https://github.com/prometheus-operator/prometheus-operator/pull/5049,
the relabel config workaround to ignore non-running pods is no longer
needed. This commit cleans up the podmonitor to keep the code tidy.
Signed-off-by: Lucas Servén Marín <lserven@gmail.com>
Added a comment to kube-state-metrics-config.yaml relating to how to
integrate the sample config with an existing Prometheus configuration.
Current sample will supersede existing config otherwise.
Signed-off-by: ed-boykin <140439307+ed-boykin@users.noreply.github.com>
The alert and provider APIs from notification-controller no longer have
status to report readiness.
Dashboards should be designed to assume Ready=True for no status. The
Flux Cluster Stats dashboard already does this for the objects it
shows.
Signed-off-by: Sunny <darkowlzz@protonmail.com>
Add `suspended` to the list of excluded fields in the transformation for
resource readiness. This is needed to not introduce a new field in
cluster reconciliation readiness and source acquisition readiness
panels when a resource is suspended.
Signed-off-by: Sunny <darkowlzz@protonmail.com>
Move the KSM values to a separate file to make it easy to change without
affecting the other values. Use ConfigMapGenerator to put these values
in a ConfigMap and refer to it in HelmRelease as valuesFrom ConfigMap.
Signed-off-by: Sunny <darkowlzz@protonmail.com>
- Add `suspended` labels to all info metrics
- Add `url` and `revision` labels to source metrics
- Add `source_name` and `revision` labels to Kustomization objects
- Add `chart_name` and `revision` labels to HelmRelease objects
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>