Company
Date Published
Author
Arun Gupta, VP, Developer Advocacy, Couchbase
Word count
564
Language
English
Hacker News points
None

Summary

Kubernetes provides detailed insights about resource usage in the cluster by utilizing Heapster, cAdvisor, InfluxDB and Grafana. Heapster is a cluster-wide pod that gathers monitoring data for all pods on each node, which is then visualized using Grafana. Resource Usage Monitoring provides more details about monitoring resources in Kubernetes and are enabled by default when running the cluster on Amazon Web Services or Google Cloud. Starting a Kubernetes cluster can be done as shown in the example, and once started, it creates a 4-node cluster with various services such as Heapster, InfluxDB, Grafana, Elasticsearch, Kibana, kube-dns, kubernetes-dashboard and monitoring-grafana running. A complete list of all services and pods can be seen using `kubectl get services --all-namespaces` and `kubectl get pods --all-namespaces` commands respectively.