Build your network
Your network runs on a Kubernetes cluster you control. Akua runs the control plane, you add the servers, and you and your coding agent work on it as cluster admin. Players join through Minekube Connect, so no server needs an open port.
Create the Cluster
Section titled “Create the Cluster”In the Clusters dashboard, click New cluster, keep Hosted by Akua, and choose a name and a Region. With the Akua CLI:
akua auth loginakua regions listakua clusters create --kind hosted \ --name my-network \ --region-id REGION_IDThen add a server. Either let Akua start the free trial server (2 vCPU, 4 GiB, one per person, runs for 7 days), with a card that Akua verifies and does not charge:
akua node-pools create CLUSTER_ID \ --node-pool-id server-1 \ --machine-type cx23 \ --node-count 1Or join a Linux server you already have. Create a join command and run it on the server as root:
akua clusters create-join-token \ CLUSTER_ID --ttl-seconds 3600The Cluster is ready once its first server has joined. Where your game runs compares these options with attaching a Kubernetes cluster you already operate.
Work on it as cluster admin
Section titled “Work on it as cluster admin”akua clusters get-credentials \ CLUSTER_ID --workspace WORKSPACEkubectl get nodesThe first command adds the Cluster to your kubeconfig and switches kubectl to it. kubectl, Helm and every tool that reads your kubeconfig now work with cluster-admin rights. No credential is written to the file: kubectl asks the Akua CLI for a short-lived token whenever it needs one. See Connect with kubectl.
Your coding agent works the same way. Set it up with the Akua quickstart prompt, or give a script an API token for your Workspace in AKUA_API_TOKEN; it gets the same kubectl access.
Install your servers
Section titled “Install your servers”Package each part of your network, such as a lobby, a game server or a proxy, as described in Package your game. Then install it on the Cluster from the dashboard with Install an app, or with one command:
akua commands \ --operation-id installs.create \ --jsonakua installs create \ --input install.jsonThe first command prints the request shape: the Package, its version, the Cluster and the settings for this server. Each Install keeps its own settings and, with a volume in the Package, its own world, and you update it when you choose.
Because you are cluster admin, you can also run anything else next to your Installs with kubectl or Helm, such as Gate on Kubernetes.
Put one address in front
Section titled “Put one address in front”For a network of several servers, put a proxy in front of them and connect only the proxy:
- Gate: turn on its built-in Connect connector and point Gate’s routes at your servers.
- Velocity or BungeeCord: install the Connect plugin on the proxy, not on the backend servers.
For a single server, install the Connect plugin on the server itself. Forwarding and topologies shows each setup.
Join your network
Section titled “Join your network”When the proxy or server starts, its console prints the public address. Read it with kubectl:
kubectl logs -n NAMESPACE \ deploy/DEPLOYMENT \ | grep play.minekube.netJoin <endpoint>.play.minekube.net in Minecraft. Players use the same address, with no open port and no IP address to share. Get players covers custom domains and the in‑game Browser Hub.
Was this helpful?
Thanks for the feedback.