4 ms·
How about some kind of startup condition as a proxy for your original entrypoint? May I ask why you're running DB and stateful systems in k8s in the first plac
by aliswe 7y ago
How about some kind of startup condition as a proxy for your original entrypoint?
May I ask why you're running DB and stateful systems in k8s in the first place? The benefits of doing it is not likely to outweigh the difficulty of getting it right.
- psankar 7y ago> May I ask why you're running DB and stateful systems in k8s in the first place? Because it is the easiest way to get our integration tests in CI working fine. We may change in future, if there is a need.
- aliswe 7y agoAs a suggestion, why not run docker in docker instead? Then you can start your systems serially and finetune network settings, maybe even seed some data etc. A dockerfile based docker on with simple shell script should do. Maybe even a docker exec but that's pushing it. I love k8s but in this case it seems like wrong tool for the job. Tell me uf you'd like some sample code.