# 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.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.infra.app/connect-your-cluster/digital-ocean-doks.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
