Skip to content

Commit

Permalink
[Docs] Clean up cudo installation docs (#3724)
Browse files Browse the repository at this point in the history
* lint

* lint

* update docs
  • Loading branch information
romilbhardwaj authored and Michaelvll committed Aug 23, 2024
1 parent a6f5b32 commit 0885597
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 16 deletions.
31 changes: 16 additions & 15 deletions docs/source/getting-started/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -311,25 +311,26 @@ Fluidstack
Cudo Compute
~~~~~~~~~~~~~~~~~~

`Cudo Compute <https://www.cudocompute.com/>`__ GPU cloud provides low cost GPUs powered with green energy.
1. Create a billing account by following `this guide <https://www.cudocompute.com/docs/guide/billing/>`__.
2. Create a project `<https://www.cudocompute.com/docs/guide/projects/>`__.
3. Create an API Key by following `this guide <https://www.cudocompute.com/docs/guide/api-keys/>`__.
3. Download and install the `cudoctl <https://www.cudocompute.com/docs/cli-tool/>`__ command line tool
3. Run :code:`cudoctl init`:
`Cudo Compute <https://www.cudocompute.com/>`__ provides low cost GPUs powered by green energy.

.. code-block:: shell
1. Create a `billing account <https://www.cudocompute.com/docs/guide/billing/>`__.
2. Create a `project <https://www.cudocompute.com/docs/guide/projects/>`__.
3. Create an `API Key <https://www.cudocompute.com/docs/guide/api-keys/>`__.
4. Download and install the `cudoctl <https://www.cudocompute.com/docs/cli-tool/>`__ command line tool
5. Run :code:`cudoctl init`:

.. code-block:: shell
cudoctl init
✔ api key: my-api-key
✔ project: my-project
✔ billing account: my-billing-account
✔ context: default
config file saved ~/.config/cudo/cudo.yml
cudoctl init
✔ api key: my-api-key
✔ project: my-project
✔ billing account: my-billing-account
✔ context: default
config file saved ~/.config/cudo/cudo.yml
pip install "cudo-compute>=0.1.10"
pip install "cudo-compute>=0.1.10"
If you want to want to use skypilot with a different Cudo Compute account or project, just run :code:`cudoctl init`: again.
If you want to want to use SkyPilot with a different Cudo Compute account or project, run :code:`cudoctl init` again.



Expand Down
14 changes: 13 additions & 1 deletion docs/source/reference/kubernetes/kubernetes-troubleshooting.rst
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,19 @@ Run :code:`sky check` to verify that SkyPilot can access your cluster.
If you see an error, ensure that your kubeconfig file at :code:`~/.kube/config` is correctly set up.


Step A3 - Can you launch a SkyPilot task?
Step A3 - Do your nodes have enough disk space?
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

If your nodes are out of disk space, pulling the SkyPilot images may fail with :code:`rpc error: code = Canceled desc = failed to pull and unpack image: context canceled`.
Make sure your nodes are not under disk pressure by checking :code:`Conditions` in :code:`kubectl describe nodes`, or by running:

.. code-block:: bash
$ kubectl get nodes -o jsonpath='{range .items[*]}{.metadata.name}{"\n"}{range .status.conditions[?(@.type=="DiskPressure")]}{.type}={.status}{"\n"}{end}{"\n"}{end}'
# Should not show DiskPressure=True for any node
Step A4 - Can you launch a SkyPilot task?
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Next, try running a simple hello world task to verify that SkyPilot can launch tasks on your cluster.
Expand Down

0 comments on commit 0885597

Please sign in to comment.