We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The v2 release of kube-state-metrics removes several deprecated metrics with some usage here.
kube-state-metrics
Referenced at: https://github.com/kubernetes/kube-state-metrics/blob/release-1.9/docs/README.md#metrics-deprecation
charts/prometheus/templates/prometheus-alerts-configmap.yaml should be updated to use the new forms for the affected metrics:
charts/prometheus/templates/prometheus-alerts-configmap.yaml
kube_pod_container_resource_requests_cpu_cores
kube_pod_container_resource_requests{resource="cpu",unit="core"}
kube_pod_container_resource_requests_memory_bytes
kube_pod_container_resource_requests{resource="memory",unit="byte"}
kube_node_status_capacity_pods
kube_node_status_capacity{resource="pods",unit="integer"}
kube_node_status_allocatable_cpu_cores
kube_node_status_allocatable{resource="cpu",unit="core"}
kube_node_status_allocatable_memory_bytes
kube_node_status_allocatable{resource="memory",unit="byte"}
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Issue
The v2 release of
kube-state-metrics
removes several deprecated metrics with some usage here.Additional Context
Referenced at: https://github.com/kubernetes/kube-state-metrics/blob/release-1.9/docs/README.md#metrics-deprecation
Resolution
charts/prometheus/templates/prometheus-alerts-configmap.yaml
should be updated to use the new forms for the affected metrics:kube_pod_container_resource_requests_cpu_cores
~kube_pod_container_resource_requests{resource="cpu",unit="core"}
kube_pod_container_resource_requests_memory_bytes
~kube_pod_container_resource_requests{resource="memory",unit="byte"}
kube_node_status_capacity_pods
~kube_node_status_capacity{resource="pods",unit="integer"}
kube_node_status_allocatable_cpu_cores
~kube_node_status_allocatable{resource="cpu",unit="core"}
kube_node_status_allocatable_memory_bytes
~kube_node_status_allocatable{resource="memory",unit="byte"}
The text was updated successfully, but these errors were encountered: