Bird
0
0

You want to autoscale a deployment based on custom metrics like requests per second. Which API version of HPA supports this feature?

hard📝 Conceptual Q8 of 15
Kubernetes - Resource Management
You want to autoscale a deployment based on custom metrics like requests per second. Which API version of HPA supports this feature?
Aautoscaling/v1
Bautoscaling/v2
Capps/v1
Dbatch/v1
Step-by-Step Solution
Solution:
  1. Step 1: Identify HPA API versions

    autoscaling/v1 supports only CPU and memory metrics.
  2. Step 2: Recognize advanced metric support

    autoscaling/v2 supports custom and external metrics like requests per second.
  3. Final Answer:

    autoscaling/v2 -> Option B
  4. Quick Check:

    Custom metrics require autoscaling/v2 [OK]
Quick Trick: Use autoscaling/v2 for custom metrics [OK]
Common Mistakes:
  • Using autoscaling/v1 for custom metrics
  • Confusing apps/v1 with autoscaling API
  • Thinking batch/v1 relates to HPA

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Kubernetes Quizzes