Skip to content

Latest commit

 

History

History
46 lines (34 loc) · 1.15 KB

080-deployment-constraints.md

File metadata and controls

46 lines (34 loc) · 1.15 KB
title expires_at tags
Deployment Constraints
never
diego-release

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