> 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

Learn how to connect your Kubernetes cluster with Sedai's autonomous cloud management platform. Achieve continuous optimization and automation for your workloads.

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="https://718462512-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FrF70A0mjyczIwzn72g6Y%2Fuploads%2FzlLiAylqZQ8lDbuxmu0E%2FScreenshot%202024-12-03%20at%2012.14.19%20PM.png?alt=media&amp;token=aedf294a-70a8-4685-80db-022b2f3ec911" 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
