Installing MetalLB is very simple: just apply the manifest!
kubectl apply -f https://raw.githubusercontent.com/google/metallb/v0.4.6/manifests/metallb.yaml
This will deploy MetalLB to your cluster, under the metallb-system
namespace. The components in the manifest are:
metallb-system/controller
deployment. This is the cluster-wide
controller that handles IP address assignments.metallb-system/speaker
daemonset. This is the component that
speaks the protocol(s) of your choice to make the services
reachable.The installation manifest does not include a configuration file. MetalLB’s components will still start, but will remain idle until you define and deploy a configmap.