The Hitchhiker's Guide to Testing Kubernetes
Talkat Maintainer Summit India 2024 · on Tuesday, 2024-12-10· at 10:00· Convention Centre | Level 4 | Room 404·
summary
Maps the test pyramid for Kubernetes with concrete commands and results: unit tests use go test or make test, integration tests spin up etcd and API server, and e2e tests use kubetest2 against a kind cluster with a locally built kind node image and a compiled e2e binary. Demonstrates enabling a feature gate, running a focused Ginkgo test via kubetest2, and seeing the test pass. Mentions VS Code workflow for iterative unit test development and the role of conformance tests and hydrophone.
AI-written summary · about
chapters (12)
- 0:00Kubernetes testing intro
- 1:25Why test Kubernetes
- 3:29Unit tests
- 5:54Unit tests locally
- 8:01Integration tests
- 9:24End-to-end cluster tests
- 10:50Kind for local E2E
- 12:13Writing E2E tests
- 16:28E2E node tests vs regular E2E tests
- 18:14Conformance tests
- 19:21Testing resources
- 20:54Q&A
related talks
36mEfficient Kubernetes E2E Testing: Unleash the Power of Prow
40mKubetest2: Because Now You Can Test Kubernetes on Your Bespoke Cloud Too!
16mWhy Kubernetes Applications Require a New Approach to Testing using Testkube
35mIntro: Testing SIG
33mThe Power of a Unified Testing Approach in Kubernetes
16mWhy Kubernetes Applications Require a New Approach to Testing using Testkube
26mThe Hitchhiker's Guide to Kubernetes Platforms: Don’t Panic, Just Launch!
30mTesting Kubernetes Clusters - Building Confidence in Your Changes
