def control_plane_ingress_ip(k8s_client):
    """Return the Control Plane Ingress IP from Kubernetes service"""
    ingress_svc = k8s_client.read_namespaced_service(
        name="ingress-nginx-control-plane-controller",
        namespace="metalk8s-ingress",
    )
    return ingress_svc.spec.load_balancer_ip or ingress_svc.spec.external_i_ps[0]