NorskManager.registerClusterNode() method
Pre-register a cluster slot. Returns a nodeId and a one-shot token that must be handed to a worker — the worker calls clusterMemberRegister with the token + its listen address/port + hardware info. Until the worker calls in, the slot is registered-but-inactive.
Signature:
registerClusterNode(nodeName: string): Promise<ClusterRegistration>;
Parameters
| Parameter | Type | Description |
|---|---|---|
nodeName |
string |
human-readable label shown in the UI / |
Returns:
Promise<ClusterRegistration>