Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 8bf88df

Browse files
authored
Update max-in-flight description for rolling deployment
1 parent f47659d commit 8bf88df

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

deploy-apps/rolling-deploy.html.md.erb

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,9 @@ Review the limitations of this feature before running the command. For more info
3838
* **For cf CLI v7+, run:**
3939

4040
```
41-
cf push APP-NAME --strategy rolling --max-in-flight MAX_IN_FLIGHT
41+
cf push APP-NAME --strategy rolling
4242
```
4343
Where `APP-NAME` is the name that you want to give your app.
44-
Where `MAX_IN_FLIGHT` specifies the maximum number of new instances to start up simultaneous until the deployment is complete. Optional and defaults to 1.
4544

4645
<p class="note">
4746
<span class="note__title"><strong>Note</strong></span>
@@ -54,6 +53,15 @@ Review the limitations of this feature before running the command. For more info
5453
If the deployment stops and doesn't restart, cancel it and run it again as described in an earlier step.
5554
To cancel, see [Cancel a deployment](#cancel).
5655

56+
57+
* **For cf CLI v8.8.0+ and CAPI V3.173.0 or later**
58+
Allows you to additionally specify the `--max-in-flight` property, run:
59+
```
60+
cf push APP-NAME --strategy rolling --max-in-flight MAX_IN_FLIGHT
61+
```
62+
Where `APP-NAME` is the name that you want to give your app.
63+
Where `MAX_IN_FLIGHT` specifies the maximum number of new instances to start up simultaneous until the deployment is complete. Optional and defaults to 1.
64+
5765
* **For CAPI V3:**
5866
1. Log in to the cf CLI.
5967

0 commit comments

Comments
 (0)