Replies: 1 comment 1 reply
-
Hey, I can explain how your example would work. Basics first: the web and worker nodes communicate over SSH. The web node needs to allow ingress over it's ssh listening post, which is 2222 by default on the web nodes. The Workers need egress access to the web node. Workers don't need to allow any ingress access to any of their own ports. Web nodes are responsible for orchestrating everything. The workers are told what containers to run. Those are the roles they both play. Now let's walk through your example:
So the web node has already sent commands to the worker to start a container that will use
The worker will keep doing what it was doing, the git repo will finish downloading. If the worker node is gone for a long time, like ten's of minutes, then the web node will eventually forget about whatever was happening on that worker. But if the worker comes back quickly then it'll look like nothing happened from a pipeline/job perspective. |
Beta Was this translation helpful? Give feedback.
-
Hello folks, we recently moved to AWS and our network reliability showed not good results: our jenkins JNLP agents are disconnecting here and there during checkouts or uploads failing the builds. So maybe someone can describe for a noob how concourse Workers communicates with Web and how it will behave during the pipeline execution?
For example: there is a git fetch operation in progress on the worker. Right in the middle the web node becomes unavailable. What the worker and pipeline will do? Ideally - they both will continue as is until there is nothing to do and wait, and when the communication between them will recover pipeline will continue.
Beta Was this translation helpful? Give feedback.
All reactions