Thursday, November 21 • 4:25pm - 5:55pm
Tutorial: Mastering Multi-version CRDs: From YAML to a Serious Development Project - Stefan Schimanski, Red Hat & Joe Betz, Google (Limited Available Seating; First-Come, First-Served Basis)

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.
Please bring your laptop fully charged as we will have limited charging stations available in the room.

To prepare for the session, follow the setup instructions at: https://bit.ly/2JWsbxC

CRDs have become the main vehicle to extend the Kubernetes API. They are ready to build serious products on-top of them. But with more and more features like admission and conversion they are no longer just a hundred lines of YAML, but involve real software development. In this talk/tutorial we will start with a YAML-only CRD project and step-by-step go through the development life-cycle towards a powerful multi-version CRD:

- add schema validation using OpenAPI schema generators
- enable pruning
- add defaulting
- add an admission webhook for powerful turing-complete validation
- evolve the CRD to a new version with a conversion webhook
- including comprehensive testing.

On this journey we will learn a lot of about the expected webhook behaviour, how they fit into API machinery, and about API compatibility and good & bad API practices.

avatar for Stefan Schimanski

Stefan Schimanski

Prinicpal Software Engineer, Red Hat
Stefan is a Principal Software Developer at Red Hat working on Kubernetes and OpenShift, with a focus on API machinery, extension points and developer tools as part of Sig API Machinery. He contributed a major part of the CRD feature set. Stefan is a 2nd time GoogleSummer of Code... Read More →
avatar for Joe Betz

Joe Betz

Software Engineer, Google
Joe Betz is a contributor to Kubernetes with a focus on custom resource and admission webhook extensibility features. Joe is also etcd project maintainer and directly responsible for the health and stability of the GKE etcd fleet and leads improvements to etcd via open source con... Read More →

Thursday November 21, 2019 4:25pm - 5:55pm
Room 29ABCD - San Diego Convention Center Upper Level