3 ms·
What do you use for load balancing and ingress? Do you rely on service discovery in this setup? I always get stuck figuring out how to get traffic into the clus
by timcambrant 3y ago
What do you use for load balancing and ingress? Do you rely on service discovery in this setup? I always get stuck figuring out how to get traffic into the cluster properly while allowing for graceful fault tolerance.
I’ve had success with MetalLB to dynamically announce a single IP for the ingress controller but that feels a bit overkill for a simple lab setup.
- fahhem 3y agoAre you asking about my "clusters" or k3d? For my clusters, they're all single-node and therefore not fault-tolerant clusters, so I don't worry about graceful fault tolerance. I just use nginx-ingress which opens a port on the node (via iptables, so don't expect `lsof` to help!). Then my router port-forwards so my home IP:80 eventually hits my NUC