KCNA · Question #197
Kubernetes ___ allows you to automatically manage the number of nodes in your cluster to meet demand.
The correct answer is B. Cluster Autoscaler. The Cluster Autoscaler automatically adjusts the number of nodes in your Kubernetes cluster based on resource demand.
Question
Kubernetes ___ allows you to automatically manage the number of nodes in your cluster to meet demand.
Options
- ANode Autoscaler
- BCluster Autoscaler
- CHorizontal Pod Autoscaler
- DVertical Pod Autoscaler
How the community answered
(50 responses)- B94% (47)
- C4% (2)
- D2% (1)
Why each option
The Cluster Autoscaler automatically adjusts the number of nodes in your Kubernetes cluster based on resource demand.
"Node Autoscaler" is not the standard or specific term for scaling the number of nodes in Kubernetes; "Cluster Autoscaler" is the correct component.
The Cluster Autoscaler monitors for pods that are pending due to insufficient resources and adds more nodes to the cluster to accommodate them, or it removes underutilized nodes to reduce costs. It works by integrating with cloud provider APIs to scale infrastructure up and down, ensuring the cluster has enough capacity to run all requested pods.
Horizontal Pod Autoscaler (HPA) automatically scales the number of pods in a deployment or replica set based on observed CPU utilization or other custom metrics, not nodes.
Vertical Pod Autoscaler (VPA) automatically adjusts the CPU and memory requests and limits for containers in pods, but it does not add or remove nodes.
Concept tested: Kubernetes Cluster Autoscaling
Source: https://kubernetes.io/docs/concepts/cluster-administration/cluster-autoscaler/
Topics
Community Discussion
No community discussion yet for this question.