Be able to set the default resource_class in CircleCI Enterprise
L
Lighthouse
From the docs:"If resource_class is not specified or an invalid class is specified, the default resource_class: medium will be used"https://circleci.com/docs/2.0/configuration-reference/#resource_classMost jobs we run don't need 2vCPU + 4GB, so to optimise the resource usage across the company (many teams and pipelines) and improve developer experience (more parallel builds) we would like to be able to tune this value to our needs.
CCI-I-916
K
Kelvin Tay
Adding extra context for this request.
Given a Server 4.x installation, we can see there is a
default_resource_class
configuration under the k8s cluster's dispatcher-resource-definitions ConfigMap:Data
====
dispatcher-definition.edn:
----
{:resource-classes
...
:default-resource-class {:docker :medium
:machine :medium}}
It would be great if this :default-resource-class key-value can be configured via the Helm values.yaml file.
Ref: https://circleci.com/docs/server/installation/installation-reference/#all-values-yaml-options
G
George Reyes
We are considering different options for making the default resource class size configurable in CircleCI Server. However, this item is behind other mission-critical items on our list, and so this hasn’t been prioritized for now. As we get more feedback on this item, we will reconsider its prioritization.