gameplane / docs
PLATFORM

Multi-cluster topology and limits

Make cluster boundaries explicit and operate independent environments without implying unsupported scheduling or automatic failover.

Cluster & Storagev0.414 MIN
Shared policy, not shared state

Share policy through GitOps and SSO; do not share live databases, controller state, or repository credentials across boundaries.

Available since v0.3.0

The optional agent gateway and the unified cross-cluster dashboard described below are available since v0.3.0. In v0.2.0-beta.8 you can register clusters and manage their resources from one dashboard, but console and log streaming is scoped to the local control-plane cluster.

Available since v0.4.0

Standalone panels run the central API and dashboard without a local game cluster, and the Nodes page lists the nodes of every cluster you can see. See the standalone panel guide for setup, credentials and recovery.

Manage independent clusters from one dashboard

One central API and login manages independent registered clusters, whether the panel runs as a combined installation or as a standalone panel without a local cluster. Each remote cluster runs its own operator and, optionally, a private agent gateway. Clusters stay independent execution and storage boundaries; only their presentation is combined.

What works across clusters

The central API connects directly to each registered Kubernetes API for resource changes, Pod logs and PTY attach. The gateway adds the agent-based operations on top; it does not tunnel Kubernetes traffic.

Capability How it reaches the remote cluster
Create, edit and delete GameServers, Backups and other resources Central API to the cluster’s Kubernetes API, using the registered kubeconfig
Pod startup/stdout logs and PTY console attach Selected cluster’s Kubernetes API; no gateway needed
RCON console, game log files, file manager, players, live status, agent-based mods, RCON module actions Gateway, which forwards to the game Pod’s agent over mTLS
Stdin module actions Selected cluster’s Kubernetes client, after a workload-ownership check
Packet-capture downloads and cleanup Gateway capture route; requires an upgraded gateway and capture sidecar
Registry browsing, modpacks, ID-list mods Selected cluster’s Kubernetes client and game template; provider credentials stay in the central installation
Node inventory and storage totals Central API reads the cluster’s Kubernetes API with the registered kubeconfig’s identity

The same server pages and permissions apply to local and remote servers. Every operation stays bound to its cluster, namespace and resource identity, and an unavailable remote never falls back to a local server with the same name.

What does not work across clusters

  • No cross-cluster scheduling, automatic failover, shared storage, or live game migration; move worlds with backup and restore (see Promote and migrate).
  • No second user database: accounts, roles, the module catalog, audit and installation settings stay centrally managed.
  • Node-join tokens, kubeconfig issuance and installation storage configuration are local-cluster operations and are unavailable while viewing a remote cluster.
  • Registration is an administrator step. In a combined installation, the dashboard’s Clusters page lists and selects existing registrations, and you enroll a cluster through the Cluster resource and its credential Secrets. In a standalone panel, a user with cluster:manage selects Register cluster on the Clusters page (or calls POST /clusters); the registration and its credentials are stored in the panel’s database. Registration grants no workload access.
  • A gateway outage does not stop games or their local operator, and the Cluster health status reports Kubernetes connectivity only, not gateway health.

Match component versions

Use matching API, operator and agent versions in every cluster. Remote requests use only the UID-bound agent route; an older agent, or an operator that has not yet injected the server UID, fails closed with a 404 and there is no fallback to legacy agent paths. Upgrading the operator can roll existing game Pods, so schedule it for a maintenance window. Capture downloads and cleanup additionally need an upgraded capture sidecar: files written by an older sidecar stay available locally but are refused on the remote route. The agent gateway guide covers the upgrade details.

One view across locations

The dashboard, Servers, Backups and Search combine every resource the user is authorized to see, across all registered clusters, with an optional Cluster filter. There is no global cluster switcher in the ordinary shell.

  • Dashboard: combined server and player counts; inventory cards combine only the sites where the user has inventory permission. CPU and memory ratios use summed usage over matching capacity, and unavailable metrics show as unknown rather than zero. Unavailable or truncated scopes are listed next to partial totals.
  • Servers: one list with the existing game, namespace, status and text filters plus Cluster, kept inside the Filter popover. Same-named servers in different clusters or namespaces stay distinct, and each row acts on its own cluster and namespace.
  • Server detail: links carry the cluster and namespace. Console, files, players, settings and backups inherit that target, so refreshing or opening a link in another tab never depends on a previous selection. Legacy links without a cluster mean the local cluster.
  • Backups and Search: snapshots, schedules, restores and server search combine authorized scopes and keep each result’s cluster, namespace and name. Filters stage until you click Apply.
  • Creating a server: the target is chosen before creation. A single eligible placement is automatic; with several, you pick a location, with an eligible local placement preferred. Gameplane does not schedule across clusters or retry a failed creation on another site.
  • Partial data: a disconnected cluster or a list limit produces a visible partial-data state, and a failed remote query never falls back to local data.

Grant access per cluster

Kubernetes credentials and dashboard grants are separate. The registered kubeconfig must be able to read the target cluster’s resources, and users need a grant for the cluster and namespace they use. In Users & RBAC, create a role, edit the user, choose the remote cluster for a supplemental grant, pick the role and namespace, and add it. The user’s local primary role stays separate, and changing grants revokes their sessions so they sign in again. For node inventory, use a role containing cluster:read with All namespaces; namespace-only server grants do not expose inventory. Remote all-namespace roles may hold cluster:read, modules:read, modules:manage, templates:read, templates:write and namespaced permissions; wildcard and central-administration permissions are rejected. Module and template access on a remote cluster needs an All namespaces grant on that cluster; a grant on local does not authorize a remote catalog.

Define the control boundary

Document the supported relationship between control plane, database, namespace scope, target cluster, and audit history.

The topology below shows the central control plane, the registry, and the target clusters this boundary covers.

flowchart LR
  browser["Browser"] --> api
  subgraph central["Central panel (combined or standalone)"]
    api["API<br/>client pool keyed by cluster,<br/>?cluster= selector, /fleet/* fan-out"]
    reg[("Registry<br/>Cluster CRs + kubeconfig Secrets,<br/>or SQL in standalone")]
    api --- reg
  end
  subgraph local["local cluster (combined mode only)"]
    lop["Operator"]
    lagent["Agents"]
  end
  subgraph remote["Registered remote cluster"]
    rkube["Kubernetes API"]
    rop["Operator"]
    gw["Gateway [optional]"]
    ragent["Agents"]
    rop --> rkube
    gw -- "agent mTLS,<br/>UID-bound routes" --> ragent
  end
  api -- "direct mTLS" --> lagent
  api -- "kubeconfig: CRDs, pod logs, attach" --> rkube
  api -- "central mTLS peer:<br/>RCON, files, logs, players" --> gw
One control plane and database form one operational boundaryIn a combined installation, the API server and database live on the control-plane cluster; a standalone panel runs them on a host without Kubernetes. Additional target clusters run their own operator instances but share neither database nor audit state.
Record cluster identity, resource UIDs, namespace, and ownershipEach Cluster CR has a displayName and metadata.name; each cluster has its own namespace scope and resource identifiers. Track which cluster owns each resource in dashboards, exports, and alerts.
Call out unsupported cross-cluster scheduling and automatic failoverGameplane does not support automatic pod migration between clusters or cross-cluster GameServer scheduling. Use explicit backup/restore for world migrations.

Operate independent environments

Reuse policy safely while isolating credentials, failure domains, backups, endpoints, and live state.

Run isolated releases, databases, repositories, and credentialsEach target cluster runs its own operator release version and has its own kubeconfig Secret. Backup repositories, module registries, and service accounts are cluster-specific.
Keep redirect URLs and service accounts cluster-specificOIDC login happens once at the control plane; target clusters are reached through their registered kubeconfig (a labelled Secret in a combined installation, encrypted SQL storage in a standalone panel), not a separate per-cluster login. RBAC role bindings are per-cluster; registering a cluster grants no implicit access.
Use stable cluster labels in alerts, exports, dashboards, and backup pathsSet displayName on each Cluster CR and reference it in metric labels, alert routing rules, and backup destination paths to keep infrastructure deterministic across restarts.

Promote and migrate

Promote manifests and modules through GitOps; move worlds only through verified backup and restore.

In a combined installation, promote Cluster CRs, GameTemplate, and Module manifests through version control and argocd or flux deployments; a standalone panel keeps its registrations in its database instead. Worlds and persistent game data migrate through the backup and restore subsystem:

  1. Export the source GameServer’s configuration (template, mods, ownership).
  2. Create a Backup on the source cluster targeting a repository accessible from the target.
  3. Restore the backup on the target cluster, validating the target cluster exists and target endpoints (RCON, streaming address) are reachable.
  4. Update ownership to confirm the migrated server belongs to the intended user or team.
BOUNDARY MODEL
01   Control plane + DB + target cluster = operational boundary
02   Share GitOps/SSO policy, not live state or credentials
03   Move → export config + backup + restore + endpoint/owner validation