Runhouse provides CLI commands for logging in/out, and for basic interaction with the cluster.
The commands can be run like follows:
$ runhouse login $ runhouse cluster ssh cluster_name
Terminate cluster if it is not down. No-op if cluster is already down. This only applies to on-demand clusters, and has no effect on self-managed clusters.
Example
$ runhouse cluster down /sashab/rh-basic-cpu
Keep the cluster warm for given number of minutes after inactivity.
Example
$ runhouse cluster keep-warm /sashab/rh-basic-cpu
Load Runhouse clusters
Examples
$ runhouse cluster list
$ runhouse cluster list --all
$ runhouse cluster list --status terminated
$ runhouse cluster list --since 15m
Load the logs of the Runhouse server running on a cluster.
Examples
$ runhouse cluster logs /sashab/rh-basic-cpu
$ runhouse cluster logs /sashab/rh-basic-cpu --since 60
SSH into a remote cluster.
Example
$ runhouse cluster ssh /sashab/rh-basic-cpu
Load the status of the cluster.
Example
$ runhouse cluster status /sashab/rh-basic-cpu
Bring up the cluster if it is not up. No-op if cluster is already up. This only applies to on-demand clusters, and has no effect on self-managed clusters.
Example
$ runhouse cluster up /sashab/rh-basic-cpu
Login to Runhouse. Validates token provided, with options to upload or download stored secrets or config between local environment and Runhouse / Vault.
Logout of Runhouse. Provides options to delete locally configured secrets and local Runhouse configs
Restart the HTTP server on the cluster.
Start the HTTP server on the cluster.
Check the HTTP server status on the cluster.
Stop the HTTP server on the cluster.