Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

external provisioners: tagged provisioners can pick up generic jobs #6442

Closed
Assignees
johnstcn
@bpmct

Description

@bpmct

If I install a custom provisioner in an on-prem data center, I likely want the provisioner to only pick up jobs from specific templates. However, the current behavior allows tagged provisioners to pick up any generic job as well.

coder provisionerd start \  --tag environment=on_prem \  --tag data_center=chicago# In another terminal, create/push# a template that requires this provisionercoder templates create on-prem \  --provisioner-tag environment=on_prem# Or, match the provisioner exactlycoder templates create on-prem-chicago \  --provisioner-tag environment=on_prem \  --provisioner-tag data_center=chicago# ⚠️ It is possible that this job is assigned to the on_prem provisionercoder templates create random-template

Workarounds

  • Do not run any built-in provisioners, start all provisioners with tags, ensure all templates target a tag

Ideas for potential fixes (in Coder)

  • Set some defaultprovisoner-tag for the built-in provisioners and templates
  • Rework tags to work more likeKubernetes taints/tolerations
  • Specific tags to determine behavior of provisioner:
    coder provisionerd start --tag data_center=on_prem --tag tag_policy=<match-all/match-one/forgiving>
    Definitely need a different naming convention, though, I'm sure there is prior art in other things

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions


    [8]ページ先頭

    ©2009-2025 Movatter.jp