update or remove deployments #180
Labels
No labels
ambition
application-offering
ambition
configure-applications
ambition
front-end
ambition/install-applications
ambition
security
ambition
switch-host
ambition
update-applications
ambition
user-management
blocked
component
api-service
component
fediversity-panel
component
nixops4
documentation
points
0
points
0.5
points
1
points
13
points
2
points
21
points
3
points
34
points
5
points
55
points
8
points
infinite
productisation
project-management
question
role
application-developer
role
application-operator
role
hosting-provider
role
maintainer
security
technical debt
testing
type
bug
type
deliverable
type
key-result
type
objective
type
task
type
unclear
type
user-story
user experience
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Blocks
Depends on
#158 users can update their deployment configurations
fediversity/fediversity
#186 allow disabling service while retaining data
fediversity/fediversity
#188 garbage collection of unallocated resources
fediversity/fediversity
#1224 Unable to delete a deployment in the panel
fediversity/fediversity
Reference
fediversity/fediversity#180
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
As a Fediversity user,
I want my configuration changes to automatically remove existing VMs or provision new VMs.
Test:
Given I have an existing deployment,
When I change my configuration and run deployment,
Then, the state of the virtualisation component is updated according (e.g. removing VMs, provisioning VMs, changing VM parameters).
[ ] tweak node parametersedit: removal of the VM/container we can do, but not beyond yet, see below
actually, who's to say we need operators to tweak such params, particularly now we went from VMs to containers (#914)
What parameters are you referring to? Regardless of whether an Application is run on a VM or a container, when deploying a new configuration, if the VM/container is no longer necessary it should be cleaned up.
(Usually the declarative approach is to always remove everything and do a fresh deployment but that does cause undesirable downtime.)
for VMs one would allocate like RAM/disk, tho i think the LXC containers have been sorta more fungible in that regard
I agree that those shouldn't be exposed to Operators (maybe by proxy in the form of hardware tiers for your Applications, but out of scope for us IMO). I don't see this as a motivation to close the issue.
This issue is more about something like an Operator deciding to use a different Matrix server, switching from Synapse to Continuwuity for example. The Operator mostly only cares that the Continuwuity instance is deployed, but the Hosting Provider cares about removing the defunct Synapse VM/container to avoid wasting resources.
i agree on both counts. i expect for the productized front-end not to expose this, tho for the reference front-end, i do wanna think it makes sense to demonstrate what we can do. that effort i intend to now track in #723.
i'm not confident cross-application migrations are low-hanging fruit, but feel free to file a ticket better fleshing out this use-case if you feel more optimistic
I'm not even talking about migration. Just that at some point some deployed service will no longer be in use and need to be cleaned up, you can do such cleanup when an Operator deploys a config with the service disabled but what if an Operator simply stops paying bills? You can't count on the cleanup being triggered only by an Operator action.
right - maybe #1068 could cover that?
you're right - so far
tf-incus's delete just prunes the LXC container, but in practice applications touch state across various shared infrastructure as well (db, kv-store, s3, vault, TF back-end, ...). reopening. c.f. #186.update or remove VMsto update or remove deployments