- Expose a workload
- Expose and secure a workload
- Security
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
andcontext
objects, and custom HTTP responses the Function returns.
NOTE: Read about Istio sidecars in Kyma and why you want them. Then, check how to enable automatic Istio sidecar proxy injection. For more details, see Default Istio setup in Kyma.
Steps
Follow these steps:
- Kyma CLI
- kubectl
- Kyma Dashboard