From 03aa9dbcc5b0eb87284eeac90d651e17688e9f62 Mon Sep 17 00:00:00 2001 From: Alex Date: Fri, 29 Sep 2023 12:39:31 -0400 Subject: [PATCH] Clarify name parameter docstring (#823) --- dask_kubernetes/operator/kubecluster/kubecluster.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/dask_kubernetes/operator/kubecluster/kubecluster.py b/dask_kubernetes/operator/kubecluster/kubecluster.py index b9ea78888..e37f1be9b 100644 --- a/dask_kubernetes/operator/kubecluster/kubecluster.py +++ b/dask_kubernetes/operator/kubecluster/kubecluster.py @@ -60,8 +60,10 @@ class KubeCluster(Cluster): Parameters ---------- - name: str (required) - Name given the Dask cluster. + name: str + Name given the Dask cluster. Required except when custom_cluster_spec is + passed, in which case it's ignored in favor of + custom_cluster_spec["metadata"]["name"]. namespace: str (optional) Namespace in which to launch the workers. Defaults to current namespace if available or "default"