Skip to content

Commit d6ea609

Browse files
authored
Merge pull request #3609 from richardcase/1718_gc_proposal
feat: external load balancer garbage collection (part 1) - proposal
2 parents 3b32ca0 + 4d18d09 commit d6ea609

3 files changed

+382
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
@startuml
2+
autonumber
3+
actor User
4+
database APIServer
5+
control CAPIController
6+
control InfraClusterController
7+
participant gc_service
8+
collections other_services
9+
participant network_service
10+
participant aws
11+
User -> APIServer: delete cluster
12+
CAPIController -> APIServer: watch
13+
activate CAPIController
14+
CAPIController -> APIServer: delete infra (set timestamp)
15+
16+
InfraClusterController -> APIServer: watch (delete)
17+
activate InfraClusterController
18+
InfraClusterController -> other_services: Reconcile Delete
19+
other_services -> aws: Delete non-network infra
20+
opt if gc feature enabled
21+
InfraClusterController -> gc_service: ReconcileDelete
22+
opt if gc annotation != false OR ""
23+
gc_service -> aws: Delete tenant created resources (lb/sg)
24+
end
25+
end
26+
InfraClusterController -> network_service: Reconcile Delete
27+
network_service -> aws: delete network infra
28+
InfraClusterController -> InfraClusterController: Remove infra finalizer
29+
InfraClusterController -> APIServer: patch
30+
deactivate InfraClusterController
31+
deactivate CAPIController
32+
APIServer -> APIServer: Delete infra cluster
33+
34+
@enduml
Loading

0 commit comments

Comments
 (0)