Skip to content

Create and Modify an Inline Function ​

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

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. To learn more about Function's signature, event and context objects, and custom HTTP responses the Function returns, read Function’s specification.

Prerequisites ​

Procedure ​

You can create a Function with Kyma dashboard, Kyma CLI, or kubectl: