<p>I am getting below error after installing keda in my k8s cluster and created some scaled object...</p>
<p>whatever command i am running EG: &quot; kubectl get pods&quot; i am getting response with below error message..</p>
<p>How to get rid of below error message.</p>
<p>E0125 11:45:32.766448     316 memcache.go:255] couldn't get resource list for external.metrics.k8s.io/v1beta1: Got empty response for: external.metrics.k8s.io/v1beta1</p>

<p>This error is from <code>client-go</code> when there are no resources available in <code>external.metrics.k8s.io/v1beta1</code> here in client-go, it gets all ServerGroups.
When KEDA is not installed then external.metrics.k8s.io/v1beta1 is not part of ServerGroups and hence its not called and therefore no issue.</p>
<p>But when KEDA is installed then it creates an ApiService</p>
<pre><code>$ kubectl get apiservice | grep keda-metrics
v1beta1.external.metrics.k8s.io        keda/keda-metrics-apiserver   True        20m
</code></pre>
<p>But it doesn't create any external.metrics.k8s.io resources</p>
<pre><code>$ kubectl get --raw /apis/external.metrics.k8s.io/v1beta1 | jq .
{
  &quot;kind&quot;: &quot;APIResourceList&quot;,
  &quot;apiVersion&quot;: &quot;v1&quot;,
  &quot;groupVersion&quot;: &quot;external.metrics.k8s.io/v1beta1&quot;,
  &quot;resources&quot;: []
}
</code></pre>
<p>Since there are no resources, client-go throws an error.</p>
<p>The workaround is registering a dummy resource in the empty resource group.</p>
<p>Refer to this <a href="https://github.com/kubeshop/botkube/issues/829" rel="noreferrer">Github</a> link for more detailed information.</p>
