on migration, allow reconfiguring monolithic vs distributed #341

Open
opened 2025-05-27 12:52:57 +02:00 by kiara · 0 comments
Owner

As a Fediversity user,
when I migrate to a different environment,
I want the option to reconfigure whether to use a monolithic vs a distributed setup,
so that the new setup may take into account the capacity of (nodes on) the new environment.

Test

Given I am migrating my Fediversity set-up (#100),
When I follow in-app instructions to reconfigure from a monolithic to a distributed configuration (or vice versa),
Then my new deployment will reflect this desired configuration.

implementation notes

  • our data model's resource mapping supports pluggable logic on how to allocate resources to set-ups (implementation todo)
  • c.f.: #322 / #339, both about hard-coding a monolithic setup
  • moves more from vars (#493) to the orchestrator (#515)
  • the #494 PR already demonstrated a distributed setup - so tackling this seems about making a monolithic version, then parameterizing to switch between these two
  • this seems relevant also to port the VM setups to the data model such as to include Garage into the same NixOS configuration
  • c.f. Trac environments
**As** a Fediversity user, **when** I migrate to a different environment, **I want** the option to reconfigure whether to use a monolithic vs a distributed setup, **so that** the new setup may take into account the capacity of (nodes on) the new environment. ## Test **Given** I am migrating my Fediversity set-up (#100), **When** I follow in-app instructions to reconfigure from a monolithic to a distributed configuration (or vice versa), **Then** my new deployment will reflect this desired configuration. ## implementation notes - our [data model](https://git.fediversity.eu/fediversity/meta/src/branch/main/architecture-docs/architecture.md#configuration-data-flow)'s resource mapping supports pluggable logic on how to allocate resources to set-ups (implementation todo) - c.f.: #322 / #339, both about hard-coding a monolithic setup - moves more from vars (#493) to the orchestrator (#515) - the #494 PR already demonstrated a distributed setup - so tackling this seems about making a monolithic version, then parameterizing to switch between these two - this seems relevant also to port the VM setups to the data model such as to include Garage into the same NixOS configuration - c.f. [Trac environments](https://sandervanderburg.blogspot.com/2011/02/using-nixos-for-declarative-deployment.html)
kiara referenced this issue from a commit 2026-03-02 20:01:08 +01:00
kiara referenced this issue from a commit 2026-04-07 18:56:40 +02:00
kiara referenced this issue from a commit 2026-04-07 23:16:40 +02:00
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.

Reference
fediversity/fediversity#341
No description provided.