Writing Kubernetes Controllers for CRDs: Challenges, Approaches and Solutions
Kubernetes as a platform is at the stage where more and more features are being developed and deployed as external controllers. And writing an extension in most of the cases implies use of CRD - a Cus …
Talk Title | Writing Kubernetes Controllers for CRDs: Challenges, Approaches and Solutions |
Speakers | Alena Prokharchyk (Principal Software Engineer, Rancher Labs, Inc.) |
Conference | KubeCon + CloudNativeCon Europe |
Conf Tag | |
Location | Copenhagen, Denmark |
Date | Apr 30-May 4, 2018 |
URL | Talk Page |
Slides | Talk Slides |
Video | |
Kubernetes as a platform is at the stage where more and more features are being developed and deployed as external controllers. And writing an extension in most of the cases implies use of CRD - a Custom Resource Definition - to manage and represent the resources your application creates. During this talk we will go over the entire management cycle for CRD resource starting with defining types, schema and client, following by controlling the resource using informers and leveraging object’s fields like: * Spec, Status, Metadata, Labels * Finalizers * Owner References * Conditions Each aspect of CRD management has its own challenges, and they will be highlighted along with the alternative solutions as a part of a live demo.