Re: Questions on LRPs and container networking
Amit Kumar Gupta
1. It gives it an identifier that it looks up in the BBS, so it's decoupled
toggle quoted message
Show quoted text
from directly knowing about the droplet blobstore. When it gets the Task or LRP definition from the blobstore, that will include a set of Actions to run, which include a Download action to retrieve something from a URL. The URL is provided by CC to the CC Bridge, and then CC Bridge puts that URL in an appropriate Download step in the Actions it attaches to the LRP or Task that it requests from Diego. 2. Each Cell has a colocated Garden, yes. 3. The Rep updates the BBS with the state of its running containers. The route-emitter is a client of the BBS, and determines what's routable based on that information, and emits messages (currently over NATS) to tell the router what to do with its routing table. 4. There's all sorts of stuff. If the route is still in the route table, the router will route to it, but if it fails to make a connection it's smart enough to try another IP:port for that route. If a container dies, the Rep notifies the BBS, which the route-emitter notices, and it updates the router. If the process is alive but not responding, the healthcheck/monitor co-process that runs with the container will notice, and kill the container. Best, Amit On Wed, Jul 20, 2016 at 9:12 AM, J K <falconwing(a)gmail.com> wrote:
1.) After the auctioneer declares a winner for an auction, what does it |
|