akka-cluster-etcd
akka-cluster-etcd copied to clipboard
Implement kubernetes demo
Hey @rkrzewski, is the example code in examples/kubernetes working? Does this commit close the issue or what is left to do?
Unfortunately no. The actual example, which consists of replication controllers and services definitions are sitting in my local repo, uncomitted. I wasn't able to test them so far.
The docker-compose.yml in the commit you mentioned is an attempt to launch a minimal k8s installation locally. It does not work too well though, because it's missing the DNS add-on. This makes service discovery go awry: when Akka HTTP tries to lookup up the address of etcd server, it blows up rather spectacularly, and quite differently than a minimal, non-containerized Akka application. I wasn't able to get to the bottom of that.
@rkrzewski thanks! I'm considering setting up a demo on GCE to avoid having to setup Kubernetes locally. Do you think you pushing your uncommitted changes to a branch would be of benefit to me?
This looks cool, following it. :)