Posts by: Ruben Koster

BOSH releases with Git LFS

Using an external blobstore for your BOSH release is considered a best practice, since you don’t want to pollute your git repo with big files. However there are some downsides to this approach: Need a AWS or GCP account; or need an internal compatible blobstore Sharing manage credentials to upload blobs (private.yml) Restricted environments sometimes

Ruben Koster Profile Image

Posted by:
Ruben Koster

Read More ➝
Target Ops Manager BOSH Director using om and jq

When debugging Ops Manager problems you sometimes want to directly interact with the BOSH director. This procedure is well documented, however I wanted a more automated way of doing it. So without further ado I present my solution using the bosh v2 cli, om (Ops Manager cli) and jq: # Required variables export OM_TARGET=__TARGET__; export

Ruben Koster Profile Image

Posted by:
Ruben Koster

Read More ➝
Bash for Loop Over JSON Array Using jq

Sometimes you just want to read a JSON config file from Bash and iterate over an array. For example, when seeding some credentials to a credential store. This sometimes can be tricky especially when the JSON contains multi-line strings (for example certificates). In this blog post I will explain how this can be done with

Ruben Koster Profile Image

Posted by:
Ruben Koster

Read More ➝
Introducing BUCC (BOSH, UAA Credhub and Concourse)

Everybody has been talking about BOSH 2.0, and how it will solve all your problems. But what is this BOSH 2.0 thing, and where can I get me one of those? Unfortunately BOSH 2.0 is not one thing, it’s a combination of features, technologies and ideas, which together form the future of BOSH. Since talking

Ruben Koster Profile Image

Posted by:
Ruben Koster

Read More ➝
The all new concourse bosh2 errand resource

Sometimes you want to run a BOSH errand from you concourse pipeline. For example after deploying Cloud Foundry using cf-deployment, you might want to make sure it is actually working by running the smoke-tests errand. The bosh-errand-resource has been available for some time but it uses the old Ruby CLI. Which in its self is

Ruben Koster Profile Image

Posted by:
Ruben Koster

Read More ➝
Unraveling Cloud Foundry job interdependencies

While Cloud Foundry BOSH release is getting bigger and bigger, and more components are added, it is becomming harder to understand the dependencies between jobs. Soon with the addition of BOSH links, BOSH will hopfully be smarter about the order in which to start the components in a new deployment. But untill BOSH links land

Ruben Koster Profile Image

Posted by:
Ruben Koster

Read More ➝
Secure bosh-workspace with git-crypt

The due to the nature of a boshworkspace it will contain sensitive data (like keys, certificates and passwords). To prevent data leaks it is recommended to encrypt this data before pushing it, to for example github. In this blogpost we will go over how to setup your boshworkspace repository to store encrypted versions of your

Ruben Koster Profile Image

Posted by:
Ruben Koster

Read More ➝
List available DEA/runner resources in Cloud Foundry

When you are running out of Cloud Foundry resources (which results in apps not being able to stage/start) you may want to list the available memory/disk on your DEA/runner vms. In this blog post we will be using the same tools as in my previous blog post, but instead of using the Cloud Controller API

Ruben Koster Profile Image

Posted by:
Ruben Koster

Read More ➝
Calculate total app memory allocation for Cloud Foundry

Somtimes you want to know how much memory has been allocated by the apps in your Cloud Foundry cluster. The easiest way to do this is by using the cf cli in combination with a utility called jq. The cf cli curretly does not implement a command to give directly what we want but we

Ruben Koster Profile Image

Posted by:
Ruben Koster

Read More ➝