Skip to content

Commit 0a50d16

Browse files
authored
Merge pull request #35001 from skrthomas/BZ1945073
BZ1945073: Replace DeploymentConfig with Deployment
2 parents 639bb99 + 81c44d6 commit 0a50d16

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

applications/deployments/route-based-deployment-strategies.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ include::modules/common-attributes.adoc[]
55

66
toc::[]
77

8-
Deployment strategies provide a way for the application to evolve. Some strategies use `DeploymentConfig` objects to make changes that are seen by users of all routes that resolve to the application. Other advanced strategies, such as the ones described in this section, use router features in conjunction with DeploymentConfig` objects to impact specific routes.
8+
Deployment strategies provide a way for the application to evolve. Some strategies use `Deployment` objects to make changes that are seen by users of all routes that resolve to the application. Other advanced strategies, such as the ones described in this section, use router features in conjunction with `Deployment` objects to impact specific routes.
99

1010
////
1111
This link keeps breaking Travis for some reason.

modules/deployments-ab-testing-lb.adoc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ weighting.png[Visualization of Alternate Back Ends in the Web Console]
2525

2626
To set up the A/B environment:
2727

28-
. Create the two applications and give them different names. Each creates a `DeploymentConfig` object. The applications are versions of the same program; one is usually the current production version and the other the proposed new version.
28+
. Create the two applications and give them different names. Each creates a `Deployment` object. The applications are versions of the same program; one is usually the current production version and the other the proposed new version.
2929
.. Create the first application. The following example creates an application called `ab-example-a`:
3030
+
3131
[source,terminal]
@@ -197,7 +197,7 @@ Not all routers may support multiple or weighted backends.
197197
====
198198

199199
[id="deployments-ab-one-service-multi-dc_{context}"]
200-
== One service, multiple `DeploymentConfig` objects
200+
== One service, multiple `Deployment` objects
201201

202202
.Procedure
203203

@@ -215,7 +215,7 @@ The application is deployed and a service is created. This is the first shard.
215215
+
216216
[source,terminal]
217217
----
218-
$ oc expose deploymentconfig ab-example-a --name=ab-example --selector=ab-example\=true
218+
$ oc expose deployment ab-example-a --name=ab-example --selector=ab-example\=true
219219
$ oc expose service ab-example
220220
----
221221

@@ -253,7 +253,7 @@ $ oc scale dc/ab-example-a --replicas=1; oc scale dc/ab-example-b --replicas=0
253253
+
254254
Refresh your browser to show `v1` and `shard A` (in blue).
255255

256-
. If you trigger a deployment on either shard, only the pods in that shard are affected. You can trigger a deployment by changing the `SUBTITLE` environment variable in either `DeploymentConfig` object:
256+
. If you trigger a deployment on either shard, only the pods in that shard are affected. You can trigger a deployment by changing the `SUBTITLE` environment variable in either `Deployment` object:
257257
+
258258
[source,terminal]
259259
----

modules/deployments-blue-green.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Consider the data used in testing the new version. If it is the production data,
1414
[id="deployments-blue-green-setting-up_{context}"]
1515
== Setting up a blue-green deployment
1616

17-
Blue-green deployments use two `DeploymentConfig` objects. Both are running, and the one in production depends on the service the route specifies, with each `DeploymentConfig` object exposed to a different service.
17+
Blue-green deployments use two `Deployment` objects. Both are running, and the one in production depends on the service the route specifies, with each `Deployment` object exposed to a different service.
1818

1919
[NOTE]
2020
====

0 commit comments

Comments
 (0)