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

# Kubernetes

> Deploy self-hosted Runlayer on your EKS or GKE cluster using the Runlayer Operator

The Runlayer Operator installs and reconciles the Runlayer application on an **EKS or GKE cluster you provision and operate**. It manages `RunlayerInstance` platform workloads and `MCPServer` deployments. You supply the cluster, database, cache, cloud resources, identity, DNS, and ingress.

## Deployment path

1. Collect [Runlayer-provided inputs](https://docs.runlayer.com/deployment/runlayer-provided-inputs.md) and review [egress requirements](https://docs.runlayer.com/deployment/egress-requirements.md).
2. Prepare the cluster using [Kubernetes prerequisites](https://docs.runlayer.com/deployment/kubernetes-prerequisites.md).
3. Provision [external dependencies](https://docs.runlayer.com/deployment/external-dependencies.md), including PostgreSQL and Redis.
4. Configure [workload identity](https://docs.runlayer.com/deployment/workload-identity.md) and the permissions needed by your selected features.
5. Follow the [Operator deployment guide](https://docs.runlayer.com/deployment/runlayer-operator.md) to install the operator, create namespaces and Secrets, deploy a `RunlayerInstance`, configure ingress, and verify readiness.

Choose optional components before provisioning their dependencies. The deployment guide covers [optional components](https://docs.runlayer.com/deployment/runlayer-operator.md#optional-components-snippet) and [Kubernetes agent sandboxes](https://docs.runlayer.com/deployment/runlayer-operator.md#k8s-agent-sandbox-sandboxmode-k8s).

Use [Updates](https://docs.runlayer.com/operations/updates.md) for subsequent releases and rollback. The legacy [EKS Terraform guide](https://docs.runlayer.com/deployment/eks-terraform) is deprecated and should not be used for new installations.

For AWS without Kubernetes, see [ECS + Terraform](https://docs.runlayer.com/deployment/ecs).


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