rkrzewski / akka-cluster-etcd

Akka cluster management using etcd
Other
70 stars 14 forks source link

Implement kubernetes demo #13

Open rkrzewski opened 8 years ago

maciej commented 8 years ago

Hey @rkrzewski, is the example code in examples/kubernetes working? Does this commit close the issue or what is left to do?

rkrzewski commented 8 years ago

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.

maciej commented 8 years ago

@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?

paralin commented 8 years ago

This looks cool, following it. :)