Skip to content

Commit

Permalink
fix precommit failures
Browse files Browse the repository at this point in the history
Signed-off-by: Terry Kong <terryk@nvidia.com>
  • Loading branch information
terrykong committed Apr 23, 2024
1 parent 3d80a51 commit 2ee16e8
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
10 changes: 5 additions & 5 deletions docs/user-guide/KubernetesCurator.rst
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ Setup PVC Busybox Helper Pod
############################
Inspecting the PVC and copying to and from it is facilitated with a busybox container.
Some examples below assume you have this Pod running to copy to and from the PVC.
Some examples below assume you have this Pod running to copy to and from the PVC.
.. code-block:: bash
Expand Down Expand Up @@ -123,8 +123,8 @@ To copy into the ``nemo-workspace`` PVC, we will do so with ``kubectl exec``. Yo
use ``kubectl cp``, but ``exec`` has fewer surprises regarding compressed files:
.. code-block:: bash
# Replace <...> with a path on your local machine
# Replace <...> with a path on your local machine
LOCAL_WORKSPACE=<...>
# This copies $LOCAL_WORKSPACE/my_dataset to /my_dataset within the PVC.
Expand Down Expand Up @@ -284,7 +284,7 @@ container, we will need to build a custom image with your code installed:
When using a custom image, you will likely need to create a different secret unless you pushed to a public registry:
.. code-block:: bash
# Fill in <private-registry>/<username>/<password>
kubectl create secret docker-registry my-private-registry --docker-server=<private-registry> --docker-username=<username> --docker-password=<password>
Expand Down Expand Up @@ -373,7 +373,7 @@ To download data from your PVC, you can use the ``nemo-workspace-busybox`` Pod c
.. code-block:: bash
# Replace <...> with a path on your local machine
# Replace <...> with a path on your local machine
LOCAL_WORKSPACE=<...>
# Tar will fail if LOCAL_WORKSPACE doesn't exist
Expand Down
3 changes: 2 additions & 1 deletion examples/k8s/create_dask_cluster.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
from dask_kubernetes.operator.kubecluster import make_cluster_spec, KubeCluster
import argparse

from dask_kubernetes.operator.kubecluster import KubeCluster, make_cluster_spec


def create_cluster(
name: str,
Expand Down

0 comments on commit 2ee16e8

Please sign in to comment.