Re: [kubernetes-users] Abstracting environmental differences in config files

2017-03-09 Thread Jay Vyas
The problem of unifying dev and prod is always tricky because configuration differs in subtle ways, but I think the idiom that we seem to see is: 1) Outside/before kube starts: Tools like ansible and salt and so on are generally designed to separate config from deployment. Those tools will ssh

Re: [kubernetes-users] Abstracting environmental differences in config files

2017-03-09 Thread Rodrigo Campos
We use several configmaps per pod, and to create some we have like 3 folders: all, staging, production. And we create with kubectl create configmaps asd --from-file=all --from-file=staging And then it's quite easy to share things. Although we try to avoid things like that as much as possible. We