Usage Scenario
You are a developer who needs to create an API to receive and process data. You have heard of the approach to use Serverless Functions to implement such an API, so you want to learn how to create a Serverless Function and how to use it.
Task Flow
In this exercise, you will perform the following steps:
- Create a Serverless Function using kubectl.
- Create a Serverless Function using Kyma dashboard.
- Expose and test the Function using HTTP.
Prerequisites
- You have created a SAP BTP, Kyma runtime instance in the SAP BTP subaccount. See Deploying a Kubernetes Cluster with Kyma on SAP BTP.
- You have configured kubectl to interact with your SAP BTP, Kyma runtime instance, and you have access to Kyma dashboard. See Setting and Configuring Kubectl for Kyma and Accessing Your Kyma Runtime Instance Using Kyma Dashboard.
- You have added the Serverless module. See Adding Kyma Modules.
