Skip to content
Infrastructure delivery

Simplifying and standardising our cell infrastructure provisioning model

Platform infrastructure team

Here is your cluster.

Provisioning a cell is kept deliberately simple. The platform infrastructure team hands over a working cluster, exactly as a self-managed customer would bring one, and nothing more. One code repository says how a cluster is built. One config repository says which clusters exist.

here is your cluster what gets handed over
You get
  • A VPC, an EKS cluster, node groups and load balancers
  • Upgrades, wave by wave, run by the team that built it
  • An outputs package: endpoint, CA certificate, region
You do not get
  • GitLab, or anything that only exists because GitLab runs → Theseus
  • Postgres, Redis, NATS → managed services
  • Rings, versions and cell values → application delivery

If a self-managed customer would bring it with their cluster, it is in the box. If not, it is another track’s job.

A code repository and a config repository

The whole provisioning model fits in two repositories. Code says how a cluster is built. Config says which clusters exist and which version each one runs.

phaleron-infrastructureCode. How a cluster is built, released as tags
Module registryphaleron-cell/aws 0.2.1
phaleron-infrastructure-configConfig. Which clusters exist, and which version each runs
Your clusterHanded over as cell-outputs-<cell>

Step through it

One merge request in, one cluster out. The dimmed last step belongs to the other tracks.

provisioning a cell intended flow
phaleron-infrastructure-config+ cells/cell-07/wave: wave-1region: us-east-1module: 0.2.11 MRapplycell-07us-east-1EKS clusterVPC · node groups · load balancersplatform infrastructure team · phaleron-cell/aws 0.2.1cell-outputs-cell-07endpoint · CA certificate · regionthe boundary: handed over as a self-managed customer wouldphaleron-configinstalls Argo CDTheseusinstalls GitLabgitlabgitlabgitlabargo cdjoins ring-2beyond this track: application delivery and Theseus
1
One merge request

An MR to phaleron-infrastructure-config adds the cell’s folder: its wave, region and the module version it runs. Nothing is hand-built.

2
The cluster comes up

The pinned module provisions the VPC, the EKS cluster, its node groups and load balancers, the same way for every cell. This is the platform infrastructure team’s whole job.

3
The outputs are published

The apply writes the cell’s endpoint, CA certificate and region to a private outputs package. That package is the boundary: the cluster is handed over exactly as a self-managed customer would hand one over.

4
Beyond the boundary

Other tracks take it from here: a phaleron-config pipeline reads the outputs and installs Argo CD, Theseus installs GitLab, and the cell joins its ring. Nothing in this layer knows GitLab exists.

1 / 4

Runbooks

Eight changes to the cluster, each with a step-by-step video.

Videos and sources

RunbookVideoEditable pageSource
Provisioning a cellprovisioning-a-cell.mp4editprovisioning-a-cell/source
EKS version rollouteks-version-rollout.mp4editeks-version-rollout/source
Rollout failure: a module bugrollout-failure-module-bug.mp4editrollout-failure-module-bug/source
Rollout failure: a blocked node drainnot exported yeteditrollout-failure-node-drain/source
Maintenance: node image patchingmaintenance-node-image-patching.mp4editmaintenance-node-image-patching/source
Maintenance: upstream module bumpmaintenance-upstream-module-bump.mp4editmaintenance-upstream-module-bump/source
Maintenance: driftmaintenance-drift.mp4editmaintenance-drift/source
Maintenance: stuck state lockmaintenance-stuck-state-lock.mp4editmaintenance-stuck-state-lock/source

To edit or re-export a video, see Editing and re-exporting.

Last updated on