Skip to content

Commit 5007c28

Browse files
authored
Merge pull request #61709 from abrennan89/RHDEVDOCS-2831-1
RHDEVDOCS-2831: Add module for editing deployments
2 parents cf0d846 + 55a1406 commit 5007c28

File tree

4 files changed

+44
-5
lines changed

4 files changed

+44
-5
lines changed

applications/deployments/deployment-strategies.adoc

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,12 @@ A deployment strategy uses readiness checks to determine if a new pod is ready f
2828
// Rolling strategies
2929
include::modules/deployments-rolling-strategy.adoc[leveloffset=+1]
3030
include::modules/deployments-canary-deployments.adoc[leveloffset=+2]
31-
include::modules/deployments-creating-rolling-deployment.adoc[leveloffset=+2]
31+
// Creating rolling deployments
32+
include::modules/creating-rolling-deployments-CLI.adoc[leveloffset=+2]
33+
// Editing a deployment
34+
:context: rolling-strategy
35+
include::modules/odc-editing-deployments.adoc[leveloffset=+2]
36+
// Starting a deployment
3237
include::modules/odc-starting-rolling-deployment.adoc[leveloffset=+2]
3338

3439
[role="_additional-resources"]
@@ -38,6 +43,10 @@ include::modules/odc-starting-rolling-deployment.adoc[leveloffset=+2]
3843

3944
// Recreate strategies
4045
include::modules/deployments-recreate-strategy.adoc[leveloffset=+1]
46+
// Editing a deployment
47+
:context: recreate-strategy
48+
include::modules/odc-editing-deployments.adoc[leveloffset=+2]
49+
// Starting a deployment
4150
include::modules/odc-starting-recreate-deployment.adoc[leveloffset=+2]
4251

4352
[role="_additional-resources"]
@@ -47,4 +56,8 @@ include::modules/odc-starting-recreate-deployment.adoc[leveloffset=+2]
4756

4857
// Custom strategies
4958
include::modules/deployments-custom-strategy.adoc[leveloffset=+1]
59+
// Editing a deployment
60+
:context: custom-strategy
61+
include::modules/odc-editing-deployments.adoc[leveloffset=+2]
62+
5063
include::modules/deployments-lifecycle-hooks.adoc[leveloffset=+1]
File renamed without changes.

modules/odc-editing-deployments.adoc

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
// Module included in the following assemblies:
2+
//
3+
// * applications/deployments/deployment-strategies.adoc
4+
5+
:_content-type: PROCEDURE
6+
[id="odc-editing-deployments_{context}"]
7+
= Editing a deployment by using the Developer perspective
8+
9+
You can edit the deployment strategy, image settings, environment variables, and advanced options for your deployment by using the *Developer* perspective.
10+
11+
.Prerequisites
12+
13+
* You are in the *Developer* perspective of the web console.
14+
* You have created an application.
15+
16+
.Procedure
17+
18+
. Navigate to the *Topology* view. Click on your application to see the *Details* panel.
19+
. In the *Actions* drop-down menu, select *Edit Deployment* to view the *Edit Deployment* page.
20+
. You can edit the following *Advanced options* for your deployment:
21+
.. Optional: You can pause rollouts by clicking *Pause rollouts*, and then selecting the *Pause rollouts for this deployment* checkbox.
22+
+
23+
By pausing rollouts, you can make changes to your application without triggering a rollout. You can resume rollouts at any time.
24+
.. Optional: Click *Scaling* to change the number of instances of your image by modifying the number of *Replicas*.
25+
. Click *Save*.

modules/odc-starting-rolling-deployment.adoc

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,14 @@
66
[id="odc-starting-rolling-deployment_{context}"]
77
= Starting a rolling deployment using the Developer perspective
88

9+
You can upgrade an application by starting a rolling deployment.
10+
911
.Prerequisites
10-
* Ensure that you are in the *Developer* perspective of the web console.
11-
* Ensure that you have created an application using the *Add* view and see it deployed in the *Topology* view.
1212

13-
.Procedure
13+
* You are in the *Developer* perspective of the web console.
14+
* You have created an application.
1415
15-
To start a rolling deployment to upgrade an application:
16+
.Procedure
1617

1718
. In the *Topology* view of the *Developer* perspective, click on the application node to see the *Overview* tab in the side panel. Note that the *Update Strategy* is set to the default *Rolling* strategy.
1819
. In the *Actions* drop-down menu, select *Start Rollout* to start a rolling update. The rolling deployment spins up the new version of the application and then terminates the old one.

0 commit comments

Comments
 (0)