Skip to content

Provisioning a cell

provisioning-a-cell.mp4 (1:20, 1080p, with sound) follows one new cell, cell-05, from a Terraform root to a running GitLab. It shows which repository changes at each step and what crosses between them. The video is paced so a presenter can talk over each step.

It shows the intended flow. Today the demo repositories run only fmt and validate; nothing is applied, and no outputs package is published yet.

TimeStepWhat changes
0:00Three reposThe board: phaleron-infrastructure, phaleron-infrastructure-config, the cell, and phaleron-config.
0:071 · Add the cell’s Terraform rootAn MR to phaleron-infrastructure-config adds cells/cell-05/, pinning module 0.1.0. phaleron-infrastructure does not change.
0:212 · Validate against the pinned moduleThe MR pipeline’s tofu init downloads phaleron-cell/aws 0.1.0 from the module registry.
0:313 · Apply, then publish the outputsMerge and apply create the VPC and EKS cluster. The outputs go to the private package cell-outputs-cell-05.
0:444 · Add the cell to a ringAn MR to phaleron-config adds rings/ring-2/cells/cell-05/. Cell files carry values only; ring-2 owns the chart versions.
0:565 · phaleron-config installs Argo CDAn phaleron-config pipeline reads cell-outputs-cell-05 and installs Argo CD with the cell-root Application.
1:076 · SyncArgo CD syncs the ring-2 pins and the cell values. GitLab 10.5.4 runs. Two MRs in total, both in config repositories.

Step 5 shows phaleron-config, not Instrumentor, doing the bootstrap. That differs from the “How the pieces fit” diagram in each repository’s README, and it needs two things the repositories do not have yet:

  • phaleron-config on phaleron-infrastructure-config’s CI/CD job token allowlist, so its pipeline can read the private outputs package.
  • A way for that pipeline to authenticate to EKS. The outputs carry the endpoint, CA certificate and region, but no credentials.

Editing

Last updated on