I'm actually also contemplating this. I actually spent a lot of time in the other direction first, see my fork of kube-compose which allows you to deploy a docker-compose.yml
file directly into K8s.
This allowed our dev team to first develop a working 20+ service config in docker-compose locally, while the DevOps team was working on the K8s setup using Helmfile. Later we migrated, but now the repos are diverging :'(
I'm leaning towards some sort of a template docker-compose.yml
that will be populated/updated with the image versions and values as provided by helmfile template
, where the most work lies. We also have a large set of config files that are loaded using K8s ConfigMaps, those can be mounted into the containers.
@mark @dwight-spencer @m-huetter any thoughts on my aproach?