Recall & Review
beginner
What is the purpose of the Metrics Server in Kubernetes?
The Metrics Server collects resource usage data like CPU and memory from nodes and pods. It helps Kubernetes make decisions for scaling and monitoring.
Click to reveal answer
beginner
Which command installs the Metrics Server using kubectl?
kubectl apply -f https://github.com/kubernetes-sigs/metrics-server/releases/latest/download/components.yaml
Click to reveal answer
intermediate
Why might you need to edit the Metrics Server deployment after installation?
You may need to add flags like --kubelet-insecure-tls if your cluster uses self-signed certificates, to allow Metrics Server to communicate with kubelets.
Click to reveal answer
beginner
How can you verify that the Metrics Server is running correctly?
Run kubectl get deployment metrics-server -n kube-system to check the deployment status and kubectl top nodes to see if metrics are available.
Click to reveal answer
intermediate
What role does the Metrics Server play in Horizontal Pod Autoscaling (HPA)?
Metrics Server provides the resource usage data that HPA uses to decide when to scale pods up or down based on CPU or memory usage.
Click to reveal answer
Which command installs the Metrics Server in Kubernetes?
✗ Incorrect
The correct command applies the official Metrics Server manifest from the GitHub repository.
What does the Metrics Server collect from Kubernetes nodes and pods?
✗ Incorrect
Metrics Server collects CPU and memory usage metrics, not logs or network data.
If Metrics Server cannot communicate with kubelets due to TLS errors, what flag might you add?
✗ Incorrect
The --kubelet-insecure-tls flag allows Metrics Server to skip TLS verification for kubelet communication.
How do you check if Metrics Server is successfully deployed?
✗ Incorrect
Checking the deployment status in the kube-system namespace confirms if Metrics Server is running.
What Kubernetes feature depends on Metrics Server for scaling decisions?
✗ Incorrect
HPA uses Metrics Server data to scale pods based on resource usage.
Explain the steps to install and verify the Metrics Server in a Kubernetes cluster.
Think about installation, deployment check, and metrics verification commands.
You got /3 concepts.
Describe why Metrics Server might need configuration changes after installation and what those changes could be.
Consider common issues with self-signed certificates in clusters.
You got /3 concepts.