> For the complete documentation index, see [llms.txt](https://docs.sedai.io/get-started/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.sedai.io/get-started/onboarding/autonomous-cloud-management/connect-kubernetes-cluster.md).

# Connect Kubernetes cluster

Sedai integrates to individual Kubernetes clusters. To integrate a cluster, Sedai requires access to control plane APIs so it can view the current state of workloads and optionally make changes (such as modifying configurations like CPU, memory, etc). Sedai additionally needs access to monitoring data APIs to query metrics (such as usage, traffic, and performance) for its analysis and ML models.

Once connected, Sedai discovers stateless workloads, Deployments, StatefulSets, ReplicaSets, Jobs, CronJobs, Services, and Volumes.

{% hint style="info" %}
Sedai currently supports Copilot and Autopilot modes for stateless workloads and partially supports stateful workloads; Datapilot mode is supported for all other workload types.
{% endhint %}

<figure><img src="/files/fWAVoyXnbQEjU8jrZJKE" alt=""><figcaption></figcaption></figure>

### How to integrate

For clusters managed through a cloud provider, we recommend deploying Sedai's Smart Agent to ensure secure, uninterrupted access:

{% content-ref url="/pages/vJtJBWlhmIlPfTNB7vLT" %}
[Sedai Smart Agent](/get-started/onboarding/autonomous-cloud-management/connect-kubernetes-cluster/sedai-smart-agent.md)
{% endcontent-ref %}

{% hint style="warning" %}
If your organization has rules that limit egress access from within your cluster, Sedai requires explicit concessions to allow backend service from the Smart Agent.

Work with your security team to scan and validate the Smart Agent's container images to ensure they meet security needs.
{% endhint %}

Sedai also supports integrating clusters without an agent for AWS, Microsoft Azure, and Google Cloud Platform:

{% content-ref url="/pages/Z7okjxI8ioTMw1Q8oT5E" %}
[AKS Agentless Setup](/get-started/onboarding/autonomous-cloud-management/connect-kubernetes-cluster/aks-agentless-setup.md)
{% endcontent-ref %}

{% content-ref url="/pages/bVJlPx8I2Ibu6N0GE1rw" %}
[EKS Agentless Setup](/get-started/onboarding/autonomous-cloud-management/connect-kubernetes-cluster/eks-agentless-setup.md)
{% endcontent-ref %}

{% content-ref url="/pages/x7F62ib7gjMdWq5kZrUy" %}
[GKE Agentless Setup](/get-started/onboarding/autonomous-cloud-management/connect-kubernetes-cluster/gke-agentless-setup.md)
{% endcontent-ref %}

{% content-ref url="/pages/8ZLrEgx7aVg7JXxiRDTY" %}
[Node Optimisation Setup for AKS](/get-started/onboarding/autonomous-cloud-management/connect-kubernetes-cluster/node-optimization-setup.md)
{% endcontent-ref %}

{% hint style="info" %}
If you run on-prem/self-managed clusters, you can also connect clusters deployed in Cloud Service Provider's environments.
{% endhint %}

#### Supported Providers

* AWS Elastic Kubernetes Service (EKS)
* Alibaba Container Service for Kubernetes
* Azure Kubernetes Service (AKS)
* DigitalOcean
* Google Kubernetes Engine (GKE)
* IBM Cloud Kubernetes Service
* OpenShift
* Oracle Cloud Infrastructure Container Engine for Kubernetes (OKE)
* Platform9
* Rancher
* VMware Tanzu


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.sedai.io/get-started/onboarding/autonomous-cloud-management/connect-kubernetes-cluster.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
