# Kubernetes

OneLens can be integrated with your selected K8s clusters to get usage and cost insights, all in one place. This will help you gain control over cost and run clusters efficiently.

OneLens supports Kubernetes integration for EKS *(Amazon Elastic Kubernetes Service on AWS)* and AKS *(Azure Kubernetes Service on Azure)*.

Follow the guidelines in order to complete the setup:

### [Agent Setup](https://docs.onelens.cloud/integrations/kubernetes/onelens-agent)

Set up the OneLens K8s agent using Helm to start collecting resource usage and metadata from your cluster.&#x20;

### [Enable Split Cost Allocation for EKS](https://docs.onelens.cloud/integrations/kubernetes/enable-split-cost-allocation-for-eks)

Enable workload-level cost allocation by linking your EKS resource usage with your CUR report.


---

# 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.onelens.cloud/integrations/kubernetes.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.
