Serverless Architecture ​
Serverless relies heavily on Kubernetes resources. It uses Deployments and Services to deploy and manage Functions. See how these and other resources process a Function within a Kyma cluster:
WARNING
Serverless imposes some requirements on the setup of namespaces. For example, if you apply custom LimitRanges for a new namespace, they must be higher than or equal to the limits for building Jobs' resources.
Create a Function either through the UI or by applying a Function custom resource (CR). This CR contains the Function definition (business logic that you want to execute) and information on the environment on which it should run.
The Function CR is processed by the Function Controller (FC), which validates and updates the resource.
FC creates a Deployment to manage the Function's Pods.
FC creates a Service to expose the Function.
FC waits for the Deployment to become ready.