Skip to content

Commit

Permalink
docs: minor readability on migration (#3427)
Browse files Browse the repository at this point in the history
the ordered list was 1-2-3-1
fixed the indentation

Signed-off-by: Carlos Sanchez <[email protected]>
  • Loading branch information
carlossg authored Mar 8, 2024
1 parent e184957 commit a9a5192
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions docs/migrating.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,11 @@ Instead of removing Deployment you can scale it down to zero and reference it fr
1. Create a Rollout resource.
1. Reference an existing Deployment using `workloadRef` field.
1. In the `workloadRef` field set the `scaleDown` attribute, which specifies how the Deployment should be scaled down. There are three options available:
* "never": the Deployment is not scaled down
* "onsuccess": the Deployment is scaled down after the Rollout becomes healthy
* "progressively": as the Rollout is scaled up the Deployment is scaled down.
Alternatively, manually scale down an existing Deployment by changing replicas field of an existing Deployment to zero.
* `never`: the Deployment is not scaled down
* `onsuccess`: the Deployment is scaled down after the Rollout becomes healthy
* `progressively`: as the Rollout is scaled up the Deployment is scaled down.

Alternatively, manually scale down an existing Deployment by changing replicas field of an existing Deployment to zero.
1. To perform an update, the change should be made to the Pod template field of the Deployment.

Below is an example of a Rollout resource referencing a Deployment.
Expand Down

0 comments on commit a9a5192

Please sign in to comment.