# Run on your own Kubernetes

> Attach the Kubernetes cluster you already run, choose the namespaces Akua may use, and install your game there.

Already run Kubernetes? Attach it to Akua and install your game next to everything else you run, without handing over your cluster. You keep the control plane, nodes, storage and upgrades. Akua's agent only connects outward and installs what you tell it to, in every namespace or only the ones you choose.

## Attach the cluster

1. Check that `kubectl` points to the intended cluster and that Helm is available.
2. In the [Akua dashboard](https://akua.dev/clusters), choose **New cluster → Your existing Kubernetes cluster**. Select **All namespaces** for cluster-wide administration or **Selected namespaces** to restrict workloads to namespaces you have already created.
3. Choose **Connect cluster → Create command** and run the generated single-use Helm command. Wait for the Cluster to report `ready` before selecting it for the game Install.

Then install your game on it as in [Build your network](https://connect.minekube.com/games/network#install-your-servers).

See [Attach your Kubernetes cluster](https://docs.akua.dev/clusters/import) for the permissions granted by each option and how to reconnect an offline agent.

## Put a proxy in front of several servers

For a network of game servers, deploy [Gate on Kubernetes](https://gate.minekube.com/guide/install/kubernetes) and point its backend routes at your server Services. Enable [Gate's Connect connector](https://connect.minekube.com/guide/connectors/gate) on the proxy so players can join the network through one public endpoint.
