Skip to content

Concourse workers assigned to 1 team use all workers #1865

Closed

Description

@ypougeol

Hi there!

I'm actually running on concourse 3.4.1 and I have like 6 teams. I assigned 4 workers out of 7 to a specific team (team A) but when I connect to that team A, I see all 7 workers with is not want I want !!!
I want team A use only the 4 assigned workers and all others teams use the 3 last one.
Seems it's not possible ... so if we can have some options to do it, it would be great.

Thx

Activity

  1. jtarchie commented on Dec 4, 2017

    @jtarchie
    Contributor

    Assigning workers to a team, does not automatically exclude other workers from their listing.

    All workers are assigned to all teams, unless you explicitly define an assignment of workers to team(s).

    You have to assign the 3 other workers to be used by the 5 other teams.

  2. ypougeol commented on Dec 5, 2017

    @ypougeol
    Author

    Actually team parameter cannot be defined multiple times which is bad. Can you have for next future release an option like --team-only to only assign workers to a specific team and of course make sure to do not using other workers? Don't know where to push this request ...

  3. pooja8787 commented on Jul 13, 2018

    @pooja8787

    Hey. What is the process to assign workers for a dedicated team? I tried searching for a document but couldnt find it. Can someone help me with the steps?

  4. regisbelson commented on Feb 12, 2019

    @regisbelson

    Assigning workers to a team, does not automatically exclude other workers from their listing.

    All workers are assigned to all teams, unless you explicitly define an assignment of workers to team(s).

    You have to assign the 3 other workers to be used by the 5 other teams.

    Is this still true ? I'm trying to have 3 workers dedicated to team A and 3 other workers usable by all teams so I just assigned the 3 to team A. When I fly -t A containers I only see containers on the 3 workers assigned to A.

  5. vito commented on Feb 13, 2019

    @vito
    Contributor

    @kurlzor fly -t A containers only shows containers belonging to the target's current team, so that sounds right to me. What does fly -t B containers show?

  6. regisbelson commented on Feb 13, 2019

    @regisbelson

    It only shows containers of builds from team B on the other 3 workers, the 3 assigned to team A don't ever appear.

  7. vito commented on Feb 13, 2019

    @vito
    Contributor

    ...So it sounds like it's working? 😛

  8. regisbelson commented on Feb 14, 2019

    @regisbelson

    From what I read here, I expected builds from team A to be scheduled on the workers that aren't assigned to a specific team too.

  9. vito commented on Feb 15, 2019

    @vito
    Contributor

    @kurlzor Ah, Concourse will actually schedule work on the team's own workers whenever possible, and only use the global workers when that's not possible (e.g. if all of a team's workers are tagged or a different plaform). There's currently no configuration to evenly spread workloads across the team's workers + the global workers.

  10. stale commented on Jul 16, 2019

    @stale

    Beep boop! This issue has been idle for long enough that it's time to check
    in and see if it's still important.

    If it is, what is blocking it? Would anyone be interested in submitting a
    PR
    or
    continuing the discussion to help move things forward?

    If no activity is observed within the next week, this issue will be
    exterminated closed, in accordance with our stale issue
    process
    .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions