glow
glow copied to clipboard
Example to run on Google compute engine
Glow should be very suitable to run on the cloud. It'll be nice to see that we can run a simple driver program and invoke the google compute engine.
Some benefits I can see:
- the ingress data transportation is free.
- GCE's cost is per second. Glow is very fast to start and stop.
Suggestions:
- Starting a globally accessible glow master may make it easier.
- Glow just need local SSD.
Found this blog post about running glow on Kubernetes (not integrating): https://medium.com/@cedriclam/how-to-use-glow-with-kubernetes-22820d8f6270#.gstrirbcf
It might be straightforward to replicate the steps on GKE, which is a managed Kubernetes service.
I am not really familiar with Kurbernetes. But I want to have some script or even Go code to do this:
- start a glow master and multiple glow agents on kurbernetes. (May need to provide some Kurbernetes credentials here. May need to return a cluster id.)
- start a glow flow on the master and agents. (Maybe this would also need to credential file and the cluster id)
- wait for the glow flow to finish
- shutdown the master and agents.
The details should be encapsulated inside the script or go code. I prefer that a common user do not even need to know the details.