NodeRingsDocs

cluster register flags

Complete flag reference for nr cluster register

nr cluster register [flags]

Identity and location

FlagDefaultDescription
--nameAgent/cluster name (required unless --agent-id)
--agent-idExisting agent UUID; skips CreateAgent
--agent-ipPublic (or reachable) IPv4 for the agent
--gateway-regionGateway region (AMS01)
--org-idProvider organization UUID (required; or NR_ORGANIZATION_ID). Sent as X-Organization-ID. Does not authenticate.
--descriptionOptional agent description

--org-id must be the provider organization you are registering into. Copy it from Create agent in the console (the command already includes it). The CLI does not list organizations to pick a tenant. Authenticate with a service-account token (NR_API_TOKEN); a token from another organization is rejected.

Control flow

FlagDefaultDescription
--resumefalseContinue from last checkpoint
--forcefalseForce reinstall / cleanup; auto-reuses existing name
--yes / -yfalseNon-interactive confirmations (reuse, etc.)
--dry-runfalsePrint planned actions without executing
--skip-prechecksfalseSkip host prechecks (not recommended)
--offlinefalseSkip fetching platform version pins from the API

Offloading

FlagDefaultDescription
--vnc-gateway-namespacevnc-gatewayProvider namespace to offload for VNC
--operator-namespaceOptional extra provider namespace to offload
--offload-namespacesAdditional namespaces to offload
--disable-offloadingfalseSkip provider-side namespace offloading
--namespace-mapping-strategySelectedNameLiqo namespace mapping strategy
--remote-cluster-idRemote Liqo cluster ID (auto-detected if empty)

Operator

FlagDefaultDescription
--skip-operator-installfalseSkip hypervisor operator / VNC gateway Helm install
--reinstall-operatorfalseClear operator checkpoint and re-run Helm (with --resume)
--operator-chartLocal path or OCI ref for the chart
--operator-chart-versionChart version when using OCI
--hypervisor-driverproxmox, virtfusion, or solusvm. One per organization. Omit it only with --pterodactyl.
--pterodactylfalseInstall the game server operator. The CLI asks for the panel URL, keys, and user id, and shows the keys as you type. Export PTERODACTYL_APPLICATION_KEY and PTERODACTYL_CLIENT_KEY to the keys themselves to skip those prompts.
--panel-urlOptional with --pterodactyl. Panel origin. Prompted, or PTERODACTYL_PANEL_URL.
--panel-user-idOptional. Panel user that owns NodeRings servers. Prompted, or PTERODACTYL_PANEL_USER_ID.
--pterodactyl-chartLocal path or OCI ref for the Pterodactyl chart.
--proxmox-instances-fileYAML file of Proxmox instances (or PROXMOX_INSTANCES_FILE)
--virtfusion-instances-fileYAML file of VirtFusion instances (or VIRTFUSION_INSTANCES_FILE)
--solusvm-instances-fileYAML file of SolusVM 2 instances (or SOLUSVM_INSTANCES_FILE)

Output

FlagDefaultDescription
--outputtextFormat for the post-register verify report: text or json

Global flags such as --api-url and --config-dir also apply.

See Environment variables for NR_API_TOKEN, NR_ORGANIZATION_ID, PROXMOX_*, VIRTFUSION_*, SOLUSVM_*, PTERODACTYL_*, MIMIR_BEARER_TOKEN, and related settings.