> ## Documentation Index
> Fetch the complete documentation index at: https://docs.aviatrix.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Onboarding Kubernetes Clusters

> Onboard EKS, AKS, GKE, or self-managed Kubernetes clusters to the Aviatrix Controller for Distributed Cloud Firewall. Pick the cluster type to see the step-by-step flow.

Onboarding a Kubernetes cluster registers it with the Aviatrix Controller and
enables Distributed Cloud Firewall to discover Kubernetes workloads (namespaces,
services, pods, nodes, endpoint slices) and enforce policy on them via
SmartGroups.

## Before you start

Read

[Kubernetes Onboarding Prerequisites](https://docs.aviatrix.com/docs/enterprise/10.1/reference/dcf/kubernetes-prerequisites.md)
once. Each per-provider page below links back to the relevant anchors there
rather than restating the requirements.

## Private clusters

For clusters whose API server is not exposed to the public internet, set up
private connectivity first via

[Onboarding Private Kubernetes Clusters](https://docs.aviatrix.com/docs/enterprise/10.1/guides/security/dcf/private-kubernetes-cluster-onboard.md)
, then return to the per-provider page.

Pick the cluster type:

> [card] [Onboard EKS Clusters](https://docs.aviatrix.com/docs/enterprise/10.1/guides/security/dcf/kubernetes-onboard-eks.md)
>
> AWS-managed Kubernetes via the Aviatrix IAM principal or a service-account
> kubeconfig.

> [card] [Onboard AKS Clusters](https://docs.aviatrix.com/docs/enterprise/10.1/guides/security/dcf/kubernetes-onboard-aks.md)
>
> Azure-managed Kubernetes via the Aviatrix service principal or a
> service-account kubeconfig.

> [card] [Onboard GKE Clusters](https://docs.aviatrix.com/docs/enterprise/10.1/guides/security/dcf/kubernetes-onboard-gke.md)
>
> Google-managed Kubernetes via Terraform with the GCP service account or a
> service-account kubeconfig.

> [card] [Onboard Self-Managed/Custom](https://docs.aviatrix.com/docs/enterprise/10.1/guides/security/dcf/kubernetes-onboard-custom.md)
>
> kops, kubeadm, k3s, Rancher, and other clusters running in a supported
> cloud, using a service-account kubeconfig.

## Related Topics

* [Aviatrix Kubernetes Firewall](https://docs.aviatrix.com/docs/enterprise/10.1/concepts-architectures/components/dcf/kubernetes-overview.md)
* [Distributed Cloud Firewall for Kubernetes](https://docs.aviatrix.com/docs/enterprise/10.1/guides/security/dcf/dcf-kubernetes.md)
* [Disable SNAT for Kubernetes Workloads](https://docs.aviatrix.com/docs/enterprise/10.1/reference/dcf/kubernetes-snat.md)
* [Discovery of Kubernetes Resources](https://docs.aviatrix.com/docs/enterprise/10.1/guides/security/dcf/kubernetes-resource-discovery.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.