jenkins-infra / helpdesk

Open your Infrastructure related issues here for the Jenkins project
https://github.com/jenkins-infra/helpdesk/issues/new/choose
17 stars 10 forks source link

[ci.jenkins.io] separate container agent resources between `bom` and other builds #3521

Closed dduportal closed 1 year ago

dduportal commented 1 year ago

Why

The bom builds are challenging for the infrastructure:

What

This issue tracks the work related to using a dedicated node pool(s) designed to run only the bom builds to:

First round is to focus only on AWS: no more bom builds on DigitalOcean:

The sizing for the new node pool follows this principles:

Costs report: https://docs.google.com/spreadsheets/d/1_C0I0jE-X0e0vDcdKOFIWcnwpOqWC8RQ4YOCgXNnplY/edit#gid=292621391

How

First tentative:

dduportal commented 1 year ago
dduportal commented 1 year ago
dduportal commented 1 year ago
jglick commented 1 year ago

BTW one change I am thinking about is to skip building master by default (only when a release is planned), so that the builds would at least be limited to PRs.

dduportal commented 1 year ago

Ok, let's try the new node pool: https://github.com/jenkinsci/bom/pull/1969

dduportal commented 1 year ago
dduportal commented 1 year ago

Following the "experiments" in https://github.com/jenkinsci/bom/pull/1969, it seems that there is no "easy & obvious" solution, scoped in the node pool sizing, for the AWS cost decrease. So let's deliver the "split bom and plugin resources" using the same sizing as today and we'll continue to diagnose.

Reminder of the expected benefits:

Proposed implementation:

dduportal commented 1 year ago
dduportal commented 1 year ago

This issue surfaced an issue in the cik8s autoscaler setup: https://github.com/jenkins-infra/aws/pull/405

dduportal commented 1 year ago

Let's try a real PR with https://github.com/jenkinsci/bom/pull/2032

dduportal commented 1 year ago

Looks good: plugins are able to be built as seen durin the (long) week end.