Blog

BOSH is great, yaml is even greater, but sometimes you have to explain its magic in a more universal language. That's why we created a small project to generate UML like diagrams from bosh deployment manifests.

Let's use it to generate a diagram for cf-deployment:

Prerequisites

Please make sure the following tools are installed:

When using macOS, these can be installed via brew:

brew tap starkandwayne/cf
brew install starkandwayne/cf/spruce
brew install jq plantuml

Now just clone the repo:

git clone https://github.com/cloudfoundry-community/bosh-deployment-visualizer ~/workspace/bosh-deployment-visualizer

Let's get cf-deployment:

git clone https://github.com/cloudfoundry/cf-deployment ~/workspace/cf-deployment

Last generate your image:

~/workspace/bosh-deployment-visualizer/visualize.sh ~/workspace/cf-deployment/cf-deployment.yml

To view the result:

open cf.png