This repo demo how to deploy Redis cluster using Nomad and Consul. This also use Envoy proxy to support migrate/backward-compatible with running application.
Below softwares must be installed
- Docker
- Check:
$ docker ps -q | head -n 1
- Redis (Version >= 3.0)
- Check:
$ redis-cli --version && redis-server --version
- Hashicorp Nomad
- Check:
$ nomad --version
- Hashicorp Consul
- Check:
$ consul --version
- Consul Template
- Check:
$ consul-template --version
$ nohup ./start-nomad.sh en0 &
$ nohup ./start-nomad.sh eth1 &
$ nohup ./start-consul.sh en0 &
$ make
$ ./connect-envoy-proxy.sh
$ ./teardown.sh