> ## Documentation Index
> Fetch the complete documentation index at: https://tensorfuse.io/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# tensorkube deployment

## `tensorkube deployment`

Manage and interact with your deployments.

**Usage:**

```bash theme={null}
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:**

```bash theme={null}
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:**

```bash theme={null}
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.

<Warning>
  This action is destructive. Once a deployment is deleted it cannot be recovered.
</Warning>

**Usage:**

```bash theme={null}
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.

```bash theme={null}
tensorkube deployment logs demo-gpus-1-v100
```

**Usage:**

```bash theme={null}
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.

```bash theme={null}
tensorkube deployment ssh demo-gpus-1-v100
```

**Usage:**

```bash theme={null}
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.
