Skip to content

Commit

Permalink
Add up if not to clusters in tutorials (#1009)
Browse files Browse the repository at this point in the history
  • Loading branch information
carolineechen authored Jul 15, 2024
1 parent 127e81a commit 524d342
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion docs/tutorials/api-clusters.rst
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ types on AWS).
import runhouse as rh
aws_cluster = rh.cluster(name="test-cluster", instance_type="CPU:2")
aws_cluster.up_if_not()
Next, we set up a basic function to throw up on our cluster. For more
information about Functions & Modules that you can put up on a cluster,
Expand Down Expand Up @@ -109,7 +110,7 @@ and access objects and functions via ``curl``.
open_ports=[443], # expose HTTPS port to public
server_connection_type="tls", # specify how runhouse communicates with this cluster
den_auth=False, # no authentication required to hit this cluster (NOT recommended)
)
).up_if_not()
.. parsed-literal::
Expand Down
2 changes: 1 addition & 1 deletion docs/tutorials/quick-start-den.rst
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ properly configured by running ``sky check``.
name="rh-cluster",
instance_type="CPU:2+",
provider="aws"
)
).up_if_not()
.. code:: ipython3
Expand Down

0 comments on commit 524d342

Please sign in to comment.