A live instance of slo-platform: its
platform.yaml, the applications and SLOs it runs, the experiments that verify the alerts, and the components only these clusters have. Clusters bootstrapped by infrastructure-live; principles and shared CI in the GitOps Platform Blueprint.
The desired state of every workload, per environment. The platform itself (Argo CD's root, monitoring, Pyrra burn-rate
alerts, the experiment runner and daily regression…) comes from slo-platform at the version pinned in platform.yaml;
what is ours lives here. Argo CD keeps two personal k3s clusters in sync with it:
| Cluster | Where | Role |
|---|---|---|
laptop |
the always-on HP laptop | prod: synthetic traffic 24/7, pages read out by its speakers |
lab |
xiaoxin | fault experiments and slo-platform's daily regression (09:00); notifies nobody |
Changing the cluster = committing here.
A local cluster that syncs this repository, without our keys or tokens: infrastructure-live
tofu/demo (one command; the platform and every
public application, clusters/demo). To change things, fork this repository, run scripts/fork.sh <your owner>,
commit, and build the demo cluster from your fork.
<app>/app.yaml the one place it is registered (example: storefront/app.yaml)
<app>/<kustomize dir>/<env>/ a kustomize component, and/or
<app>/<helm dir>/chart + values-<env>.yaml a Helm component
Everything else follows from app.yaml: the Argo CD Applications (an ApplicationSet: one per component × environment,
namespace <name>-<env>), the namespace labels (admission policies, image signatures when
signedImages, the GHCR pull secret cloned by Kyverno), which file a promotion edits (scripts/promote.sh,
set-image.sh), CI rendering (scripts/render.py) and the delivery board's pipelines. Remove an application =
remove its directory (the workloads stay until their namespaces are deleted: the ApplicationSet preserves them).
Every application is registered this way: api-factory, sample-app, storefront, catalog.
platform.yaml the instance: product version, clusters (laptop, lab), notification targets, regression
schedule, per-cluster overrides (slo-platform docs/configuration.md)
*/app.yaml the applications (and their SLOs) slo-platform deploys
experiments/ fault experiments (alerts must fire) and their results; the lab runs them daily
clusters/laptop/extras/ what only the laptop has: speakers, delivery board, off-site backup to the phone, external
probes, our Kyverno policies, host object storage, UIs on NodePorts 30085-30090
clusters/lab/extras/ what only the lab has: in-cluster object storage, traffic, UIs
api-factory/base/ Postgres (local only) → API (init container: goose migrations) → smoke Job (PostSync hook), ordered by sync waves
api-factory/overlays/ dev / prod: namespace, replicas, NodePort, image tags
sample-app/base|overlays/ the public reference app
storefront/ a monorepo app registered by app.yaml: web + api (kustomize), worker (Helm), dev → staging → prod
catalog/ storefront v2's first service (step S1, generated by api-factory): its own Postgres, migrations
in an init container, called by web; dev only until S1 is promoted
scripts/set-image.sh used by application CI (via the shared promote-dev workflow) to update a tag in dev
scripts/promote.sh moves a version that ran in one environment to the next (soak, one image or all; promote workflow)
scripts/render.py renders every Application as Argo CD does (kustomize / Helm, incl. app.yaml ones)
scripts/validate.sh render + kubeconform + admission policies for every application (CI: validate)
scripts/alert-report.py which alerts fired, would they notify, were they useful (monthly; experiments/README.md)
reports/alerts/ its reports, one per cluster and month, and the human verdicts (labels.yaml)
The old root (before slo-platform) is still here and still works: apps/ (app of apps + ApplicationSet),
platform/* and clusters/<name>/kustomization.yaml. For laptop and lab it is the rollback path for one week:
slo_platform = null in infrastructure-live tofu/laptop or tofu/lab makes Argo CD sync it again. The demo
(clusters/demo) and infrastructure-live's tofu/kind still render through it.
| Change | How |
|---|---|
| New version in dev | Application CI after merging to main: commit <app> dev: <image>=<tag> (repo-scoped deploy key) |
| prod | Actions → promote (app, dev → prod) → PR → review & merge |
| Rollback | git revert the commit → Argo CD syncs the previous version |
| Configuration | PR to base/ or an overlay (validated by CI) |
No secrets live here: manifests reference Secrets (secretKeyRef, imagePullSecrets) created by the platform.