# MetalLB IP Address Pool for Public Services # This creates a dedicated pool for the public-facing ingress controller # # IMPORTANT: Adjust the IP address based on your network! # This assumes your existing pool is 192.168.0.200-192.168.0.220 # We're using 192.168.0.221 as a dedicated public IP # # Apply with: kubectl apply -f metallb-public-pool.yaml --- apiVersion: metallb.io/v1beta1 kind: IPAddressPool metadata: name: public-pool namespace: metallb-system spec: addresses: # Single IP dedicated to public ingress # Adjust this to an available IP in your network! - 192.168.0..190/32 # Prevent auto-assignment - only explicit requests get this IP autoAssign: false --- apiVersion: metallb.io/v1beta1 kind: L2Advertisement metadata: name: public-l2-advertisement namespace: metallb-system spec: ipAddressPools: - public-pool