Embedded Functions
This document explains the basics of embedded functions and how they work in control plane projects. Embedded functions provide a lightweight way to customize composition behavior without the complexity of managing separate containerized functions.
An embedded function is a lightweight, self-contained unit of logic that runs inside your control plane as part of a function pipeline. Embedded functions allow you to customize how your compositions behave by injecting defaults, transforming data, validating inputs, generating outputs, or reacting to external signals.
Embedded functions vs traditional Crossplane functions
While both embedded functions and upstream Crossplane functions serve the same purpose of extending your control plane with custom logic, they differ significantly in how you author, deploy, and manage them.
You design embedded functions to be lightweight and tightly integrated into your control plane project. In contrast, upstream Crossplane functions follow a more traditional Kubernetes model, requiring containerized deployments and additional Kubernetes resources.