gleam
gleam copied to clipboard
deploy via Kubernetes
Need some help from people with Kubernetes experience on how to deploy the docker image and make the "gleam agent" know where is the "gleam master".
Have gotten working in https://github.com/chrislusf/gleam/pull/25
@ryanckoch Need your documentation on how to run it on the Kubernetes.
http://kompose.io/index
Kompose is a tool to help users familiar with docker-compose move to Kubernetes. It takes a Docker Compose file and translates it into Kubernetes resources.
Most people use etcd to help with service discovery and even configuration. This allows you to spin up lots of dumb servers in K8 that have no config.
They all listen to etcd to be told their config. If they are dependent on something else like a dB or anything they can also listen for that from etcd.
This makes setup and operations much easier.
See the golang package flagz as this explains it more..
https://github.com/mwitkow/go-flagz
First off, thanks for gleam... it is a fantastic framework! I got my first MapReduce using gleam up and running locally in pretty short order.
Secondly, I'm new to kubernetes myself, and am having the same problem that the agents can't find the master when running the cluster remotely. I can provide details if you want. Meanwhile I'll see if I can find some local experts to help me out.