Skip to content

Commit 1cb0051

Browse files
committed
Remove duplicate snippet
1 parent 9bd8ea0 commit 1cb0051

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

docs/source/index.rst

-6
Original file line numberDiff line numberDiff line change
@@ -152,12 +152,6 @@ Autoscalers
152152

153153
A ``DaskAutoscaler`` resource will communicate with the scheduler periodically and auto scale the default ``DaskWorkerGroup`` to the desired number of workers.
154154

155-
.. code-block:: python
156-
157-
from dask_kubernetes.operator import KubeCluster
158-
cluster = KubeCluster(name="my-dask-cluster", image='ghcr.io/dask/dask:latest')
159-
cluster.scale(10)
160-
161155
.. toctree::
162156
:maxdepth: 2
163157
:hidden:

0 commit comments

Comments
 (0)