Skip to content

So you want a broker with volume mounts?

Tim Hausler edited this page Mar 30, 2017 · 1 revision

Smug Cat

  1. Clone the local volume release repo.
  2. Build and upload the local-volume-release to your bosh director.
cd ~/workspace/local-volume-release

./scripts/update
bosh -n create release --force && bosh -n upload release
  1. Enable a local driver in your diego manifest and deploy it. The diego deployment will use the local-volume-release to create a localdriver.
cd ~/workspace/diego-release

export USE_VOLDRIVER=true
./scripts/generate-bosh-lite-manifest
./scripts/deploy
  1. The broker is a submodule in local-volume-release: src/code.cloudfoundry.org/localbroker. Deploy the broker via bosh release:
cd ~/workspace/local-volume-release

./scripts/deploy-bosh-lite.sh
  1. Start using the broker!
cf create-service-broker localbroker admin admin http://localbroker.bosh-lite.com
cf enable-service-access local-volume

For more information, see the local-volume-release README

Clone this wiki locally