You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: applications/deployments/route-based-deployment-strategies.adoc
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,7 +18,7 @@ for more on the basic strategy types.
18
18
====
19
19
////
20
20
21
-
The most common route-based strategy is to use a _blue-green deployment_. The new version (the blue version) is brought up for testing and evaluation, while the users still use the stable version (the green version). When ready, the users are switched to the blue version. If a problem arises, you can switch back to the green version.
21
+
The most common route-based strategy is to use a _blue-green deployment_. The new version (the green version) is brought up for testing and evaluation, while the users still use the stable version (the blue version). When ready, the users are switched to the green version. If a problem arises, you can switch back to the blue version.
22
22
23
23
A common alternative strategy is to use _A/B versions_ that are both active at the same time and some users use one version, and some users use the other version. This can be used for experimenting with user interface changes and other features to get user feedback. It can also be used to verify proper operation in a production context where problems impact a limited number of users.
Copy file name to clipboardExpand all lines: modules/deployments-blue-green.adoc
+11-11Lines changed: 11 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@
5
5
[id="deployments-blue-green_{context}"]
6
6
= Blue-green deployments
7
7
8
-
Blue-green deployments involve running two versions of an application at the same time and moving traffic from the in-production version (the green version) to the newer version (the blue version). You can use a rolling strategy or switch services in a route.
8
+
Blue-green deployments involve running two versions of an application at the same time and moving traffic from the in-production version (the blue version) to the newer version (the green version). You can use a rolling strategy or switch services in a route.
9
9
10
10
Because many applications depend on persistent data, you must have an application that supports _N-1 compatibility_, which means it shares data and implements live migration between the database, store, or disk by creating two copies of the data layer.
11
11
@@ -21,41 +21,41 @@ Blue-green deployments use two `DeploymentConfig` objects. Both are running, and
21
21
Routes are intended for web (HTTP and HTTPS) traffic, so this technique is best suited for web applications.
22
22
====
23
23
24
-
You can create a new route to the new version and test it. When ready, change the service in the production route to point to the new service and the new (blue) version is live.
24
+
You can create a new route to the new version and test it. When ready, change the service in the production route to point to the new service and the new (green) version is live.
25
25
26
-
If necessary, you can roll back to the older (green) version by switching the service back to the previous version.
26
+
If necessary, you can roll back to the older (blue) version by switching the service back to the previous version.
27
27
28
28
.Procedure
29
29
30
30
. Create two independent application components.
31
-
.. Create a copy of the example application running the `v1` image under the `example-green` service:
31
+
.. Create a copy of the example application running the `v1` image under the `example-blue` service:
0 commit comments