Business Scenario
You are a developer and must create an API to receive and process data. You have heard of the approach to use Serverless Functions to implement such an API. Furthermore, you want to learn how to create a Serverless Function and how to use it.
Note
We strongly recommend first performing the steps in the live environment.Live Environment
In this exercise, you will perform the following steps:
- Create a Serverless Function using kubectl.
- Create a Serverless Function using the Kyma dashboard.
- Expose and test the Function using HTTP.
Prerequisites
- You have successfully created a SAP BTP, Kyma runtime instance in the SAP BTP subaccount.
- You have added the Serverless module. See Adding Kyma Modules.
- You have configured kubectl to work with your SAP BTP, Kyma runtime instance.