This scenario explores the basic techniques for observing the state of Kubernetes using metrics.
In the following steps you will learn how to:
- access metrics information produced by each cAdvisor in each Kubelet,
- inspect resources using the Resource Metrics API,
- viewing metrics reported by Metrics Server.
The scenario introduced some fundamental techniques to inspecting a cluster and its control plane components. Additional topics on observability related to logging, tracing, or monitoring with Prometheus are covered in other scenarios.
With these steps you have learned how to:
- ✔ access metrics information produced by each cAdvisor in each Kubelet,
- ✔ inspect resources using the Resource Metrics API,
- ✔ viewing metrics reported by Metrics Server.
Basic Kubernetes Observability
Your Kubernetes Cluster
For this scenario, Katacoda has just started a fresh Kubernetes cluster for you. Verify it's ready for your use.
kubectl version --short && \
kubectl get componentstatus && \
kubectl get nodes && \
The Helm package manager used for installing applications on Kubernetes is also available.
helm version --short
You can administer your cluster with the
kubectl CLI tool or use the visual Kubernetes Dashboard. Use this script to access the protected Dashboard.