def kubectl_cmd(kubeconfig):
    """Builds the kubectl command to communicate with the cluster that can be reached by
    the provided kubeconfig file.

    Args:
        kubeconfig (str): path to the kubeconfig file.

    Returns:
        str: the base kubectl command to use for communicating with the cluster.

    """
    return f"kubectl --kubeconfig {kubeconfig}"