Uploaded image for project: 'Percona Monitoring and Management'
  1. Percona Monitoring and Management
  2. PMM-9545

[Technical Preview] Collect Kubernetes metrics from kube-state-metrics

Details

    • New Feature
    • Status: Done
    • Medium
    • Resolution: Done
    • None
    • 2.32.0
    • DBaaS controller
    • None

    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://github.com/VictoriaMetrics/helm-charts/blob/master/charts/victoria-metrics-k8s-stack/README.md

      https://gist.github.com/f41gh7/1fed801c5e288e8a6bdbd931ae0f74fd#file-kubelet-yaml

      https://gist.github.com/f41gh7/1fed801c5e288e8a6bdbd931ae0f74fd#file-kube-state-metrics-yaml

       

       

      Attachments

        Issue Links

          Activity

            People

              andrew.minkin Andrew Minkin
              nurlan.moldomurov Nurlan Moldomurov
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Smart Checklist