Telegraf plugins for Kubernetes monitoring
Kubernetes is an open source platform designed to automate the deployment, scaling, and management of containerized applications. Using Kubernetes, you can quickly and efficiently respond to customer demand with fast and reliable application deployment, scale-out and new feature rollout. There are two Telegraf plugins for Kubernetes monitoring.
Telegraf Input Plugin: Kubernetes
The Kubernetes input plugin talks to the kubelet API using the
/stats/summary endpoint to gather metrics about the running pods and containers for a single host. It is assumed that this plugin is running as part of a daemonset within a Kubernetes installation. This means that Telegraf is running on every node within the cluster. Therefore, you should configure this plugin to talk to its locally running kubelet.
Telegraf Input Plugin: Kubernetes Inventory
The Kubernetes Inventory input plugin generates metrics derived from the state of the following Kubernetes resources:
- pods (containers)
Kubernetes and InfluxData resources
- How InfluxData makes Kubernetes an even better Master of its components through monitoring shows how to use InfluxData to help Kubernetes orchestrate the scaling out of applications by monitoring all components of the underlying infrastructure.
- Kapacitor: Service Discovery, pull and Kubernetes shows how Kapacitor’s Service discovery and scraping code will allow any service discovery target that works with Prometheus to work with Kapacitor.
- Draft for Kubernetes – A Prototyping Tool
- Monitoring the Kubernetes Nginx Ingress with the Nginx InfluxDB Module
- Kubernetes Cluster Monitoring and Autoscaling With Telegraf and Kapacitor
- How to Spin up the TICK Stack in a Kubernetes Instance
- Packaged Kubernetes Deployments – Writing a Helm Chart