Hey. I'm having a weird issue with a rancher provi...
# general
b
Hey. I'm having a weird issue with a rancher provisioned rke2 cluster on harvester. Deploying my first service with HPA I'm getting errors that it cannot connect to the metric:
the server could not find the requested resource (get <http://pods.metrics.k8s.io|pods.metrics.k8s.io>)
. What's more, metrics.k8s.io seems registered as "custom":
Copy code
$k get apiservices  | rg metrics
<http://v1beta1.custom.metrics.k8s.io|v1beta1.custom.metrics.k8s.io>           cattle-monitoring-system/rancher-monitoring-prometheus-adapter   True        36d
though the metrics server seems to have registered it according to its logs:
I0304 12:26:32.692872       1 handler.go:275] Adding GroupVersion <http://metrics.k8s.io|metrics.k8s.io> v1beta1 to ResourceManager