Telegraf Plugins used:
- 2 Labels:
- 2 Dashboards:
Kubernetes Node Metrics,
- 1 Variables:
- 1 Telegraf Config:
If you have your InfluxDB credentials configured in the CLI, you can install this template with:
Kubernetes is an open-source container-orchestration system for automating computer application deployment, scaling and management. Originally designed by Google, and maintained by the Cloud Native Computing Foundation, Kubernetes is used by millions to eliminate the manual steps involved in deploying and scaling containerized applications.
Why monitor Kubernetes
Monitoring Kubernetes ensures that Kubernetes clusters utilize underlying resources efficiently. It also requires active management and continuous optimization based on historical data. This can be accomplished by collecting and analyzing Kubernetes resource metrics to identify idle resources, dynamically optimize infrastructure footprint, and cut waste. CPU and memory are the two types of resources that are consumed by containers and can be managed using resource requests and resource limits. Limits are the maximum amount that is consumed by the containers, and resource requests are the minimum amount requested.
The Kubernetes Monitoring Template provides 2 basic Kubernetes dashboards: Kubernetes Node Metrics and Kubernetes Inventory. The K8S infrastructure supports Google Cloud Platform, AWS and on-premise K8S environments.
Kubernetes Monitoring Dashboard
Kubernetes Inventory Dashboard
How to use the Kubernetes Monitoring Template
Once your InfluxDB credentials have been properly configured in the CLI, you can install the Kubernetes Monitoring Template using the Quick Install command. Once installed, the data for the dashboard will be populated by the included Telegraf configurations, which include the relevant Kubernetes Input. Note that you might need to customize the input configuration to better serve your needs, including by specifying a new input value. All of this will depend on how your organization is currently running Kubernetes.
To find out more information about environmental variables within the Telegraf configuration, consult the following link.
Key Kubernetes monitoring metrics to monitor
Some of the most important Kubernetes monitoring metrics that you should proactively monitor include:
- Current and Past Nodes
- CPU Metrics
- Node Count
- Pod Capacity
- Host Count
- Allocatable CPU cores
- Average CPU capacity
- Running Containers
- Nodes CPU usage
- Daemon Sets