Hub install lifecycle
This content is for 0.1.0. Switch to the latest version for up-to-date documentation.
-
Inventory and secrets —
bootstrap-hub-inventory.shcopiesexamples/inventory/hub-only/. Operator sets hub WAN IP, DNS zones (fleet_edge_domain), and encryptsvault.yml. -
Preflight —
playbooks/preflight.ymlvalidates inventory, vault keys, and hub public IP. -
Host prepare — OS baseline, routing, packages (
host-prepare.yml). -
WireGuard server — Hub
wg0; overlay CIDR and hub/32fixed (wireguard.yml). -
OCM hub — Single K3s server: Flannel off, Calico CNI, built-in Traefik/servicelb disabled.
clusteradm init(ocm.yml). -
Harbor — Registry on the hub WireGuard IP;
harbor_push_fleetbuilds and pushes allfleet/*images (often 1–2 hours). -
Fleet platform — OLM and cert-manager on the hub (
fleet-platform.yml). -
Console auth and UI — Helm CRDs, LLDAP (production),
fleet-console-authchart, dashboard NodePort (fleet-console-auth.yml). -
DCM control plane — Postgres, NATS,
fleet/control-planemonolith, Traefik gateway (fleet-dcm.yml). Seeds demo catalog. -
Hub firewall — nftables / firewalld for WAN SSH, HTTP/S, WireGuard UDP 51820 (
hub-firewall.yml). -
Fleet-site stack — CRDs, controller, seeds management
FleetSite, optional ACME/Authelia seed. -
Fleet-edge stack —
FleetAppRouteCRD, controllers, hub Traefik static routes.
Verify with ./scripts/verify-hub-install.sh or ./scripts/verify-fleet.sh --layer 1 --suite hub.