Update instances on control planes when configuration changes #373

Open
opened 2026-01-26 13:58:20 +00:00 by tobru · 0 comments
Owner

Stories

As a service operator, I want to make sure service instances adhere to hardcoded parameters when they change

Implementation Notes

One example use case: For Codey we hardcode spec.parameters.service.majorVersion. Once a new Forgejo major version is out, we want to change the version number and make sure all Codey instances are upgraded accordingly.

As a follow-up to #294: when certain parameters are changed in the Portal database, update all service instances on the control-planes to make sure the new parameters are adapted accordingly.

  • Hardcoded parameters in controlplanecrd
  • Plan parameters (limits, requests)
  • Annotations

Implement this as an admin command that first compares the current instance configuration on the control-plane with the intended configuration from the portal, then shows a diff and asks for confirmation.

Basically, we need a reconciliation that makes sure that instances on the control plane reflect the configuration the portal assumes to be there. The portal is the source of truth for the mentioned hardcoded parameters; it's not intended that service configuration get changed on the control plane outside the portal.

## Stories _As a service operator, I want to make sure service instances adhere to hardcoded parameters when they change_ ## Implementation Notes One example use case: For Codey we hardcode `spec.parameters.service.majorVersion`. Once a new Forgejo major version is out, we want to change the version number and make sure all Codey instances are upgraded accordingly. As a follow-up to #294: when certain parameters are changed in the Portal database, update all service instances on the control-planes to make sure the new parameters are adapted accordingly. - Hardcoded parameters in controlplanecrd - Plan parameters (limits, requests) - Annotations Implement this as an admin command that first compares the current instance configuration on the control-plane with the intended configuration from the portal, then shows a diff and asks for confirmation. Basically, we need a reconciliation that makes sure that instances on the control plane reflect the configuration the portal assumes to be there. The portal is the source of truth for the mentioned hardcoded parameters; it's not intended that service configuration get changed on the control plane outside the portal.
tobru added this to the SaaS Applications milestone 2026-01-26 13:58:20 +00:00
tobru changed title from Update service when hardcoded parameters change to Update instances on control planes when configuration changes 2026-02-12 09:49:04 +00:00
Sign in to join this conversation.
No milestone
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
servala/servala-portal#373
No description provided.