Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save EliFuzz/27fc72899f667941b9ca947344dddff1 to your computer and use it in GitHub Desktop.
Save EliFuzz/27fc72899f667941b9ca947344dddff1 to your computer and use it in GitHub Desktop.
Overview Table: Kubernetes Resource Monitoring
Option Description Pros Cons
kubectl top Command-line tool that displays current CPU and memory usage of pods or nodes in a cluster Easy to use, no additional setup required Limited functionality, only shows current usage
Grafana Open-source analytics and visualization platform that integrates with Prometheus and other data sources to create dashboards and alerts for monitoring cluster resources and performance Highly flexible and customizable, supports multiple data sources Can be complex to set up and configure, especially for larger deployments
Kubernetes Dashboard Web-based user interface that provides information and management capabilities for cluster resources, including CPU and memory usage charts for pods and nodes User-friendly interface, easy to set up and use Not suitable for large clusters due to scalability issues
Metrics Server Cluster-wide aggregator of resource usage data that collects metrics from the kubelet on each node and exposes them through the Metrics API Provides detailed usage statistics across all nodes and pods Requires additional setup and configuration
Prometheus Open-source monitoring system that collects and stores metrics from various sources, including Kubernetes nodes and pods, using a pull modelAlso provides a query language and visualization tools for analyzing the metrics Highly customizable, can be integrated with other systems Steep learning curve, requires significant setup and maintenance efforts
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment