Skip to content

drtprod: tag scale-test cluster VMs with usage=scale_test#171319

Open
Dev-Kyle wants to merge 1 commit into
cockroachdb:masterfrom
Dev-Kyle:scale
Open

drtprod: tag scale-test cluster VMs with usage=scale_test#171319
Dev-Kyle wants to merge 1 commit into
cockroachdb:masterfrom
Dev-Kyle:scale

Conversation

@Dev-Kyle

@Dev-Kyle Dev-Kyle commented Jun 1, 2026

Copy link
Copy Markdown
Contributor

Pass --label=usage=scale_test through to roachprod when creating the cluster and workload VMs for every DRT scale-test config. The label is applied at VM-provisioning time and is used to attribute cloud spend to the scale-test program (which dominates the DRT fleet's cost due to its large, long-lived clusters).

Configs touched (CRDB and workload create steps in each): drt_scale.yaml, drt_scale_300.yaml, drt_scale_pcr.yaml, drt_scale_restore.yaml.

Other DRT configs (chaos, large, pua, upgrade, multi-cloud, remote) are not part of the scale-test program and retain the default usage=roachprod label.

Resolves: #160194
Epic: none

Release note: None

Pass --label=usage=scale_test through to roachprod when creating
the cluster and workload VMs for every DRT scale-test config. The
label is applied at VM-provisioning time and is used to attribute
cloud spend to the scale-test program (which dominates the DRT
fleet's cost due to its large, long-lived clusters).

This entirely overrides roachprod's default of usage=roachprod for
these clusters; it has no effect on existing VMs, only on those
created from the next `drtprod execute` onward.

Configs touched (CRDB and workload create steps in each):
  drt_scale.yaml, drt_scale_300.yaml, drt_scale_pcr.yaml,
  drt_scale_restore.yaml

Other DRT configs (chaos, large, pua, upgrade, multi-cloud, remote)
are not part of the scale-test program and retain the default
usage=roachprod label.

Resolves: cockroachdb#160194
Epic: none

Release note: None

Co-Authored-By: roachdev-claude <roachdev-claude-bot@cockroachlabs.com>
@Dev-Kyle Dev-Kyle requested a review from a team as a code owner June 1, 2026 18:28
@Dev-Kyle Dev-Kyle requested review from cpj2195 and williamchoe3 and removed request for a team June 1, 2026 18:28
@trunk-io

trunk-io Bot commented Jun 1, 2026

Copy link
Copy Markdown
Contributor

Merging to master in this repository is managed by Trunk.

  • To merge this pull request, check the box to the left or comment /trunk merge below.

After your PR is submitted to the merge queue, this comment will be automatically updated with its status. If the PR fails, failure details will also be posted here

@cockroach-teamcity

Copy link
Copy Markdown
Member

This change is Reviewable

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

drtprod: apply usage=scale_test label for upcoming scale tests

4 participants