zio-keeper
zio-keeper copied to clipboard
local development environment automation
we should have docker compose or terraform script to setup cluster locally for testing
What should this docker compose contain? Which application should be dockerized first? This Example . Or maybe something should be build based on the tests?
@klangner the idea is to quickly create cluster of 3-4 nodes to test. Ideally would be to run some chaos experiment locally to check for instance if membership or other functionality like leader election survive.
I can create setup for local cluster using docker compose (K8s?). Here is my proposition how to do it in the following steps:
- Create a new project with the NodeApp.
- Create fat-jar with the NodeApp (use plugin for this)
- Create Dockerfile. A single node can be started.
- Create docker compose (or maybe use K8s?)
Or as a starting point I can dockerize Example application first? Any thoughts? Or maybe other ideas?