Concourse and Kubernetes


#1

I’ve been exploring deploying Concourse on Kubernetes and I wanted to make sure I’m correctly understanding how it all works. It looks like the only way to do it is to run a fixed number of workers (give or take Kubernetes’ pod scaling ability) and they have to be started with privileged: true so they can then launch new containers inside the Kubernetes pod/container structure. But Kubernetes won’t know anything about those build containers because they are launch directly by Garden.

Is there any way to set up Garden to launch build pods via Kubernetes itself? It looks like this should be structurally possible within Garden, but I couldn’t find any code to that effect from some skimming. Would be nice to not have to worry about scaling the workers up and down if all the heavy lifting was being done by the Kubernetes scheduler itself.

–Noah Kantrowitz


#2

It’s something that’s being explored, but not available yet. I don’t have links handy but checkout the concourse RFCs on github for example