docker-worker should default to having `afterIdleSeconds` set when running in the cloud
Categories
(Taskcluster :: Workers, defect)
Tracking
(Not tracked)
People
(Reporter: tomprince, Unassigned)
Details
When started from aws-provisioner, docker-workers have afterIdleSeconds
set. I'm not sure where this is getting set. It was set by the aws
host type, which was removed by https://github.com/taskcluster/docker-worker/pull/513 and is not used with tc-worker-runner.
I do plan to set this from ci-config, but it would be good if the worker had sensible defaults; particularly as worker-manager doesn't currently terminate instances ever.
Comment 1•5 years ago
|
||
(In reply to Tom Prince [:tomprince] from comment #0)
I do plan to set this from ci-config, but it would be good if the worker had sensible defaults; particularly as worker-manager doesn't currently terminate instances ever.
Agreed. Since docker-worker-based workers tend to spin up relatively quickly, I'm happy to have the afterIdleSeconds default set pretty low, e.g. 5 minutes. We can increase it like we did in GCP when required.
Comment 2•5 years ago
|
||
docker-worker has a default value set in config.yml
Reporter | ||
Comment 3•5 years ago
|
||
(In reply to Wander Lairson Costa [:wcosta] from comment #2)
docker-worker has a default value set in config.yml
Experimentally, that was not working the aws-provider images.
Updated•4 years ago
|
Description
•