# EKS Setup

In the DuploCloud platform, a Kubernetes Cluster maps to a DuploCloud Infrastructure.

Start by creating a new Infrastructure in DuploCloud. When prompted to provide details for the new Infrastructure, select **Enable EKS**. In the **EKS Version** field, select the desired release.

Optionally, [enable logging](https://docs.duplocloud.com/docs/automation-platform/overview/use-cases/creating-an-infrastructure-and-plan-for-aws/kubernetes-cluster/enable-eks-logs) and [custom EKS endpoints](https://docs.duplocloud.com/docs/automation-platform/overview/use-cases/creating-an-infrastructure-and-plan-for-aws/kubernetes-cluster/enable-eks-endpoints).

<figure><img src="https://2471407984-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F68cb0s9ce5UIUKWPuYs8%2Fuploads%2FsIw4Na2dzOyhun9dyuKq%2FAWS_Infra_logs1.png?alt=media&#x26;token=836d809f-7ac6-42cd-ae28-899af7e0cfcf" alt=""><figcaption><p><strong>Add Infrastructure</strong> form with <strong>Enable EKS</strong> selected</p></figcaption></figure>

{% hint style="warning" %}
Up to one instance (0 or 1) of an EKS is supported for each DuploCloud Infrastructure.
{% endhint %}

{% hint style="info" %}
Creating an Infrastructure with EKS can take some time. See the [Infrastructure ](https://docs.duplocloud.com/docs/automation-platform/overview/use-cases/creating-an-infrastructure-and-plan-for-aws)section for details about other elements on the Add Infrastructure form.
{% endhint %}

When the Infrastructure is in the ready state, as indicated by a **Complete** status, navigate to **Kubernetes** -> **Services** and select the Infrastructure from the **NAME** column to view the Kubernetes configuration details, including the token and configuration for `kubectl`.

<figure><img src="https://2471407984-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F68cb0s9ce5UIUKWPuYs8%2Fuploads%2FWhwEVLa28YQiKMnAMkRi%2FInfrastructure_Complete_AWS.png?alt=media&#x26;token=f5f2916b-1c07-4a25-9d61-62062c5871c0" alt=""><figcaption><p><strong>Infrastructure</strong> page with <strong>Status Complete</strong> displayed</p></figcaption></figure>

When you create Tenants in an Infrastructure, a namespace is created in the Kubernetes cluster with the name `duploservices-TENANT_NAME`


---

# 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.duplocloud.com/docs/automation-platform/overview/use-cases/creating-an-infrastructure-and-plan-for-aws/kubernetes-cluster.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.
