May 2018
Intermediate to advanced
554 pages
13h 51m
English
After you have installed influxDB, Heapster, and Grafana, let's learn how to get the status of the resource. First, you may use kubectl top now. Check the utilization of nodes and Pods, as well as verifying the functionality of monitoring:
// check the status of nodes$ kubectl top nodeNAME CPU(cores) CPU% MEMORY(bytes) MEMORY%minikube 236m 11% 672Mi 35%// check the status of Pods in Namespace kube-system$ kubectl top pod -n kube-systemNAME CPU(cores) MEMORY(bytes)heapster-5c448886d-k9wt7 1m 18Mikube-addon-manager-minikube 36m 32Mikube-dns-54cccfbdf8-j65x6 3m 22Mikubernetes-dashboard-77d8b98585-z8hch 0m 12Mimonitoring-grafana-65757b9656-8cl6d 0m 13Mimonitoring-influxdb-66946c9f58-hwv8g 1m 26Mi
Currently, kubectl top only covers ...