Posts

Showing posts from December, 2018

Minikube + MetalLB

I wanted to test out MetalLB 's capabilities and thought that running it on a local Minikube cluster would be a good way to check it out. Turns out it was so easy, I thought I must have done something wrong, but it worked on the first try! Since I don't have any BGP capabilities in my home lab, I went with the L2 configuration, but since it's a single node anyway that should not matter. First, I installed Minikube using the "none" driver so it runs directly inside the local Docker. This will ensure that the MetalLB containers can modify the bare metal system's IP tables instead of the IP tables running inside of a VM. # minikube start --vm-driver=none --kubernetes-version=v1.11.0 Next, install MetalLB # kubectl apply -f https://raw.githubusercontent.com/google/metallb/v0.7.3/manifests/metallb.yaml After MetalLB is installed, you need to upload a ConfigMap to tell MetalLB about your configuration and what floating IP addresses to use. ht...