def METHOD_NAME(deployments: Collection[str]) -> Collection[str]:
    clusters = []
    for deployment in deployments:
        cluster = deployment.split(".")[0]
        clusters.append(cluster)
    return set(clusters)