We noticed that some of our customers are having questions about the error messages they’re getting when deploying their workload using helm and/or using kubectl:
E0228 08:25:03.223480 19443 memcache.go:255] couldn't get resource list for external.metrics.k8s.io/v1beta1: Got empty response for: external.metrics.k8s.io/v1beta1
The problem is related to an update in change of behavior in the kubernetes client-go library (1.26+). But because our Keda exposes the external.metrics.k8s.io/v1beta1
by default, it returns an empty resource list.
Therefore the solution for now is to:
We’ve updated our documentation and made the requirements more specific.
There are currently several upstream discussions going on regarding this matter:
- https://github.com/kedacore/keda/issues/4224
- https://github.com/kubernetes-sigs/custom-metrics-apiserver/issues/146
- https://github.com/kedacore/keda/pull/3825
We’ll be watching those upstream conversations closely and keep you posted in case there’s a change.