Back to the map

C04Cloud2026 – Present

Slipway — a GitOps platform on a laptop

Platform engineering, solo (open source)

0failed requests in two releases under load

One command builds a production-style Kubernetes platform from Git; a chaos day breaks it under load and measures the recovery

01 The problem

Platform skills are hard to prove without a cloud bill. A cluster, GitOps, signed images, SLOs and database failover only count when they run, break and recover. The goal: a production-style platform anyone can bring up on a laptop with one command, and measured evidence of how it fails.

02 What I built

Terraform creates a three-node kind cluster, a registry, image caches, a Git server and Argo CD; Argo CD installs the rest from Git in sync waves: Envoy Gateway, Kyverno, Prometheus, Grafana, Loki, Tempo with OpenTelemetry, CloudNativePG. Releases are scanned (Trivy), get an SBOM (Syft) and are signed (cosign); Kyverno admits only signed images. A Go service carries two SLOs.

03 The result

Two releases under load: 0 failed requests; a crashed pod was replaced in 12 s with none. The chaos day found a real gap: losing a node failed 48 % of requests for 6 minutes. Fixed the same day: the re-run cost 2 of 5,719 requests. The AWS (EKS) version is written in Terraform and validated offline, never applied.

Release & chaos day

How a change ships, and what happened when I broke it on purpose

A release, step by step

  1. make release builds the Go service into a small image that runs as non-root (34.2 MB), tagged with the commit and the time.

    ==> build localhost:5001/shortener:ea9f0bb-115911
    localhost:5001/shortener:ea9f0bb-115911  34.2MB
  2. Trivy stops the release on any fixable HIGH or CRITICAL vulnerability. It blocked the very first image (a HIGH CVE in golang.org/x/net) until the module was updated.

    ==> scan (Trivy: fail on fixable HIGH/CRITICAL)
    no fixable HIGH/CRITICAL vulnerabilities
  3. Syft writes down every package in the image as an SPDX bill of materials.

    ==> SBOM (Syft, SPDX JSON)
    43 packages → .local/sbom-ea9f0bb-115911.spdx.json
  4. cosign signs the image and attaches the SBOM as a signed attestation.

    ==> sign
    ==> attest the SBOM
  5. The new tag is committed and pushed to the Git server next to the cluster. Git is the only way a change gets in.

    git commit -q -m "release: shortener ea9f0bb-115911"
    published 5950950
  6. Argo CD sees the commit and applies it. A change made by hand in the cluster is put back (self-heal).

  7. Kyverno checks the signature and the SBOM attestation against the release key, then pins the tag to the verified digest. No signature, no pod.

    Refused at admission: the image has no signature and no SBOM attestation. Nothing else about the pod is wrong.

    $ make unsigned
    pushed an unsigned image: slipway-registry:5000/unsigned:1.37
    trying to run it in namespace shortener...
      …
    refused by Kyverno (verify-platform-images), as it should be
  8. A rolling update that never drops below full capacity, with graceful draining. At 50 requests a second, no request failed.

    release: ea9f0bb-115911 rolled out 35s after publish
    release: client view during the rollout: requests=2299 failed=0

Chaos day, under load

k6 sent 50 requests a second through the gateway the whole time. Each bar is 10 seconds of run 1; red is the share that failed.

  1. Releaseheld

    make release under load

    live 35 s after publish · 0 of 2,299 requests failed

  2. Pod killheld

    a pod deleted with no grace period

    4/4 ready again in 12 s · 0 of 1,111 failed

  3. Node lossbroke · fixed

    docker stop a worker node

    run 1: 48.4 % failed for 6 min 3 s; the gateway's controller and Kyverno's webhook were on that node · fixed the same day · after the fixes: 2 of 5,719 failed, pods ready elsewhere at +84 s

  4. Database failoverbroke · fixed

    kill the Postgres primary

    right after a node loss, while the operator that promotes replicas was still restarting: no new primary for over 5 min, requests hung · fixed (2 operator replicas, a 2 s bound on every database call), not re-measured yet

  5. Bad releasenot run yet

    half the redirects answer 500, shipped through Git

    not run yet: by then the laptop's own control plane was overloaded · the script is ready for a machine with headroom

Prometheus and Alertmanager ran on the control-plane node on purpose, so the evidence survived the node loss.

Stack

  • Kubernetes
  • Terraform
  • Argo CD
  • Helm
  • Envoy Gateway
  • Kyverno
  • cosign
  • Trivy
  • Prometheus
  • Grafana
  • OpenTelemetry
  • CloudNativePG
  • Go
  • k6
  • GitHub Actions
  • AWS EKS