Contents

Kubernetes Monitoring

Monitoring Services

HEAPSTER
HEAPSTER is a monitoring service in Kubernetes, but it’s deprecated now.

METRICS SERVER

METRICS SERVER is IN-MEMORY Service.
So you cannot see history of the cluster.

Install METRICS SERVER

minikube

1
minikube addons enable metrics-server

Others

Check Installation Section in METRICS SERVER

1
2
# Install all YAML files in current directory.
kubectl create -f .

METRICS SERVER Commands

Top Nodes

1
2
watch kubectl top nodes
watch "kubectl top nodes"

Top PODs

1
2
watch kubectl top pods
watch "kubectl top pods"