Worker autoregistration #25

Open
opened 2025-12-23 16:13:14 +00:00 by just1602 · 0 comments

I was wondering if the coordinator API was only exposed on the local VM / machine or if it was exposed publicly to the workers?

The idea would be to be able, for a worker who has network access to the coordinator to register itself automatically based on the coordinator URL instead of having to register a new worker manually.

The workflow I'd love to see is the following:

  1. create VPS / microvm / containers using opentofu or nix
  2. deploy botanix worker on the newly created VPS / microvm / containers
  3. forget about it, workers just setup themselves automatically without any intervention

Another avenue could be to use vault / openbao:

  1. setup vault / openbao to have access to the coordinator API
  2. deploy new workers on VPS / microvm / containers
  3. let the workers contact vault to get a token from the coordinator and give it to them

Apparently I can't edit labels, but that would clearly be low priority.

I was wondering if the coordinator API was only exposed on the local VM / machine or if it was exposed publicly to the workers? The idea would be to be able, for a worker who has network access to the coordinator to register itself automatically based on the coordinator URL instead of having to register a new worker manually. The workflow I'd love to see is the following: 1. create VPS / microvm / containers using opentofu or nix 2. deploy botanix worker on the newly created VPS / microvm / containers 3. forget about it, workers just setup themselves automatically without any intervention Another avenue could be to use vault / openbao: 1. setup vault / openbao to have access to the coordinator API 2. deploy new workers on VPS / microvm / containers 3. let the workers contact vault to get a token from the coordinator and give it to them --- Apparently I can't edit labels, but that would clearly be low priority.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
afnix/botanix#25
No description provided.