Skip to content

Latest commit

 

History

History
46 lines (31 loc) · 1.09 KB

File metadata and controls

46 lines (31 loc) · 1.09 KB

Monitor Cluster Components

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?

mon

Heapster vs Metrics Server

  • Heapster is now deprecated and a slimmed down version was formed known as the metrics server.

    hpms

Metrics Server

ms1

How are the metrics generated for the PODs on these nodes?

ca

Metrics Server - Getting Started

msg

  • 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
    

    view