- Take me to Video Tutuorials
In this section, we will take a look at monitoring kubernetes cluster
How do you monitor resource consumption in kubernetes? or more importantly, what would you like to monitor?
-
Clone the metric server from github repo
$ git clone https://github.com/kubernetes-incubator/metrics-server.git
-
Deploy the metric server
$ kubectl create -f metric-server/deploy/1.8+/
-
View the cluster performance
$ kubectl top node
-
View performance metrics of pod
$ kubectl top pod