DevOpsProdigy KubeGraf

Представляем нашу собственную разработку — плагин Grafana для мониторинга K8s-приложений — DevOpsProdigy KubeGraf.  Он является переработанной и дополненной версией официального плагина Grafana Kubernetes App, который не поддерживается уже более года.
Logo
В нашем решении есть ряд возможностей, которые отсутствовали в официальной версии плагина, а именно:
  1. Аутентификация/авторизация с помощью bearer-токена для работы с K8s-API, что дает возможность инсталяции плагина на облачных K8s-решениях (Amazon AWS, Google Cloud Platform, Digitalocean, Яндекс.Облако и других) с read-only доступами.
  2. Поддержка современных версий K8s — с K8s 1.12 и до K8s 1.17.
  3. Поддержка современных версий node-exporter’a, kube-state-metrics’a.
  4. Мониторинг Statefulset’ов.

Ключевые функции плагина:

  1. Интеграция с K8s-API, построение визуальной карты приложений, группировка по namespace’ам, deployment’ам…
  2. Построение карты распределения pod’ов по node'ам кластера.
  3. Построение сводной таблицы по состоянию кластера:
    • процент использования ресурсов nodе,
    • информация о health-статусе приложений,
    • информация о прохождении liveness-readyness проб.
  4. Дашборды с метриками:
    • node info ресурсы, потребляемые node'ой кластера,
    • deployment/statefulset/daemonset status — информация о доступных репликах, статусах контейнеров, ресурсах, потребляемых приложением,
    • pod info — ресурсы, потребляемые конкретным pod’ом приложения.
Исходный код плагина доступен в открытом репозитории на GitHub.

Changelog:

1.5.2 (2021-03-18)

Bug Fixes

  • Fix the memory usage metrics of pods on all dashboards and static pages #56
  • Fix the compatibility with new versions of kube-state-metrics #55

1.5.1 (2021-03-02)

Bug Fixes

  • Fix the issue about that only Admin can see clusters' list #54

1.5.0 (2020-12-16)

New Features

  • Indicate when limits or requests are not setup for application
  • Add cpu/memory limits of containers to Nodes' overview page
  • Indicate cpu/memory usage of pod depending on the requests & limits on Nodes' overview page
  • Add cpu/memory limits of containers to deployments/statefulsets/daemonsets/pods dashboards
  • Hide empty namespaces on deployments/statefulsets/daemonsets dashboards
  • Add NAMESPACE for k8s-manifests #44
  • Sort alerts via priority
  • Little navigations improvements
  • Add hide-button for alerts' table

Bug Fixes

  • Compatibility with Grafana >= 7.3.* #48
  • Show memory/cpu usage of pod on pod's dashboard #41
  • Fix white theme on new versions of Grafana
  • Fix legends on all dashboards

1.4.2 (2020-07-13)

Bug Fixes

  • Compatibility with Grafana >= 7.0.4 #35
  • Restore metrics from old/deleted pods to dashboards #33

1.4.1 (2020-06-19)

Bug Fixes

  • Fix integration nodes' metrics with different node-exporter installations

1.4.0 (2020-05-13)

New Features

  • Add integrations with node-exporter-full-dashboard
  • Add server' stat to nodes-overview page
  • Redesign of applications-overview page

Bug Fixes

  • Disks operations' legend in different dashboards
  • Improve compatibility with MacOS
  • Compatibility with Grafana 6.6. , 6.7. , 7.0.*
  • Fix orgid on dashboards' links

1.3.0 (2020-02-12)

New Features

  • Add requested resource metrics (CPU, memory) to node's dashboard
  • Add order for pods (by cpu, memory) at Nodes overview page
  • Add disk metrics to dashboards
  • Migrate to Webpack
  • Parse error messages from Events (you need to update ClusterRole)
  • Add namespaces update on static pages
  • Compatibility with different metric's labels (pod/pod_name, container/container_name)

Bug Fixes

  • Fix Save&Test button
  • Cluster delete

1.2.0 (2019-12-20)

New Features

  • Navigation improvement:
    • Hide all button (for nodes and namespaces)
    • Show one node or namespace (by click with ctrl)
  • Summary-row in namespace section in nodes-overview page
  • Add restarts to pod's resource dashboard
  • Add resource graphs to deployment's, daemonset's & statefulset's dashboards
  • Add sidecars' resources to pod's, deployment's, daemonset's & statefulset's dashboards

Bug Fixes

  • Plugin's config link
  • Node's cpu usage correct value
  • Node's memory usage correct value
  • N/A labels in nodes-overview page
  • Compatibility with different prometheus' installations #14
  • List of clusters on grafana 5.x.x

1.1.1.1 (2019-10-10)

Bug Fixes

  • Grafana v6.4.x support

1.1.1 (2019-09-30)

Bug Fixes

  • Bearer token access on Grafana version 5.x.x #10
  • Viewer & editor modes' fix

1.1.0 (2019-09-25)

New Features

  • k8s v1.16 support (Deployments, Daemonsets and Statefulsets migrate to use the apps/v1 API)
  • Bearer token access (restart your grafana-server after update) #5 #4

Bug Fixes

  • Node._getBytes now works with Mi #7
  • Grafana v6.3.5 minor fixes (markdown, styles)
  • Try-catch on http-requests

1.0.1 (2019-09-14)

Bug Fixes

  • Readonly access via cert and key #6

Оставьте заявку, и мы свяжемся с вами в ближайшие 24 часа!

Мы также всегда готовы проконсультировать вас по телефону 8 800 555-91-99 или по почте info@itsumma.ru
Особенно сложные задачи и крупные проекты вы можете обсудить лично с нашим директором по развитию бизнеса
Антоном Барановым.
@its_anton_baranov
@its_anton_baranov
#

Ваша заявка принята. Мы свяжемся с вами в ближайшее время.

Мы используем cookies для быстрой и удобной работы сайта. Продолжая пользоваться сайтом, вы даёте согласие и принимаете политику обработки персональных данных