Bird
0
0

After installing Metrics Server, what is the expected output of kubectl top nodes?

medium📝 Command Output Q13 of 15
Kubernetes - Monitoring and Logging
After installing Metrics Server, what is the expected output of kubectl top nodes?
AA list showing CPU and memory usage for each node
BAn error saying Metrics Server is not found
CA list of pods running on each node
DNo output, command does nothing
Step-by-Step Solution
Solution:
  1. Step 1: Understand kubectl top nodes command

    This command shows current CPU and memory usage metrics for each node in the cluster, provided Metrics Server is installed and working.
  2. Step 2: Identify expected output

    With Metrics Server installed, it returns a table listing nodes with their CPU and memory usage. Errors or empty output indicate installation or connectivity issues.
  3. Final Answer:

    A list showing CPU and memory usage for each node -> Option A
  4. Quick Check:

    kubectl top nodes = node resource usage list [OK]
Quick Trick: kubectl top nodes shows node CPU/memory usage [OK]
Common Mistakes:
  • Expecting pod lists instead of metrics
  • Assuming command fails after installation
  • Confusing with other kubectl commands

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Kubernetes Quizzes