Problem getting pods stats from kubelet and cri-o
I would recommend checking kubelet
service to verify health status and debug any suspicious events within the cluster. I assume that CRI-O runtime engine can select kubelet
as the main Pods information provider because of its managing Pod lifecycle role.
systemctl status kubelet -ljournalctl -u kubelet
In case you found some errors or dubious events, share it in a comment below this answer.
However, you can use metrics-server, which will collect Pod metrics in the cluster and enable kube-apiserver
flags for Aggregation Layer. Here is a good article about Horizontal Pod Autoscaling and monitoring resources via Prometheus.