TGIK

TGI Kubernetes is a weekly live video stream all about Kubernetes.

TGI Kubernetes 037: Operator Framework

Watch on YouTube
3:11 PM PDT on Friday, May 25, 2018

TGI Kubernetes 037: Operator Framework

In this episode

Come hang out with Kris Nova as she does a bit of hands on hacking of Kubernetes and related topics. Some of this will be Kris talking about the things she knows. Some of this will be Kris exploring something new with the audience. Come join the fun, ask questions, comment, and participate in the live chat!

0:00:00 - Hello and welcome 0:01:50 - TGIK Repo 0:03:38 - What have you been working on this week? 0:04:54 - Kasane from Google 0:06:10 - CFPs for KubeCon Seattle and China 0:07:19 - Call for help SIG UI and SIG Scalability 0:08:49 - VGO and Dep in Go Buffalo 0:10:08 - Transition from Dep to vgo 0:12:00 - All the operators 0:14:00 - Controllers vs Operators vs Deployments 0:16:00 - Operators and CRDs 0:16:35 - Getting started with the operator SDK 0:19:00 - Installing the operator-sdk CLI tool 0:22:55 - Creating a new operator 0:25:30 - Exploring the new operator code 0:27:30 - Exploring how the operator-sdk works 0:30:45 - Dependencies for the operator-sdk 0:33:40 - Building with the operator-sdk 0:37:17 - Examining the operator container image 0:38:33 - Looking at the YAML! 0:43:40 - Exploring the new CRD 0:45:45 - Exploring the operator deployment 0:48:34 - Creating a new CR 0:50:50 - Exploring custom handlers with operators 0:51:48 - Checking out the Watch() function 0:54:09 - Context in Go 0:54:20 - runtime.Object in Kubernetes and embedding and composition 0:56:00 - Type switching in Go 1:00:17 - Literal data structure with Pods in Go 1:05:02 - Exec'ing into a Kubernetes Pod 1:06:07 - Hacking on the controller in Go! 1:28:00 - The SDK package