youtube image
From YouTube: OpenAPI Specs – Towards Native User Experience of CRDs - Stefan Schimanski, Red Hat

Description

Join us for Kubernetes Forums Seoul, Sydney, Bengaluru and Delhi - learn more at kubecon.io

Don't miss KubeCon + CloudNativeCon 2020 events in Amsterdam March 30 - April 2, Shanghai July 28-30 and Boston November 17-20! Learn more at kubecon.io. The conference features presentations from developers and end users of Kubernetes, Prometheus, Envoy, and all of the other CNCF-hosted projects

OpenAPI Specs – Towards Native User Experience of CRDs - Stefan Schimanski, Red Hat

Whenever kubectl creates or changes resources, OpenAPI is involved in the background. OpenAPI is a core technology for client-side validation, docs (kubectl explain), intelligent Kubernetes manifest completion in IDEs and the starting point for client generation in other languages than Go.

With 1.14, we start publishing OpenAPI specs for CRDs, kubectl explain for CRDs will start working. Providers of CRDs will want to create OpenAPI specs for their resources for a native user experience.

The talk will cover:
- Intro to OpenAPI specs
- CRD validation using OpenAPI
- OpenAPI based client generation
- Typical Kubernetes API patterns expressed in OpenAPI
- Towards a standard openapi-spec-gen to extract specs from Golang types
- Expressivity and limits of OpenAPI

Stefan is a core contributor to API machinery, client-go and CRDs, and maintainers of the OpenAPI code in Kubernetes.

https://sched.co/MPZz