Blue-Green Deployments
Blue-green is a deployment technique in which you duplicate your production environment (the blue environment) and modify the duplicate (the green environment) with software and data changes. When you’ve successfully tested the green environment, you cut users over from the blue environment to the green environment. Blue-green eliminates system down time.
Data changes and data schema changes require special attention. Custom plugin/module data schema changes that break compatibility with existing code must be introduced over several releases in which the data is transitioned and maintained in old and new columns until the old columns are unnecessary.
Data and schema changes require these steps:
-
Create a new column.
-
Copy the data to the new column.
-
Maintain both columns until the old column is no longer used by any cluster nodes.
-
Delete the old column in the next release.
For more information, refer to these blue-green deployment articles: