youtube image
From YouTube: Programming Kubernetes with the Go SDK [I] - Aaron Schlesinger, Deis

Description

Programming Kubernetes with the Go SDK [I] - Aaron Schlesinger, Deis

Most people talk to their Kubernetes clusters using the kubectl tool, but we’re seeing more and more cases where engineers are writing their own software to talk to the Kubernetes API itself. The use cases for doing so are many: writing ingress controllers, managing pods and watching logs to name a few.

At Deis, we’re using the Kubernetes Go SDK for quite a few different purposes. We first started by vendoring in the Kubernetes mono-repo to watch pod events. We pushed our code to production and quickly learned all about Kubernetes event stream internals and the server-side event cache. When we got something working reliably, we expanded our usage of this client code to a few other domains. We later migrated to the the client-go package when it was released and now use it in almost all of our projects and infrastructure.

In this talk, we’ll share our use cases and detail what we’ve learned using client-go in production. We’ll also share some best practices and show a demo to illustrate how you can get started with the client yourself.

About Aaron Schlesinger
Sr. Software Engineer, Deis
Aaron Schlesinger is a Sr. Software Engineer at Deis. He leads or contributes to development on the Deis Workflow PaaS projects, Helm and the Kubernetes sig-service-catalog Kubernetes incubator project. He’s been a software developer for 10+ years, and most of that time has focused on distributed systems from large scale data warehousing to real time servers. He's a Golang developer at heart.
Join us for KubeCon + CloudNativeCon in Barcelona May 20 - 23, Shanghai June 24 - 26, and San Diego November 18 - 21! Learn more at https://kubecon.io. The conference features presentations from developers and end users of Kubernetes, Prometheus, Envoy and all of the other CNCF-hosted projects.