Upgrade KEDA to 2.1.0 to support scaling of Stateful Sets
Need to upgrade KEDA to 2.1.0 to support scaling of stateful sets which is used as part of airflow workers in AKS cluster
Upgrade details
- KEDA Version - 2.1.0
- KEDA Helm Chart Version - 2.1.1
Steps to upgrade KEDA
Upgrading KEDA helm chart from 1.5.0 to 2.1.1 is not straight forward, below are the steps which are needed to be executed to upgrade it successfully
- Need to remove existing
ScaledObject
andTriggerAuthentication
resources existing in AKS cluster - Uninstall current KEDA version which is 1.5.0
- Delete KEDA CRD's (you can fetch KEDA CRDS using
kubectl get crd | grep keda
) - Install KEDA helm chart version 2.1.1
For reference about upgrading KEDA refer to this link - https://keda.sh/docs/2.1/migration/