zio-keeper icon indicating copy to clipboard operation
zio-keeper copied to clipboard

local development environment automation

Open pshemass opened this issue 5 years ago • 3 comments

we should have docker compose or terraform script to setup cluster locally for testing

pshemass avatar Nov 21 '19 03:11 pshemass

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 avatar Jan 23 '20 09:01 klangner

@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.

pshemass avatar Jan 23 '20 16:01 pshemass

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?

klangner avatar Jan 23 '20 20:01 klangner