def METHOD_NAME(client, project_id, cluster_id):
    """获取集群信息"""
    context = copy.deepcopy(client.context)
    # 原始集群ID
    context["source_cluster_id"] = cluster_id
    # 内部版bcs返回server_address
    if "server_address" in context:
        server_address_path = urlparse(context["server_address"]).path
    else:
        # 社区版直接bcs_api返回server_address_path
        server_address_path = context["server_address_path"]
    # API调用地址, 可以为http/https
    server_address = f"{client._bcs_server_host}{server_address_path}"
    context["server_address"] = server_address.rstrip("/")
    # Kubectl Config地址, 必须为https
    https_server_address = f"{client._bcs_https_server_host}{server_address_path}"
    context["https_server_address"] = https_server_address.rstrip("/")
    return context