Session

The Hitchhiker's Guide to Testing Kubernetes

A vital part of contributing to Kubernetes is testing. Reading existing tests lets you understand how a particular component works. You're also expected to write tests when making changes to the code base. The K8s codebase has different kinds of tests like unit, end to end and conformance tests. Given the scale of K8s, all of these are important to make sure that a feature works as intended and no edge cases come up when all the components are deployed in a production environment.

If you're getting started with contributing to K8s, learning the entire testing infrastructure can be overwhelming. This talk aims to give an introduction of the different types of tests in K8s and how you can setup your dev environment to run them locally. Along with unit tests, the talk also aims to give a demo of setting up tools like kubetest2 and hydrophone to run e2e and conformance tests with a kind cluster. After the talk you'll be ready to write your own tests for K8s and improve the test coverage.

Sreeram Venkitesh

Senior Software Engineer at DigitalOcean Kubernetes

Kochi, India

Actions

Please note that Sessionize is not responsible for the accuracy or validity of the data provided by speakers. If you suspect this profile to be fake or spam, please let us know.

Jump to top