~/talk

Integration testing for container images via Kind in GitLab CI

Talkat DevConf.CZ 2025 · 2025-06-12..06-14· [testing, kubernetes]
slides:none on file

CKI runs ~30 Python microservices with ~20–30 daily deployments and frequent outages from API, import and entrypoint breaks. The team builds on Kind (Kubernetes in Docker) inside GitLab CI, mounting local code into node containers, using the Kubernetes Python client and pytest fixtures to spin ephemeral clusters. Concrete tests cover RabbitMQ→GitLab pipeline triggers and an S3-auth proxy (using mo), run locally and in CI, making integration tests as easy to add as unit tests while adding a Kubernetes learning curve.

AI-written summary · about

  1. 0:00Container image testing intro
  2. 3:37Outages from untested images
  3. 6:52Integration testing requirements
  4. 9:16Why we chose Kind
  5. 11:01Setting up Kind for testing
  6. 14:36Deploying services in Kind
  7. 16:45Python integration tests with Kind
  8. 18:56Advantages and downsides of Kind-based testing
  9. 21:08Fixes for common issues
  10. 25:01Rolling back images
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.