diff --git a/docs/source/index.rst b/docs/source/index.rst index 87e41aac..5aa0e23d 100644 --- a/docs/source/index.rst +++ b/docs/source/index.rst @@ -156,7 +156,7 @@ A ``DaskAutoscaler`` resource will communicate with the scheduler periodically a from dask_kubernetes.operator import KubeCluster cluster = KubeCluster(name="my-dask-cluster", image='ghcr.io/dask/dask:latest') - cluster.scale(10) + cluster.adapt(minimum=1, maximum=10) .. toctree:: :maxdepth: 2