diff --git a/ci/scripts/test_imports.sh b/ci/scripts/test_imports.sh index c50a56bf..80ac3b8f 100644 --- a/ci/scripts/test_imports.sh +++ b/ci/scripts/test_imports.sh @@ -19,3 +19,4 @@ test_import "aws" "import dask_cloudprovider.aws" test_import "azure" "import dask_cloudprovider.azure" test_import "digitalocean" "import dask_cloudprovider.digitalocean" test_import "gcp" "import dask_cloudprovider.gcp" +test_import "fly" "import dask_cloudprovider.fly" diff --git a/dask_cloudprovider/cloudprovider.yaml b/dask_cloudprovider/cloudprovider.yaml index 121ee64b..1d2c09ab 100755 --- a/dask_cloudprovider/cloudprovider.yaml +++ b/dask_cloudprovider/cloudprovider.yaml @@ -122,7 +122,7 @@ cloudprovider: token: null # API token for interacting with the Fly API region: "lax" # Region to launch Droplets in vm_size: "shared-cpu-1x" # Droplet size to launch, default is 1GB RAM, 1 vCPU - image: "daskdev/dask:latest-py3.10" # Operating System image to use + image: "daskdev/dask:latest" # Operating System image to use memory_mb: 1024 # Memory in MB to use for the scheduler and workers cpus: 1 # Number of CPUs to use for the scheduler and workers app_name: null # Name of Fly app to use. If it is blank, a random name will be generated. diff --git a/dask_cloudprovider/fly/machine.py b/dask_cloudprovider/fly/machine.py index a78c30ad..dd5e3983 100644 --- a/dask_cloudprovider/fly/machine.py +++ b/dask_cloudprovider/fly/machine.py @@ -281,9 +281,10 @@ class FlyMachineCluster(VMCluster): VMs in Fly.io (FLY) are referred to as machines. This cluster manager constructs a Dask cluster running on VMs. - _Note: By default, the cluster will instantiate a new Fly.io app. The app will be deleted when - the cluster is closed. If you want to use an existing app, you can pass the app name to the - ``app_name`` parameter._ + .. note:: + By default, the cluster will instantiate a new Fly.io app. The app will be deleted when + the cluster is closed. If you want to use an existing app, you can pass the app name to the + ``app_name`` parameter. When configuring your cluster you may find it useful to install the ``flyctl`` tool for querying the CLY API for available options. diff --git a/doc/source/fly.rst b/doc/source/fly.rst index 263a9297..c856bf3a 100644 --- a/doc/source/fly.rst +++ b/doc/source/fly.rst @@ -1,5 +1,5 @@ Fly.io -============ +====== .. currentmodule:: dask_cloudprovider.fly @@ -34,4 +34,4 @@ FlyMachine ---------- .. autoclass:: FlyMachineCluster - :members: \ No newline at end of file + :members: