Deploy MetalLB v0.14.9 for bare-metal load balancing with L2 mode. Configuration: - IP address pool: 10.0.1.10-10.0.1.20 - L2 advertisement on ens18, eth0, enp* interfaces - Runs on all control plane nodes with automatic failover - Enables LoadBalancer service type support This allows each service to have its own dedicated IP address instead of using NodePort with random high ports. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
10 lines
172 B
YAML
10 lines
172 B
YAML
apiVersion: metallb.io/v1beta1
|
|
kind: IPAddressPool
|
|
metadata:
|
|
name: default-pool
|
|
namespace: metallb-system
|
|
spec:
|
|
addresses:
|
|
- 10.0.1.10-10.0.1.20
|
|
autoAssign: true
|