Skip to content

platform.yaml: the lab runs no production replicas (api-factory dev only, no sample-app) - #144

Merged
MIERAI merged 1 commit into
mainfrom
lab-no-prod-replicas
Nov 23, 2026
Merged

MIERAI merged 1 commit into
mainfrom
lab-no-prod-replicas

Conversation

@MIERAI

@MIERAI MIERAI commented Nov 23, 2026

Copy link
Copy Markdown
Owner

xiaoxin is the functional / fault-experiment lab without production replicas (ENVIRONMENTS.md 角色与范围). After #143 (capacity runner no longer binds in sample-app-dev):

  • clusters.lab.applications.environments.api-factory.exclude: [prod] (slo-platform v0.1.3+ key)
  • clusters.lab.applications.exclude += sample-app
  • api-factory dev and catalog dev stay on the lab as fault-experiment targets.

Checked on the lab before: nothing else depends on api-factory-prod / sample-app there — the external probes and prod users (platform/external-users) are not deployed on the lab; the sync window matches api-factory-* / sample-app-* globs (harmless); the restore-check CronJob is part of api-factory's prod overlay and leaves with it; api-factory-prod's namespace + secrets are tofu's (infrastructure-live, lab-only change next). Experiments api-factory-db-*, api-factory-one-pod-down (api-factory-prod), sample-app-down, quiet-traffic-day (sample-app) can no longer run on the lab: retarget to dev or skip before the (paused) regression resumes — noted in platform.yaml.

Render (render.py, slo-platform v0.1.4, main → branch):

  • laptop: root identical, 28/28 Applications identical.
  • lab: 18 → 12 Applications — exactly api-factory-prod, api-factory-slo-prod, sample-app-dev, sample-app-prod, sample-app-slo-dev, sample-app-slo-prod gone, the rest byte-identical; root: only the git generator's sample-app/app.yaml exclude entry and "api-factory" (list "prod") in the environments if.
  • slo-platform check (v0.1.4) clean.

🤖 Generated with Claude Code

…nly, no sample-app)

xiaoxin is the functional / fault-experiment lab without production replicas
(ENVIRONMENTS.md 角色与范围): clusters.lab.applications.environments.api-factory
.exclude: [prod] and applications.exclude += sample-app. api-factory dev and
catalog dev stay as fault-experiment targets.

Render (render.py, v0.1.4): laptop root and 28/28 Applications identical. lab:
18 -> 12 Applications, exactly api-factory-prod, api-factory-slo-prod and
sample-app-{dev,prod}, sample-app-slo-{dev,prod} gone, the rest identical; root:
the git generator's sample-app exclude and api-factory in the environments if.
Namespaces stay (preserveResourcesOnDeletion): removed by hand / tofu 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 e65e7ff into main Nov 23, 2026
2 checks passed
@MIERAI
MIERAI deleted the lab-no-prod-replicas branch November 23, 2026 09:13
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