Sitemap
Norman Sutorius

Norman Sutorius

Passionate Software Developer & Cloud Foundry Contributor ⚙️

Indie Developers! Don’t try this at home.

2 min readSep 21, 2017

Here are my thoughts, wouldn’t it be cool to have the pipeline tool of my choice running in a container on a cloud provider somewhere where I should not care.

Press enter or click to view image in full size

In the last week I had the idea to move my cloud foundry application deployment from Travis-CI to Concourse-CI. Why? Because I would have a better representation of my integration pipeline and of course I already know that I would do this with concourse. At first I checked the website, how I can do this. The only useful thing I found, was a docker compose file. From the perspective of a team which have no local server hardware, this seems the best option for me. But I still had a problem I need this as a kubernetes deployment, which I can use for the container service on Bluemix. But there was none. I have to do it by my own.

So I converted the stuff from docker-compose to kubernetes deployment. First I used the “kubectl convert” tool, to convert docker compose file into a kubernetes deployment. That tool create 3 deployment files, which I used as the foundation for my kubernetes deployment. I removed the persistent disk deployment because this is not needed for concourse. The only thing I have to do, is providing the keys for concourse web and concourse worker. And exactly for this purpose kubernetes provides an option, which is called secrets. This is a special volume, which is mounted into the container. After having this configured, I created a kubernetes Cluster on Bluemix from type “Lite” which is free for everyone .

Finally I deployed the 3 components for concourse and set my pipeline. That’s everything. If your are interested in the kubernetes manifest, here you find the manifest and a description of the necessary steps.

Get Norman Sutorius’s stories in your inbox

Join Medium for free to get updates from this writer.

Have fun with it! Cheers 🍺

--

--

Norman Sutorius
Norman Sutorius

Written by Norman Sutorius

Passionate Software Developer & Cloud Foundry Contributor ⚙️