# doctl kubernetes – DigitalOcean Documentation > The commands under `doctl kubernetes` are for managing Kubernetes clusters and viewing configuration options relating to clusters. A typical workflow is to use `doctl kubernetes cluster create` to create the cluster on DigitalOcean's infrastructure, then call `doctl kubernetes cluster kubeconfig` to configure `kubectl` to connect to the cluster. You are then able to use `kubectl` to create and manage workloads. The commands under `doctl kubernetes options` retrieve values used while creating clusters, such as the list of regions where cluster creation is supported. ## doctl kubernetes 1-click The commands under `doctl kubernetes 1-click` are for managing DigitalOcean Kubernetes 1-Click applications. - [doctl kubernetes 1-click install](https://docs.digitalocean.com/reference/doctl/reference/kubernetes/1-click/install/index.html.md): Installs 1-click applications on a Kubernetes cluster. Use the `--1-click` flag to specify one or multiple pieces of software to install on the cluster. - [doctl kubernetes 1-click list](https://docs.digitalocean.com/reference/doctl/reference/kubernetes/1-click/list/index.html.md): Retrieves a list of Kubernetes 1-Click applications you can install on a Kubernetes cluster. ## doctl kubernetes cluster The commands under `doctl kubernetes cluster` are for the management of Kubernetes clusters. A typical workflow is to use `doctl kubernetes cluster create` to create the cluster on DigitalOcean's infrastructure, then call `doctl kubernetes cluster kubeconfig` to configure `kubectl` to connect to the cluster. You are then able to use `kubectl` to create and manage workloads. - [doctl kubernetes cluster registry add](https://docs.digitalocean.com/reference/doctl/reference/kubernetes/cluster/registry/add/index.html.md): Adds container registry support to the specified Kubernetes cluster(s). - [doctl kubernetes cluster create](https://docs.digitalocean.com/reference/doctl/reference/kubernetes/cluster/create/index.html.md): Creates a Kubernetes cluster given the specified options and using the specified name. Before creating the cluster, you can use `doctl kubernetes options` to see possible values for the various configuration flags. If no configuration flags are used, a … - [doctl kubernetes cluster node-pool create](https://docs.digitalocean.com/reference/doctl/reference/kubernetes/cluster/node-pool/create/index.html.md): Creates a new node pool for the specified cluster. The command requires values for the `--name`, `--size`, and `--count` flags to create a node pool. You can also specify that you'd like to enable autoscaling and set minimum and maximum node poll sizes. - [doctl kubernetes cluster delete](https://docs.digitalocean.com/reference/doctl/reference/kubernetes/cluster/delete/index.html.md): Deletes the specified Kubernetes clusters and the Droplets associated with them. To delete all other DigitalOcean resources created during the operation of the clusters, such as load balancers, volumes or volume snapshots, use the `--dangerous` flag. - [doctl kubernetes cluster node-pool delete](https://docs.digitalocean.com/reference/doctl/reference/kubernetes/cluster/node-pool/delete/index.html.md): Deletes a node pool in a cluster, which also removes all the nodes inside that pool. You cannot reverse this action. - [doctl kubernetes cluster node-pool delete-node](https://docs.digitalocean.com/reference/doctl/reference/kubernetes/cluster/node-pool/delete-node/index.html.md): Deletes a node in the specified node pool. By default, this deletion happens gracefully and Kubernetes drains the node of any pods before deleting it. - [doctl kubernetes cluster delete-selective](https://docs.digitalocean.com/reference/doctl/reference/kubernetes/cluster/delete-selective/index.html.md): Deletes the specified Kubernetes cluster and Droplets associated with it. It also deletes the specified associated resources. Associated resources can be load balancers, volumes and volume snapshots. - [doctl kubernetes cluster get](https://docs.digitalocean.com/reference/doctl/reference/kubernetes/cluster/get/index.html.md): Retrieves the following details about a Kubernetes cluster: - A unique ID for the cluster - A human-readable name for the cluster - The slug identifying the region where the Kubernetes cluster is located - The slug identifying the cluster's Kubernetes … - [doctl kubernetes cluster node-pool get](https://docs.digitalocean.com/reference/doctl/reference/kubernetes/cluster/node-pool/get/index.html.md): Retrieves information about the specified node pool in the specified cluster, including: - The node pool ID - The slug indicating the machine size of the nodes, such as `s-1vcpu-2gb` - The number of nodes in the pool - The tags applied to the node pool - … - [doctl kubernetes cluster get-upgrades](https://docs.digitalocean.com/reference/doctl/reference/kubernetes/cluster/get-upgrades/index.html.md): Retrieves a list of slugs representing Kubernetes upgrade versions you can use to upgrade the cluster. To upgrade your cluster, use the `doctl kubernetes cluster upgrade` command. - [doctl kubernetes cluster list](https://docs.digitalocean.com/reference/doctl/reference/kubernetes/cluster/list/index.html.md): Retrieves the following details about all Kubernetes clusters that are on your account: - A unique ID for the cluster - A human-readable name for the cluster - The slug identifying the region where the Kubernetes cluster is located - The slug identifying … - [doctl kubernetes cluster node-pool list](https://docs.digitalocean.com/reference/doctl/reference/kubernetes/cluster/node-pool/list/index.html.md): Retrieves information about the specified cluster's node pools, including: - The node pool ID - The slug indicating the machine size of the nodes, such as `s-1vcpu-2gb` - The number of nodes in the pool - The tags applied to the node pool - The names of … - [doctl kubernetes cluster list-associated-resources](https://docs.digitalocean.com/reference/doctl/reference/kubernetes/cluster/list-associated-resources/index.html.md): Retrieves the following details for a Kubernetes cluster: - Volume IDs for volumes created by the DigitalOcean CSI driver - Volume snapshot IDs for volume snapshots created by the DigitalOcean CSI driver - Load balancer IDs for load balancers managed by … - [doctl kubernetes cluster kubeconfig remove](https://docs.digitalocean.com/reference/doctl/reference/kubernetes/cluster/kubeconfig/remove/index.html.md): This command removes the specified cluster's credentials from your local kubeconfig. After running this command, you cannot use `kubectl` to interact with your cluster. - [doctl kubernetes cluster registry remove](https://docs.digitalocean.com/reference/doctl/reference/kubernetes/cluster/registry/remove/index.html.md): Removes container registry support from the specified Kubernetes cluster(s). - [doctl kubernetes cluster node-pool replace-node](https://docs.digitalocean.com/reference/doctl/reference/kubernetes/cluster/node-pool/replace-node/index.html.md): Deletes the specified node in the specified node pool, and then creates a new node in its place. This is useful if you suspect a node has entered an undesired state. By default, the deletion happens gracefully and Kubernetes drains the node of any pods … - [doctl kubernetes cluster kubeconfig save](https://docs.digitalocean.com/reference/doctl/reference/kubernetes/cluster/kubeconfig/save/index.html.md): Adds the credentials for the specified cluster to your local kubeconfig. After this, your kubectl installation can directly manage the specified cluster. - [doctl kubernetes cluster kubeconfig show](https://docs.digitalocean.com/reference/doctl/reference/kubernetes/cluster/kubeconfig/show/index.html.md): Returns the raw YAML for the specified cluster's kubeconfig. - [doctl kubernetes cluster node-pool update](https://docs.digitalocean.com/reference/doctl/reference/kubernetes/cluster/node-pool/update/index.html.md): Updates a node pool in a cluster. You can update any value for which there is a flag. - [doctl kubernetes cluster update](https://docs.digitalocean.com/reference/doctl/reference/kubernetes/cluster/update/index.html.md): Updates the configuration values for a Kubernetes cluster. The cluster must be referred to by its name or ID. Use the `doctl kubernetes cluster list` command to get a list of clusters on your account. - [doctl kubernetes cluster upgrade](https://docs.digitalocean.com/reference/doctl/reference/kubernetes/cluster/upgrade/index.html.md): Upgrades a Kubernetes cluster. By default, this upgrades the cluster to the latest available release, but you can also specify any version listed for your cluster by using `doctl k8s cluster get-upgrades`. ## doctl kubernetes options The `options` commands are used to enumerate values for use with `doctl`'s Kubernetes commands. This is useful in certain cases where flags only accept input that is from a list of possible values, such as Kubernetes versions, datacenter regions, and machine sizes. - [doctl kubernetes options regions](https://docs.digitalocean.com/reference/doctl/reference/kubernetes/options/regions/index.html.md): Lists regions that support DigitalOcean Kubernetes clusters - [doctl kubernetes options sizes](https://docs.digitalocean.com/reference/doctl/reference/kubernetes/options/sizes/index.html.md): Lists machine sizes that you can use in a DigitalOcean Kubernetes cluster - [doctl kubernetes options versions](https://docs.digitalocean.com/reference/doctl/reference/kubernetes/options/versions/index.html.md): Lists Kubernetes versions that you can use with DigitalOcean clusters