node-stats connects to a node via SSH and collects filesystem and memory statistics from the kernel, and container statistics from Docker. It combines the output of those statistics into a comprehensive report; the fun part is the (for my league) elaborate parsing of intermediate outputs.
cloud-stats iterates over all known nodes (the list-nodes script knows them) and sequentially calls node-stats for each node and prints the results. The generated report is far from the quality what other tools like cadvisor or nagios generate and it is far from real time, but it’s a start and it doesn’t require any special software running on either the manager or the worker nodes.
Resources
[1] Building a private cloud with Docker
https://blog.georgovassilis.com/2015/09/14/building-a-private-cloud-with-docker
[2] cadvisor
https://github.com/google/cadvisor
[3] heapster
https://github.com/kubernetes/heapster
[4] cloud matrix github repository
https://github.com/ggeorgovassilis/cloudmatrix