generated from amazon-archives/__template_Apache-2.0
-
Notifications
You must be signed in to change notification settings - Fork 72
Closed
Labels
enhancementNew feature or requestNew feature or request
Description
Today, when we perform blue/green cluster migrations, we follow the following workflow:
- The original HTTPRoute (or any other route type) creates the VPC Lattice Service and the controller annotates the VPC Lattice Service with the ManagedBy tag
- We then export the original "Blue Service" using a ServiceExport (creates a VPC Lattice TargetGroup)
- We now need to change the ManagedBy tag "out-of-band", e.g. via the CLI, to allow the new "Green" cluster controller to take over the ownership of the VPC Lattice Service
- We then create an HTTPRoute in the "Green" cluster that exactly matches the original HTTPRoute in the "Blue" cluster. The "Green Controller" will then find the VPC Lattice service created in Step 1 as we changed the ManagedBy tag in step 3.
- Finally, we move the weights around in the new HTTPRoute on Green until we have finally moved everything to Green and are able to delete the Blue Cluster
What we would like to have is a capability in the controller to automate the out-of-band step 3.
One suggestion would be to implement an "allow-takeover-from" annotation on the HTTPRoute, which signals to the new controller that it can change the ManagedBy tag and take over the VPC Lattice service that was initially created by another controller.
lbarriosh and yfauser
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request