Tech with Jonathan
← Homelab

Project 03

Ship a web app to Kubernetes with GitLab CI

Take a small web app from a Git repo to a live Kubernetes deployment that updates itself on every merge.

Status
Coming soon
Level
beginner
Time
1 weekend
Tools
Git, GitLab CI, Docker, Kubernetes

What you’ll build

A small web app that builds, tests and deploys itself. Every merge to main runs a GitLab pipeline that:

  1. builds a container image,
  2. runs the tests,
  3. pushes the image to a registry,
  4. rolls it out to a Kubernetes cluster.

What you’ll be able to show

  • A public repo with a working .gitlab-ci.yml
  • A short write-up explaining how the pipeline works and why each stage exists
  • A live URL, or a screen recording of a deploy

What you need

  • Your homelab, or any machine that can run Docker
  • Your own GitLab (the Homelab roadmap shows how to set it up), or a free GitLab.com account
  • The k3s cluster from Project 02

The full step-by-step guide and videos are coming soon.