From b5014275a7c8142bd1364be391d1886ed9735ee9 Mon Sep 17 00:00:00 2001 From: Nishant Modak Date: Mon, 13 Nov 2023 19:47:24 -0800 Subject: [PATCH] Metric is deprecated in v2 kube-state-metrics. Fixes #8835. (#8869) Documentation update. **Link to tracking Issue:** #8835 --- docs/monitoring.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/monitoring.md b/docs/monitoring.md index 3b73d8f85b1..d50782db712 100644 --- a/docs/monitoring.md +++ b/docs/monitoring.md @@ -16,7 +16,7 @@ desired reliability level. ### Low on CPU Resources This depends on the CPU metrics available on the deployment, eg.: -`kube_pod_container_resource_limits_cpu_cores` for Kubernetes. Let's call it +`kube_pod_container_resource_limits{resource="cpu", unit="core"}` for Kubernetes. Let's call it `available_cores` below. The idea here is to have an upper bound of the number of available cores, and the maximum expected ingestion rate considered safe, let's call it `safe_rate`, per core. This should trigger increase of resources/