Open to internships · Feb 2027

CV
Back to the valley

Workshop

How I ship

How I ship software, shown on my Cloud-Native Deployment Platform: from code to a local Kubernetes cluster, with AWS next.

The stations, in order

  1. Code

    Guarantees: Every change is linted and formatted the same way.

    A FastAPI service with typed settings; Ruff checks lint and format.

    • Python
    • FastAPI
    • Ruff

    In the code: app/src/shortlink, app/pyproject.toml

  2. Checks

    Guarantees: Broken code is caught before it ships.

    13 automated tests with pytest, including bad input and unknown links.

    • pytest

    In the code: app/tests/test_api.py

  3. Image

    Guarantees: The app runs the same everywhere, without root rights.

    A multi-stage Docker image that runs as an unprivileged user.

    • Docker

    In the code: app/Dockerfile

  4. Delivery

    Guarantees: Every release is repeatable, and the database is migrated before the app starts.

    Local Kubernetes (kind): two API replicas, PostgreSQL on its own volume, migrations as a Job.

    • Kubernetes
    • kind
    • Alembic

    In the code: k8s/api-deployment.yaml, k8s/postgres.yaml, k8s/migrate-job.yaml

  5. Monitoring

    Guarantees: Every request is counted and timed, so a slow or failing route shows up in the numbers.

    Every request is counted and timed at /metrics.

    • Prometheus client

    In the code: app/src/shortlink/metrics.py