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>
9 lines
222 B
YAML
9 lines
222 B
YAML
apiVersion: v1
|
|
kind: Namespace
|
|
metadata:
|
|
name: metallb-system
|
|
labels:
|
|
pod-security.kubernetes.io/enforce: privileged
|
|
pod-security.kubernetes.io/audit: privileged
|
|
pod-security.kubernetes.io/warn: privileged
|