Back to articles
KEDA Has a Free API: Event-Driven Autoscaling for Kubernetes Workloads
How-ToDevOps

KEDA Has a Free API: Event-Driven Autoscaling for Kubernetes Workloads

via Dev.to DevOpsAlex Spinov

KEDA (Kubernetes Event-Driven Autoscaling) scales your Kubernetes workloads based on the number of events in queues, databases, or any external metric source. Scale from zero to thousands of pods automatically. What Is KEDA? KEDA is a CNCF graduated project that extends Kubernetes with event-driven autoscaling. Unlike HPA which only scales on CPU/memory, KEDA scales on external metrics like message queue depth, database rows, or HTTP request rate. Key Features: Scale from/to zero pods 60+ built-in scalers Event-driven triggers Works alongside Kubernetes HPA Prometheus metrics ScaledObject and ScaledJob CRDs TriggerAuthentication for secure access Fallback configuration Installation helm repo add kedacore https://kedacore.github.io/charts helm install keda kedacore/keda -n keda --create-namespace KEDA ScaledObject Examples Scale on RabbitMQ Queue Depth apiVersion : keda.sh/v1alpha1 kind : ScaledObject metadata : name : rabbitmq-consumer spec : scaleTargetRef : name : order-processor min

Continue reading on Dev.to DevOps

Opens in a new tab

Read Full Article
5 views

Related Articles