Events
Mar 17, 9 PM - Mar 21, 10 AM
Join the meetup series to build scalable AI solutions based on real-world use cases with fellow developers and experts.
Register nowThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Kubernetes Event-driven Autoscaling (KEDA) is a single-purpose and lightweight component that strives to make application autoscaling simple and is a CNCF Graduate project.
It applies event-driven autoscaling to scale your application to meet demand in a sustainable and cost-efficient manner with scale-to-zero.
The KEDA add-on makes it even easier by deploying a managed KEDA installation, providing you with a rich catalog of Azure KEDA scalers that you can scale your applications with on your Azure Kubernetes Services (AKS) cluster.
Note
KEDA version 2.15 introduces a breaking change that removes pod identity support. We recommend moving over to workload identity for your authentication if you're using pod identity. While the KEDA managed add-on doesn't currently run KEDA version 2.15, it will begin running it in the AKS preview version 1.32.
For more information on how to securely scale your applications with workload identity, please read our tutorial. To view KEDA's breaking change/deprecation policy, please read their official documentation.
KEDA provides two main components:
/scale
subresource.Learn more about how KEDA works in the official KEDA documentation.
KEDA can be added to your Azure Kubernetes Service (AKS) cluster by enabling the KEDA add-on using an ARM template or Azure CLI.
The KEDA add-on provides a fully supported installation of KEDA that is integrated with AKS.
KEDA provides the following capabilities and features:
ScaledObjects
, such as Deployments, StatefulSets or any custom resource that defines /scale
subresourceScaledJobs
Note
If you plan to use workload identity, enable the workload identity add-on before enabling the KEDA add-on.
The KEDA AKS add-on has the following limitations:
For general KEDA questions, we recommend visiting the FAQ overview.
Note
If you're using Microsoft Entra Workload ID and you enable KEDA before Workload ID, you need to restart the KEDA operator pods so the proper environment variables can be injected:
Restart the pods by running kubectl rollout restart deployment keda-operator -n kube-system
.
Obtain KEDA operator pods using kubectl get pod -n kube-system
and finding pods that begin with keda-operator
.
Verify successful injection of the environment variables by running kubectl describe pod <keda-operator-pod> -n kube-system
.
Under Environment
, you should see values for AZURE_TENANT_ID
, AZURE_FEDERATED_TOKEN_FILE
, and AZURE_AUTHORITY_HOST
.
Your cluster Kubernetes version determines what KEDA version will be installed on your AKS cluster. To see which KEDA version maps to each AKS version, see the AKS managed add-ons column of the Kubernetes component version table.
For GA Kubernetes versions, AKS offers full support of the corresponding KEDA minor version in the table. Kubernetes preview versions and the latest KEDA patch are partially covered by customer support on a best-effort basis. As such, these features aren't meant for production use. For more information, see the following support articles:
Azure Kubernetes Service feedback
Azure Kubernetes Service is an open source project. Select a link to provide feedback:
Events
Mar 17, 9 PM - Mar 21, 10 AM
Join the meetup series to build scalable AI solutions based on real-world use cases with fellow developers and experts.
Register nowTraining
Learning path
Azure Kubernetes Service (AKS) application and cluster scalability - Training
Azure Kubernetes Service (AKS) application and cluster scalability