Skip to main content
PUT
Add or re-weight a CI pool member

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

cluster_id
string<uuid>
required

The member cluster.

Body

application/json

The body of a single member write. Both the body and its weight are optional: an omitted weight keeps a listed member's weight and gives a new member 100.

weight
integer

The member's weight.

Required range: 1 <= x <= 1000

Response

The member was re-weighted; the pool as stored.

The organisation's CI cluster pool: the clusters its pipeline runs are spread across. Each run is pinned, at its first dispatch, to the least-loaded member whose agent can take a step, preferring the member where the repository last ran when the loads are within a fifth of a cluster's workers; a run never moves between clusters.

is_pooled
boolean
required

The organisation lists at least one member. When false, every run goes to the declared ci_cluster_id exactly as before pools existed.

members
PipelineCIPoolMember · object[]
required

Every live member, the primary first, then by weight.