Create an inline Function

This tutorial shows how you can create a simple "Hello World" Function in Node.js 14. The Function's code and dependencies are defined as an inline code in the Function's spec.

TIP: Serverless also allows you to store the Function's code and dependencies as sources in a Git repository. To learn more, read how to Create a Git Function.

TIP: Read about Function’s specification if you are interested in its signature, event and context objects, and custom HTTP responses the Function returns.

Steps

Follow these steps:

  • Kyma CLI
  • kubectl
  • Kyma Dashboard