HACKER Q&A
📣 mylons

How do you push config to microservices


Let's say you have dozens of microservices that live in their own code repositories with config to deploy them to something like AWS. how do you manage boilerplate updates to all of them?

Current process is a template repository that gets checked out for new services, however updates to config are made manually to each repo, or copy/pasting boilerplate (which can create havoc if there's an error in the copy/paste)


  👤 clscott Accepted Answer ✓
You could consider pulling those changes. Each repo should contain just enough config to know how / where to fetch its config + whatever is unique to this repo.

You don't share any details about how you manage configs currently but during your build process you can pull/import/load common configuration from a shared respository whether that's a git repo or etcd cluster or whatever fits your environment.