consul-cluster-puppet
consul-cluster-puppet copied to clipboard
build a demo consul stack in vagrant with puppet and spring boot
Consul / Spring Boot
This is the example stack for a 2 part blog post I wrote:
-
Provision Consul cluster, Spring Boot application nodes
-
Register and discover Spring Boot microservices with Consul
-
Wire up Spring Boot Actuator health checks with Consul
-
Integrate Codahale metrics with Spring Boot Actuator
-
Emit metrics about Consul DNS lookups (timing, failures, etc.)
Usage
run deps.sh
to grab puppet dependencies, build.sh
to build the java app, then vagrant up
./deps.sh
./build.sh
vagrant up
- deps.sh will pull in puppet module dependencies
- build.sh builds the demo spring boot app: (just runs ./gradlew build)
links (once it's up)
- Dashboard
- Demo