From 5c2ceb99a2644c12ca0a8762218577e1407c02e6 Mon Sep 17 00:00:00 2001 From: droctothorpe Date: Wed, 27 Sep 2023 10:53:56 -0400 Subject: [PATCH] Clarify name parameter docstring --- 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 900387560..21ea09715 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"