Open Godley opened 5 years ago
Three: the K8s operator also generates k8s "YAML" (although not encoded as such at the time) for dotmesh server. It'd be lovely to have a common source for all the basic parameters! No reason why a go package in the dotmesh repo can't have functions to return a list of env vars and volume mounts and ports, then functions on top of those to render them in k8s YAML / compose YAML / docker run
command line args etc, with flags for environmental differences as needed.
We're using dotmesh in 2 different ways -
dm cluster init
and in docker-compose files. We should supply a command which just spits out the docker-compose file for spinning up dotmesh so that there are fewer sources of config which we have to update any time variables and configuration are changed.