Skip to content

Latest commit

 

History

History
15 lines (15 loc) · 1.33 KB

deploy-kube-state-metrics.asciidoc

File metadata and controls

15 lines (15 loc) · 1.33 KB

You need to deploy kube-state-metrics to get the metrics about the state of the objects on the cluster (see the Kubernetes deployment docs). You can do that by first downloading the project:

+

gh repo clone kubernetes/kube-state-metrics

+ And then deploying it:

+

kubectl apply -k kube-state-metrics

+ WARNING: On managed Kubernetes solutions, such as AKS, GKE or EKS, {agent} does not have the required permissions to collect metrics from Kubernetes control plane components, like kube-scheduler and kube-controller-manager. Audit logs are only available on Kubernetes control plane nodes as well, and hence cannot be collected by {agent}. Refer here to find more information. For more information about specific cloud providers, refer to [running-on-aks-managed-by-fleet], [running-on-gke-managed-by-fleet] and [running-on-eks-managed-by-fleet]