Conformance Testing the Kubernetes API: Tooling that Makes the Difference
Talkat KubeCon + CloudNativeCon North America 2021 · on Thursday, 2021-10-14· at 17:25· Room 402 AB + Online·
summary
Conformance work uses a small toolchain: apisnoop.cncf.io (snoop DB + audit logger + web) ingests OpenAPI and audit logs to find untested endpoints, while peer.sharing.io spins disposable Kubernetes dev clusters for live test writing and pairing. The team documents tests in Emacs org mode, exports to GitHub issues, runs e2e focused genko tests, and tracks coverage numbers — currently about 77% conformance with roughly 402 endpoints showing full coverage.
AI-written summary · about
chapters (9)
- 0:00Introduction and context
- 0:40Kubernetes conformance
- 1:30Conformance testing tools
- 2:59Setting up peer environments
- 5:20Inside the development pod
- 7:24Documenting tests with Emacs
- 12:10Exporting and sharing results
- 14:44Testing existing endpoints
- 17:17Conclusion and resources
related talks
23mContributing to Kubernetes Conformance Coverage
27mAdventures in Conformance
32mIntro + Deep Dive: Kubernetes Conformance WG
16mContributing to Kubernetes Conformance Coverage
36mKubernetes Conformance WG Intro – William Denniss
21mFilling the Gaps in Kubernetes Test Coverage
01h 27mIntro + Deep Dive: Kubernetes Conformance WG
35mK8s Conformance & SIG Architecture Conformance Subgroup
