I would like to know how could I set up a load balancer at the Kubernetes level so my services point to the pods that have more RAM/CPU resources available, and not randomly.

It would be co-existing with a Horizontal Pod Autoscaler.

As of today, I have an ingress pointing to my NodePort service.

It would be better if it could work locally with Minikube without needing to be on a cloud provider.

If not, I'm using OVH as my Kubernetes cloud provider.

  • Thank you for posting a question. Could you modify the question so that it contains the attempts you have done in order to solve the issue?
    – 030
    Dec 25 '19 at 11:44
  • cross-posting stackoverflow.com/q/54871869/2777965
    – 030
    May 9 '20 at 16:01