-
Notifications
You must be signed in to change notification settings - Fork 844
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No way to add tagged worker to the default worker pool #6565
Comments
If I'm understanding correctly, you want some (or all?) containers to land on the specified tagged worker or an untagged worker? This kinda goes against the way tags currently work. Tags are mainly used for isolating workloads and are
So you have a tagged worker, lemonaid. You have a resource, I'm confused by what you said here:
That's kinda the point... Why would a task on one worker try and reach out to a task/container on another worker? Each step is meant to be run isolated from other steps. If you need to pass information between containers, use inputs/outputs. Or does your use-case fall into something that services would eventually fix? concourse/rfcs#84 Hope some of that helps! I'm very confused but intrigued by what you're doing :) |
The expectation would have been while having the task tagged, resource being available wherever the tasks are executed, but I guess that is a misconception on my end.
My issue is twofold:
|
Since there is now a configurable task/resource affinity, the issue is partially mitigated. The core issue remains though, being able schedule both regular (read; without tag requirements) and those tasks that do required tagged workers (read; those with special HW capabilities. |
Summary
Currently there is no way to add workers to the default pool from the worker cli.
The issue at hand:
I have quite a few containers and resources which are both being used on tagged workers and un-tagged workers as well.
The tasks either have a
tag: framework:cuda
or are untagged.The result is that the containers are unavailable to the the tagged task on the tagged worker.
In the images
lemonaid
is a tagged worker withframework:cuda
,framework:opencl
,lemonaid
.orangecestswirl
is a untagged worker.For my case, the tagged workers are rather boring instances, which just have a couple of special futures, but should also be considered for regular, untagged tasks.
Steps to reproduce
https://ci.spearow.io/teams/spearow/pipelines/juice/resources/container-fedora-cuda
Expected results
Resources are available.
Actual results
Resource is not available on the tagged worker.
Additional context
The whole situation could be solved by adding a cli flag, that allows adding the worker to the default pool as well, since the machine really has special features, but should be used for normal tasks as well.
Triaging info
The text was updated successfully, but these errors were encountered: