November 13, 2019

223 words 2 mins read

Scavenging for Reusable Code in the Kubernetes Codebase

Scavenging for Reusable Code in the Kubernetes Codebase

The magic of open source software and Go's support for remote import paths makes it trivial to import and run code from many of the most popular CNCF projects directly in your own project. Sometimes, …

Talk Title Scavenging for Reusable Code in the Kubernetes Codebase
Speakers Kevin Lingerfelt (Software Engineer, Buoyant)
Conference KubeCon + CloudNativeCon Europe
Conf Tag
Location Barcelona, Spain
Date May 19-23, 2019
URL Talk Page
Slides Talk Slides
Video

The magic of open source software and Go’s support for remote import paths makes it trivial to import and run code from many of the most popular CNCF projects directly in your own project. Sometimes, however, the process of finding that one piece of code in a large codebase that’s just right for your use case can feel like a scavenger hunt. But the spoils of the hunt are vast. This talk explores how the Linkerd project has leveraged the Kubernetes codebase to replace their bespoke code with existing code that’s more robust and better tested. Specific examples include switching the project to use Kubernetes' shared informers for caching API responses and adding rate limiting via work queues for TLS certificate distribution. Linkerd’s Kevin Lingerfelt will show you how to undertake an effective Go scavenger hunt, and he’ll discuss when you should skip the hunt and write it from scratch.

comments powered by Disqus