Skip to content

Commit 671e6be

Browse files
authored
Merge pull request #534 from Samze/patch-5
Add max_in_flight example to rolling deployment docs
2 parents b009aba + 4350787 commit 671e6be

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

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

+8
Original file line numberDiff line numberDiff line change
@@ -213,6 +213,14 @@ configuration updates that require a restart, such as environment variables or s
213213
```
214214
Where `APP-NAME` is the name of the app.
215215

216+
* **For cf CLI v8.8.0+ and CAPI V3.173.0 or later**
217+
Allows you to additionally specify the `--max-in-flight` property, run:
218+
```
219+
cf restart APP-NAME --strategy rolling --max-in-flight MAX_IN_FLIGHT
220+
```
221+
Where `APP-NAME` is the name of the app.
222+
Where `MAX_IN_FLIGHT` specifies the maximum number of new instances to restart simultaneous until the deployment is complete. Optional and defaults to 1.
223+
216224
* **For CAPI V3, run:**
217225

218226
```

0 commit comments

Comments
 (0)