Homepage: https://keda.sh/
From MicroK8s version: 1.20+
Supported arch: amd64
KEDA is a Kubernetes based Event Driven Autoscaler. With KEDA, you can drive the scaling of any container in Kubernetes based on the number of events needing to be processed.
To enable the addon:
microk8s enable keda
The addon can be disabled at any time with the command:
yeah, Iām not sure when this got added, but it isnāt enough to just link a post, it has to go in the URL table too. Have added it now so should work in about 10 mins
We found that keda could not run on microk8s 1.28.0,as below error:
2023-08-18T05:39:25Z ERROR controller-runtime.source if kind is a CRD, it should be installed before calling Start {ākindā: āHorizontalPodAutoscaler.autoscalingā, āerrorā: "no matc āā sigs.k8s.io/controller-runtime/pkg/source.(*Kind).Start.func1.1 {ākindā: āHorizontalPodAutoscaler.autoscalingā, āerrorā: āno matches for kind "HorizontalPodAutoscaler" in version "autoscaling/v2beta2"ā} ā
Here are my microk8s env:
root:~/airgap/keda-example# microk8s version
MicroK8s v1.28.0 revision 5788
root@airgap1:~/airgap/keda-example# kubectl api-versions | grep autoscaling
autoscaling/v1
autoscaling/v2
So that is needed to fix that keda feature as soon.
Thank you for reporting this. Could you share a minimal setup/script where we can reproduce this error?
1.28.0 MicroK8s ships keda version 2.11.1. There is a 2.11.2 version released three weeks ago but I do not see any references to fixes in the release notes. Either way 1.28.0 just got released so it is expected some parts of the ecosystem not to be ready for it.
Could you file an issue over at https://github.com/canonical/microk8s so we keep track of the problem?