Kubernetes Quickstart

Kubernetes is currently in limited availability, so it may not be visible or available for your account. Learn more.

Create Clusters

To create a Kubernetes cluster:

  1. From the Create menu in the top right of the control panel, click Clusters.

  2. Select a Kubernetes version. The latest version is selected by default and is the best choice if you have no specific need for an earlier version.

  3. Choose a datacenter region.

  4. Customize the default node pool and add additional node pools.

  5. Name the cluster and, optionally, add a tag. You cannot change the name of your cluster after you create it. Any tags you choose will be applied to the cluster and its worker nodes.

  6. Click Create Cluster. Provisioning the cluster takes several minutes.

  7. Download the cluster configuration file by clicking the cluster name.

Once the cluster is created, use kubectl to manage it.

Edit Nodes and Node Pools for an Existing Cluster

You can create additional node pools and add and remove nodes from a node pool at any time.

  1. Open the cluster’s More menu and select Manage.

  2. In the Resize Node Pools section, click the Edit button.

  3. Use the + and - controls to adjust the size of an existing node pool, and click the Add Node Pool to create an additional pool.

Recycle Nodes

If a worker node isn’t functioning properly, you can destroy and replace it with a new node of the same type with the Recycle option.

  1. Click the name of the cluster containing the node, then select the Nodes tab.

  2. Open the More menu and click Recycle, then confirm the action.

Destroy Clusters

To delete an entire cluster:

  1. On the cluster’s Manage tab, click the Destroy button.

  2. Confirm the destruction.

Destroying a cluster will not delete DigitalOcean Load Balancers or block storage volumes associated with the cluster.