Details
-
New Feature
-
Status: Done
-
Medium
-
Resolution: Done
-
None
-
None
-
4
-
Server Integrations
Description
User Story:
As a dashboard developer, I want to be able to create dashboards using kube-state-metrics. So I'll be able to provide better dashboards for Kubernetes clusters within PMM.
Acceptance criteria:
kube-state-metrics metrics are available in PMM.
Suggested implementation:
We need to collect Kubernetes metrics from kube-state-metrics.
For it, we should start kube-state-metrics pod if it's not running yet and make the victory metrics operator collect metrics from there.
To start kube-state-metrics we can apply all files in https://github.com/kubernetes/kube-state-metrics/tree/v2.5.0/examples/standard
To collect kube-state-metrics with VM-operator we should apply this file https://gist.github.com/f41gh7/1fed801c5e288e8a6bdbd931ae0f74fd#file-kube-state-metrics-yaml
Useful resources.
https://github.com/kubernetes/kube-state-metrics
https://gist.github.com/f41gh7/1fed801c5e288e8a6bdbd931ae0f74fd#file-kubelet-yaml
https://gist.github.com/f41gh7/1fed801c5e288e8a6bdbd931ae0f74fd#file-kube-state-metrics-yaml