Skip to content

platform.yaml: lab runs catalog dev only (step 2: both roots run v0.1.3) - #140

Merged
MIERAI merged 1 commit into
mainfrom
lab-catalog-dev-only
Nov 23, 2026
Merged

MIERAI merged 1 commit into
mainfrom
lab-catalog-dev-only

Conversation

@MIERAI

@MIERAI MIERAI commented Nov 23, 2026

Copy link
Copy Markdown
Owner

Do not merge before the M6 fault experiments on v2-lab are done.

Uses slo-platform v0.1.3's per-cluster environments (#139 bumped the version; both roots must run v0.1.3 first): clusters.lab.applications.environments.catalog.exclude: [staging, prod].

Why: the lab's catalog-staging / catalog-prod are copies of the laptop's with no traffic (SLI-absent tickets) and ≈350Mi of requests on a node at 86 %. Promotions move image tags in this repository, so they do not need them. catalog-dev stays on the lab as a target for catalog fault experiments (and exercises the new key on a real Argo CD before anyone relies on it on prod). Nothing on the lab depends on catalog-staging/prod: storefront is excluded there, v2-lab has its own catalog, no experiment targets catalog.

Render (product render.py v0.1.3, main → this branch):

  • laptop: root identical; 28/28 Applications identical.
  • lab: 22 → 18 Applications — exactly catalog-staging, catalog-prod, catalog-slo-staging, catalog-slo-prod gone; the other 18 byte-identical. Root: only the ApplicationSet's environments list gains {{- if not (or (has .name (get (dict "catalog" (list "staging" "prod")) $.name | default list))) }} … {{- end }}.
  • The lab ApplicationSet's environments template evaluated with Go text/template + sprig over the five app.yaml: catalog → [dev]; every other app unchanged.
  • slo-platform check (v0.1.3): clean.

After merging: namespaces stay (preserveResourcesOnDeletion) — delete catalog-staging / catalog-prod on the lab, then drop them from infrastructure-live backup_namespaces for the lab only.

🤖 Generated with Claude Code

clusters.lab.applications.environments.catalog.exclude: [staging, prod]
(slo-platform v0.1.3). The lab's catalog-staging / catalog-prod were copies of
the laptop's with no traffic; promotions go through the repository. dev stays as
the lab's catalog for fault experiments.

Render (render.py, v0.1.3): laptop root and 28/28 Applications identical. lab:
22 -> 18 Applications, exactly catalog-{staging,prod} and catalog-slo-{staging,prod}
gone; the others byte-identical; root: only the ApplicationSet's environments if.
Namespaces stay (preserveResourcesOnDeletion): deleted by hand on the lab.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown
Contributor

Rendered diff (as Argo CD renders: kustomize / Helm, against origin/main)

No change in the rendered manifests.

@MIERAI
MIERAI merged commit 52644db into main Nov 23, 2026
2 checks passed
@MIERAI
MIERAI deleted the lab-catalog-dev-only branch November 23, 2026 09:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant