---
agentTools:
  projectIndex: https://klusternetes.readme.io/llms.txt
---

# Knts Cluster

***`knts cluster `***

create, delete, list, and get the kubeconfig of your cluster in klusternetes

### Synopsis

This command allows you to interact with the klusternetes operator. Allows you to create, list, or delete the cluster from an account in klusternetes. It also lets you download the kubeconfig of the particular cluster in the account.

### Before usage

Before using this command, export the Auth Token to authenticate with the klusternetes account.

* To get the auth token visit the klusternetes UI and Click on `Generating a new API key` button.

![](https://files.readme.io/2362619d985a8137e70863116f012487daca93b8d9f2826d760fecf5af6f61a3-image.png)

* Export it as follows

```shell
 export AUTH_TOKEN=<your auth token>
```

### Usage

```shell
knts cluster [command]
```

or

```shell
knts cluster [flags]
```

#### Sub-commands

```shell
  create      Create a new cluster with in knts account
  delete      Delete the cluster  in the knts account
  kc          Get the KubeConfig of the cluster
  list        List the clusters in the knts account
```

#### Flags

```shell
  -h, --help                help for cluster
```

#### Global Flags

```shell
  -l, --log-level string    amount of information outputted (debug, info, warn, error) (default "warn")
      --log-output string   output format for logs (tty, plain, json) (default "tty")
```