In the documentation, I found that the following flag should be applied on kube-controller-manager to solve my problem:
--horizontal-pod-autoscaler-use-rest-clients=1m0s
But how can I apply this flag on kube-controller-manager? I don't understand, since it is not YAML based setting and the only thing I have on my local machine is kubectl & oc CLI tools.