We're sorry but this app doesn't work properly without JavaScript enabled. Please enable it to continue.

This lesson's interactive features are locked, please to keep using them

Metrics

The browser cluster came with metrics pre-installed, but Minikube doesn't. Without metrics, commands like kubectl top won't work because Kubernetes won't know how much CPU or memory your pods are using.

Assignment

  1. minikube addons enable metrics-server
  2. kubectl -n kube-system get pod

You should see a new "metrics-server" pod. It might take a couple of minutes to get started, but once that pod is ready, you should be able to run:

kubectl top node

Run and submit the CLI tests.