Skip to content

ikonovalov/ignite-showcase

Repository files navigation

Launch and scale Apache Ignite application with different frameworks: Consul, Mesos, Kubernetes, Heroku and so on. And extra: dynamic configuration with Spring Config Server, logging with ELK, monitoring with Prometheus... or

General: How to build and use make

Build docker image with application

make build

Start (docker-compose in general or something. It depends.)

make up

Shutdown ( ... this stuff)

make down

Deploy grid instance (Marathon app for instance)

make deploy

Cleanup

make clean

Consul

Hystrix

Health

Consul & HAProxy

Mesosphere

Warm up load-balancer

ab -n200 -c60 http://dg.127.0.0.1.xip.io/quest/1

Kubernetes

With none driver and after

sudo minikube start --vm-driver=none
sudo chown -R $USER:$USER ~/.minikube
sudo chown -R $USER:$USER ~/.kube
minikube dashboard

Nomand

TODO

Heroku (create/deploy/up)

heroku create && git push heroku master && heroku ps:scale web=1 && curl https://pure-plateau-77452.herokuapp.com/health | jq

or

make deploy-on-heroku

OpenShift

TODO

Monitoring