4 ms·
>I believe K8S favours big cloud providers tremendously due to load balancer lock-in or handcuff or whatever else you want to call it. For Kubernetes there's a
by hitpointdrew 4y ago
>I believe K8S favours big cloud providers tremendously due to load balancer lock-in or handcuff or whatever else you want to call it. For Kubernetes there's a WIP Metallb but I personally haven't had confident success running on my own servers.
> Nomad allows you to bring your own loadbalancer
I think this is a widely held myth that you can't easily self-host k8s due to lack of access to a cloud load balancer. You can use your own load balancers with Kubernetes, it isn't that hard. I have production k8s clusters running on on-prem hardware right now using haproxy.
I use kubeadm when setting up my cluster and point the control plane endpoint to the haproxy load balancer.
Then when it comes to the ingress I use the nginx ingress and have it setup exactly as described in the "Using a self-provisioned edge" section of the documentation here:
https://kubernetes.github.io/ingress-nginx/deploy/baremetal/ https://kubernetes.github.io/ingress-nginx/deploy/baremetal/