linkerd is a transparent proxy that adds service discovery, routing, failure handling, and visibility to modern software applications
I will not go into details about this product, I was just curious to see it in action.
Running stuff these days is so easy:
# get root
$ sudo su -
# start docker
$ yum install -y docker
$ /etc/init.d/docker start
$ pip install docker-compose
# deploy linkerd setup
$ yum install -y git
$ git clone https://github.com/linkerd/linkerd-examples.git
$ cd linkerd-examples/getting-started/docker/
$ docker-compose up -d
$ docker ps -a
Send some requests to the proxy:
$ curl -H "Host: hello" 0:4140
$ for in in $(seq 1 69); do curl -H "Host: hello" 0:4140; done
Check their cool admin interface
http://{SERVER_IP}:9990
Some docker useful commands
# get inside the linkerd docker
$ docker exec -ti $(docker ps | grep linkerd | awk '{print $1}') /bin/bash
# refresh the containers (after you made changes to config files)
$ docker stop $(docker ps -a -q) && docker rm $(docker ps -a -q) && docker-compose up -d