Commit 55f4256
committed
feat(deploy): support doing a larger number than 1 in, 1 out deployment
By default the deploy system will take the node count the application is deployed on (using tags), but can also look at DEPLOY_BRANCHES per application and a global Django django setting with the same name.
Example of the default flow is as follows: As a user I have 5 Nodes my application deploys to, the application has a scale of 17, this will lead to the following deploy cadence:
5, 5, 5, 2 (each item represents a in / out), so 5 pods being brought up 3x and then at the end 2 pods1 parent f15b194 commit 55f4256
3 files changed
Lines changed: 39 additions & 15 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
341 | 341 | | |
342 | 342 | | |
343 | 343 | | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
344 | 347 | | |
345 | 348 | | |
346 | 349 | | |
| |||
357 | 360 | | |
358 | 361 | | |
359 | 362 | | |
360 | | - | |
| 363 | + | |
| 364 | + | |
361 | 365 | | |
362 | 366 | | |
363 | 367 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
268 | 268 | | |
269 | 269 | | |
270 | 270 | | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
271 | 278 | | |
272 | 279 | | |
273 | 280 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
367 | 367 | | |
368 | 368 | | |
369 | 369 | | |
| 370 | + | |
| 371 | + | |
| 372 | + | |
| 373 | + | |
| 374 | + | |
| 375 | + | |
| 376 | + | |
| 377 | + | |
| 378 | + | |
| 379 | + | |
| 380 | + | |
| 381 | + | |
| 382 | + | |
| 383 | + | |
| 384 | + | |
| 385 | + | |
| 386 | + | |
| 387 | + | |
370 | 388 | | |
371 | | - | |
372 | | - | |
| 389 | + | |
| 390 | + | |
| 391 | + | |
| 392 | + | |
373 | 393 | | |
374 | | - | |
375 | | - | |
376 | | - | |
377 | | - | |
378 | | - | |
| 394 | + | |
379 | 395 | | |
| 396 | + | |
380 | 397 | | |
381 | 398 | | |
| 399 | + | |
382 | 400 | | |
383 | | - | |
| 401 | + | |
384 | 402 | | |
385 | | - | |
386 | | - | |
387 | | - | |
388 | | - | |
389 | | - | |
390 | | - | |
| 403 | + | |
391 | 404 | | |
392 | 405 | | |
393 | 406 | | |
| |||
0 commit comments