May 2-4, 2018 - Copenhagen, Denmark
Click Here For Information & Registration
Thursday, May 3 • 11:55 - 12:30
Writing Kube Controllers for Everyone - Maciej Szulik, Red Hat (Beginner Skill Level) (Slides Attached)

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.
With the introduction of Custom Resource Definition, as well as external API servers everyone is now able to create its own resources and store them inside kubernetes cluster. But that is only half of the work that needs to be done. During this presentation Maciej, who co-authored both Job and CronJob controllers, and is a frequent reviewer of controller and apiserver-related code will guide you through basic set of steps that are necessary to write a simple controller. As an example he will discuss his recent work around improving CronJob controller, as well as introduce the 11 rules that needs to be fulfilled when writing a good controller.

Topics to be covered include:

1. How controllers work, loop over:
* monitor resources
* react to changes
2. Shared Informers.
3. Owner references.
4. Emitting status.
5. Handling errors.

avatar for Maciej Szulik

Maciej Szulik

Senior Principal Software Engineer, Red Hat
Maciej is a passionate developer with almost 2 decades of experience in many languages. Currently he's working on OpenShift and Kubernetes for Red Hat. Whereas at night he is hacking on side projects with python. In his spare time he enjoys reading a good book or taking photos.

Thursday May 3, 2018 11:55 - 12:30 CEST