tensorkube deployment
Manage and interact with your deployments.
Usage:
tensorkube deployment COMMAND [ARGS]...
Options:
--help BOOL [default: false]: Show this message and exit.
Commands:
-
list: List all deployments running and recently stopped along with their status
-
describe: List details of a deployment including the status, url and the latest ready revision.
-
delete: Delete a deployment.
-
logs: Stream logs for a specific deployment if it is in the running state.
-
ssh: SSH into the instances of a specific deployment.
tensorkube deployment list
List all deployments running and recently stopped along with their status
Usage:
tensorkube deployment list [OPTIONS]
Options:
-
--env TEXT: Environment to list the services from.
-
--all BOOLEAN [default: False]: List all services from all environments.
-
--old BOOLEAN [default: False]: List older sslip urls for using as hosts if you are on an older version.
-
--help BOOL [default: false]: Show this message and exit.
tensorkube deployment describe
List details of a deployment including the status, url and the latest ready revision.
Usage:
tensorkube deployment describe <SERVICE_NAME> [OPTIONS]
Arguments:
<SERVICE_NAME> (TEXT): No description available.
Options:
-
--env TEXT: Environment to describe the deployment from.
-
--help BOOL [default: false]: Show this message and exit.
tensorkube deployment delete
Delete a deployment.
This action is destructive. Once a deployment is deleted it cannot be recovered.
Usage:
tensorkube deployment delete <SERVICE_NAME> [OPTIONS]
Arguments:
<SERVICE_NAME> (TEXT): No description available.
Options:
-
--env TEXT: Environment to describe the deployment from.
-
--help BOOL [default: false]: Show this message and exit.
tensorkube deployment logs
Stream logs for a specific deployment if it is in the running state.
Examples:
Get the logs using the deployment name.
tensorkube deployment logs demo-gpus-1-v100
Usage:
tensorkube deployment logs <SERVICE_NAME> [OPTIONS]
Arguments:
<SERVICE_NAME> (TEXT): No description available.
Options:
-
--env TEXT: Environment to list the services from.
-
--help BOOL [default: false]: Show this message and exit.
tensorkube deployment ssh
SSH into the instances of a specific deployment.
If multiple instances are running, this command gives you a list of instances to choose from.
Examples:
SSH into the deployment instance using deployment name.
tensorkube deployment ssh demo-gpus-1-v100
Usage:
tensorkube deployment ssh <SERVICE_NAME> [OPTIONS]
Arguments:
<SERVICE_NAME> (TEXT): No description available.
Options:
-
--env TEXT: Environment to list the services from.
-
--help BOOL [default: false]: Show this message and exit.