Skip to content
Railgrid Docs
Sections
Open console

Enter a topic to search documentation.

    Self-hosting

    Install, configure, operate, and upgrade the hub and providers.

    Use the Railgrid SaaS hub to get started without operating the control plane. If you want to run Railgrid on your own infrastructure, choose the software you need to run:

    Managing users on a running hub belongs in Administration . Building a new provider belongs in Extend Railgrid .

    Two deployment shapes

    These pages describe what Railgrid itself runs. Both shapes use the same charts and the same providers; they differ in how traffic reaches the hub and where state lives.

    Small clusterCloud cluster
    KubernetesA single-node or small k3s clusterA managed cluster (GKE in the examples)
    Public entryCloudflare Tunnel , no inbound portsGateway API on a cloud load balancer, DNS-only records
    TLS at the edgeCloudflare Universal SSLCloud-managed wildcard certificates
    kcpExternal, one etcd member per shardExternal, three etcd members per shard across zones
    Provider databasesPostgres in the clusterManaged Postgres
    Object storageMinIO in the clusterCloud object storage through its S3 API
    Dex statePostgresKubernetes resources

    Both shapes run Dex for OIDC, two hub replicas against external kcp, and the public providers from the oci://ghcr.io/railgrid/charts registry, reconciled by Flux.

    Bring-up order

    Install the layers in this order, verifying each before the next. Every later layer depends on an earlier one being reachable.

    1. Public entry: DNS, certificates, and the ingress that will carry every hostname.
    2. cert-manager, and the kcp-operator if you run external kcp .
    3. kcp: etcd, shards, and the front proxy.
    4. Dex , reachable at its public issuer URL.
    5. The hub .
    6. Providers , one namespace each.

    Before production use, establish a storage and recovery procedure and record the deployed component versions. Source examples are not a certification of a production deployment.