-
Notifications
You must be signed in to change notification settings - Fork 0
ORCHESTRATION
This document details the Orchestrator's role in managing the EdgeNet node ecosystem, including repository management and the REST API.
EdgeNet maintains official repositories for software distribution to nodes.
-
URL:
https://r.planetlab.io/deb -
GPG Key:
https://r.planetlab.io/deb/planetlab.gpg
The Orchestrator provides a RESTful API for node management. Most endpoints expect and return JSON. The Orchestrator API is implemented in the EdgeNet Console (see Console)
The API is hosted on the Orchestrator domain, typically under the /api/node prefix.
Returns the shell script for automated NodeManager installation.
Returns a cloud-config YAML for automated cloud deployment.
Initial registration of a new node.
- Payload: Hardware specs, OS version, architecture, temporary public key.
- Response: Assigned Node ID, confirmation of registration.
Periodic heartbeat from the node.
- Payload: Node ID, current load, memory/disk usage, service status.
- Frequency: Every 1-5 minutes.
Exchange of WireGuard configuration.
- Payload: Node's WireGuard public key.
- Response: Orchestrator's WireGuard public key, node's assigned internal IP, peer configuration.
Requests credentials to join the cluster.
- Payload: Node ID.
-
Response:
kubeadm joincommand components (token, CA hash, master endpoint).
Signals successful cluster integration.
- Payload: Node ID.
These endpoints require a valid Sanctum token.
Activates a pending node.
Returns a list of all registered nodes and their current status.
Enables or disables a specific node.