I’m having really hard time trying to construct workflow with k8s that would include:
- Having monorepo for multiple microservices
- Having single command to start all of them and being able to start local development
- Having
docker-like
experience of installing entire infrastructure on another machine that has no k8s installed on it (for local development) 1.git pull
2.k8s start
, 3. wait, 4.ping localhost:3000
would be goal here. - Being able to have changes in my local files instantly applied to services without rebuilding images etc (something similar to docker volumes I guess)
- Having modular config files where there is one root config file for infrastructure that is referencing to services smaller configs
I was looking hard for some example or guide about constructing such system without luck.
Am I missing something important about k8s design that makes me look for something not really possible witk k8s?
Why I think such question should not be closed
There are many developers without dev-ops experience trying their best with microservices and I've found lack of some solid guide about such (and very common) use case
There is no clear guide about smooth local development experience with rapid feedback loop when it comes to k8s.
While it's opinion based, I find this question being more focused on general directions that would lead to such developer experience, rather than exact steps.
I'm not even sure (and I was trying to find out) if it's considered good practice for professional dev-ops. I have no idea how big infrastructures (tens or hundreds of microservices) are managed. Is it possible to run them all on single machine? Is it desired?