Skip to content

Latest commit

 

History

History
40 lines (29 loc) · 1.07 KB

deployment-constraints.md

File metadata and controls

40 lines (29 loc) · 1.07 KB

Deployment Constraints

Required Dependencies

Before deploying the Diego cluster, ensure that the sql database it will connect to is already deployed and provisioned.

Diego Manifest Jobs

In your manifest, ensure that the following constraints on job update order and rate are met:

  1. BBS servers should update before BBS clients. This can be achieved by placing database_zN instances at the beginning of the jobs list in your manifest. For example:

    jobs:
    - instances: 1
      name: database_z1
    
  2. database_zN nodes update one at a time. This can be achieved by setting max_in_flight to 1 and serial to true for database_zN jobs.

    - instances: 1
      name: database_z1
      ...
      update:
        max_in_flight: 1
        serial: true
    
  3. brain_zN jobs update separately from cells. This can be achieved by setting max_in_flight to 1 and serial to true for brain_zN jobs.

    - instances: 1
      name: brain_z1
      ...
      update:
        max_in_flight: 1
        serial: true