Should I extend the deployment manifest of CloudFoundry to add Diego Releases or should I create a new deployment manifest for diego beside the CF manifest? I work with Bosh to deploy on OpenStack.
Asked
Active
Viewed 225 times
1 Answers
3
This is entirely up to you, the main considerations are:
- In the short term, the scripts/tools for deploying Diego work in the context of generating two separate manifests, one for
cf-releaseand one fordiego-release(andetcd-releaseandgarden-linux-release). For example, you can see this story in the Diego roadmap which takes a-cflag which is a path to an existingcf-releasedeployment manifest. - Having both in one deployment makes certain operational considerations much easier. For instance, the
consul_agentis colocated with most of the jobs from bothcf-releaseanddiego-release. You will typically want the same version ofconsul_agentdeployed across the board, but if you have two different deployment manifests, then you have to make sure to update the release reference in both manifests andbosh deployboth manifests. And if one of your deploys stalls in the middle for some unrelated reason, then it can become increasingly complicated to reason about what state the cluster is in, and what steps you as an operator need to take.
Amit Kumar Gupta
- 17,184
- 7
- 46
- 64