Seattle, WA
December 10–13, 2018
Click Here for More Information & Registration
View Venue Map
Back To Schedule
Thursday, December 13 • 1:45pm - 2:20pm
Why Are We Copying and Pasting So Much? - Solly Ross & Philip Wittrock, Google

Sign up or log in to save this to your schedule, view media, leave feedback and see who's attending!

Feedback form is now closed.
If you’ve contributed to the one of the Kubernetes controllers or built a custom controller (such as an operator), you’ve probably had to copy a large amount of boilerplate code. Other bits of the controllers may look similar, but have small variations, making it difficult to separate what is bespoke and what is common logic.

The copy/paste approach makes code harder to refactor, understand, and debug. Additionally, neither bug fixes nor improvements to the original are not propagated to the copies.

So what can we about it? Enter controller-runtime, a new foundation library for the next generation of controllers which replaces the boilerplate code with a few function calls. In this session, we’ll look at common controller patterns across both the Kubernetes codebase broader ecosystem, identifying the common elements, simplifying them with the utilities in controller-runtime.

avatar for Solly Ross

Solly Ross

Software Engineer, Google
Solly is one of the leads of the Kubebuilder project, and works on Kubernetes at Google with a focus on custom controller tooling. Solly previously worked on metrics and autoscaling, and has been hacking on various parts of Kubernetes since Kubernetes 1.2. When not writing PRs or... Read More →
avatar for Phillip Wittrock

Phillip Wittrock

Software Engineer, Google
Phillip Wittrock is Staff Software Engineer at Google, a member of the Kubernetes Steering Committee, and a Kubernetes SIG CLI Technical Lead. Phillip’s hobbies include debating how kubectl is pronounced and talking about Kubernetes at social events. Positions Held: Kubernetes... Read More →

Thursday December 13, 2018 1:45pm - 2:20pm PST
Tahoma 3/4 @ TCC The Conference Center (TCC) - Separate from WSCC building