Skip to content

Fun with Deployments and Zero Downtime (ZDT)

Elena Sharma edited this page Jun 7, 2018 · 25 revisions

Background concepts:

  1. To deploy ZDT: upload_capi_release && ~/workspace/capi-release/scripts/deploy -o ~/workspace/capi-ci/cf-deployment-operations/temporary/add-deployment-updater.yml

    Process 'cc_deployment_updater' running . -- lives on the scheduler vm

  2. It's invoked from /var/vcap/jobs/cc_deployment_updater/bin/cc_deployment_updater by running rake deployment_updater:start and this starts a loop that sleeps for cc.deployment_updater.update_frequency_in_seconds (default 5) and then runs one orchestration step on all active deployments (e.g. ones in state DEPLOYING).

Clone this wiki locally