Apr 10, 2019
In his KubeCon talk, Kevin Lingerfelt discusses how open source software and Go’s support for remote import paths simplify importing and running code from some of the most popular open source projects directly in your own project. Occasionally, finding that one piece of code in a large codebase for your use case can feel like a scavenger hunt. But the spoils of the hunt are vast.
Kevin explores how Linkerd has leveraged the Kubernetes codebase to replace their code with existing code that’s more robust and better tested. For instance, we switched the project to use Kubernetes’ shared informers for caching API responses and adding rate limiting via work queues for TLS certificate distribution. You’ll learn how to undertake an effective Go search and when to skip the hunt and write it from scratch.