For providers that doesn’t support LoadBalancer as a Service functionality we included a working example of how it might look like in your setup. Provided example is not a requirement and you can always use your own solution.
For those examples we use gobetween project. It is free, open-source, modern & minimalistic L4 load balancer solutions that’s easy to integrate into terraform.
Yes, it is. We provide this only as an example how it might look like, and at the same time trying to stay minimal on resources. As provider you’re using doesn’t support LBaaS, it’s completely up to you how you organize your frontend loadbalancing and HA for your kube-apiservers.
Possibilities to achieve truly HA loadbalancing is to bootstrap 2 of those LBs and use one of the following:
As our example in terraform is exactly this — just an example, you are free to
use whatever else solution. Gobetween is not a requirement. The only requirement
would be to provide
apiEndpoint.host (and optional
configuration, or terraform outputs
No, provided example loadbalancer solution only cares about kubernetes API availability, it’s not universal solution for all your workloads.