Difference between revisions of "Metallb"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
# Get started with Microk8s | # Get started with Microk8s | ||
− | If firewall/router in front | + | If firewall/router in front you can route or dnat form public ip to metallb private address assignment |
``` | ``` | ||
sudo ip route add 10.x.x.0/22 via 10.y.y.y (10.y.y.y is k8s instance ip address though usually you would use bgp) | sudo ip route add 10.x.x.0/22 via 10.y.y.y (10.y.y.y is k8s instance ip address though usually you would use bgp) |
Revision as of 04:42, 5 December 2021
Get started with Microk8s
If firewall/router in front you can route or dnat form public ip to metallb private address assignment
sudo ip route add 10.x.x.0/22 via 10.y.y.y (10.y.y.y is k8s instance ip address though usually you would use bgp)
- https://microk8s.io/docs/addon-metallb 10.x.x.0/22 is your ip range
- https://devopslearning.medium.com/metallb-load-balancer-for-bare-metal-kubernetes-43686aa0724f