Keda uses which construct to define scaling rules?

Prepare for the Kubernetes Cloud Native Associate (KCNA) Certification test with engaging questions and detailed explanations. Perfect your knowledge and boost your confidence to pass the exam successfully!

Multiple Choice

Keda uses which construct to define scaling rules?

Explanation:
KEDA expresses its scaling behavior with a ScaledObject. This Custom Resource defines which Kubernetes workload to scale (scaleTargetRef) and the external triggers (such as queues, metrics, or events) that drive the scaling decisions. You can specify min and max replicas and even scale to zero when there’s no work. The actual workload might be a Deployment (or another resource type), but the rules that tell KEDA how to scale live in the ScaledObject. MetricsServer is used by the native HorizontalPodAutoscaler to gather metrics, not for KEDA’s external scaling rules. StatefulSets are just a type of workload and aren’t where KEDA stores its scaling policy. So, the construct used to define scaling rules is ScaledObject.

KEDA expresses its scaling behavior with a ScaledObject. This Custom Resource defines which Kubernetes workload to scale (scaleTargetRef) and the external triggers (such as queues, metrics, or events) that drive the scaling decisions. You can specify min and max replicas and even scale to zero when there’s no work. The actual workload might be a Deployment (or another resource type), but the rules that tell KEDA how to scale live in the ScaledObject. MetricsServer is used by the native HorizontalPodAutoscaler to gather metrics, not for KEDA’s external scaling rules. StatefulSets are just a type of workload and aren’t where KEDA stores its scaling policy. So, the construct used to define scaling rules is ScaledObject.

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy