Creating Dynamic Kubernetes Resources with Crossplane Functions - Steven Borrelli, Upbound, Inc.
HTML-код
- Опубликовано: 3 окт 2023
- Creating Dynamic Kubernetes Resources with Crossplane Functions - Steven Borrelli, Upbound, Inc.
Crossplane is a popular CNCF project that uses Kubernetes Custom Resource Definitions and Controllers to manage any resource that has a management API. While Kubernetes' declarative model is extremely powerful it can be limited in modeling more complex logic patterns such as loops and conditionals. In January 2023, the 1.11 release of Crossplane included a new v1alpha1 feature: Composition Functions. This talk will cover using Composition functions to perform tasks such as mutating Kubernetes objects and creating new resources dynamically in a cluster based on a declarative input. This allows Platform Teams to manage complex cloud infrastructure in a Kubernetes-native manner. This talk will cover: - The Crossplane Model - The motivation for developing functions - The execution context of a Function - How Crossplane Models resources - The FunctionIO Custom Resource Definition - Common programming patterns - Code examples in Go and Python - Packaging functions