In MetalLB, which sets up static IP addresses for services in a bare metal environment, you can control the IP address that your service is reachable at by setting an IP or IP range via a ConfigMap/address-pool: Documentation: https://metallb.universe.tf/configuration/#layer-2-configuration. piVersion: v1 kind: ConfigMap metadata: namespace: metallb-system name: config data: config: | address-pools: - name: default protocol: layer2 addresses: - 192.168.1.240-192.168.1.250.. "/>