Session

Ensuring Reliability of Production Ready Kubernetes Operators Using Envtest - Aniruddha Basak, Indep

We need to keep in mind many principles & techniques while writing a Kubernetes operator and especially so when used in production. Projects like kubebuilder go a long way to help in building operators. However, talks focus on how to write operators. But in this talk, you will learn how testing can help you create Kubernetes operators that are reliable and resilient to failure and give you the confidence to deploy them to production clusters. Often writing unit tests is not enough for an operator that manages infrastructure. Introducing e2e tests will help, but writing and running e2e tests are time-consuming. This session will share how a user can use envtest to simulate an environment very similar to a real environment and run the tests on behalf of that. In addition, you’ll learn what to keep in mind while writing the tests, such as it doesn’t support garbage collection, and a user must be very careful while creating objects and deleting them after a test suite is done.

Rayan Das

Senior Platform Engineer, DigitalOcean

Bengaluru, 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