KubeStateMetricsShardingMismatch critical
kube-state-metrics pods are running with different --total-shards configuration, some Kubernetes objects may be exposed multiple times or not exposed at all.
>>>
(
{job="kube-state-metrics"}) by (cluster) != 0
The query computes the variance of the kube_state_metrics_total_shards metric across all kube-state-metrics pods per cluster; a non‑zero variance indicates that the pods are using different --total‑shards settings, which triggers the alert.
Get Alert✕
Download
Copy to Clipboard