> For the complete documentation index, see [llms.txt](https://docs.infra.app/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.infra.app/connect-your-cluster/digital-ocean-doks.md).

# Digital Ocean (DOKS)

### Prerequisites

* [Create a Kubernetes cluster](https://www.digitalocean.com/docs/kubernetes/how-to/create-clusters/) on Digital Ocean

### Download the cluster's config file

Log into Digital Ocean, click on Kubernetes in the sidebar, and then click on the cluster you want to connect to Infra App. On the main cluster view click on **Download Config File**.

![](/files/-MBoclPYl0JGPlkhfpOO)

### Add the cluster's config file into Infra App

In Infra App, click on File → Add Configuration

![](/files/-MBocnWixj6p37MuJH8Y)

Choose configuration file you downloaded from Digital Ocean. Infra App will automatically connect to the cluster.

You're done! You can switch to your cluster anytime via the cluster switcher:

![](/files/-MKCh1SD-X52FfwsYUDB)

{% hint style="warning" %}
On older versions of Kubernetes, the certificates in Digital Ocean DOKS configuration files expire after 7 days. Read more [here](https://www.digitalocean.com/docs/kubernetes/how-to/connect-to-cluster/) on how to renew the certificates in this case.
{% endhint %}

### Installing Metrics Server

Digital Ocean Kubernetes clusters don't include metrics server by default. To install metrics server, follow the [installation guide](https://marketplace.digitalocean.com/apps/kubernetes-metrics-server) provided by Digital Ocean.
