Difficulty: beginner
Estimated Time: 10-15 minutes

Deploying and using kubeless, the Kubernetes Native serverless framework.

With Kubeless you can deploy functions without the need to build containers. These functions can be called via regular HTTP(S) calls or triggered by events submitted to message brokers like Kafka.

Kubeless aims to be an open source FaaS solution to clone the functionalities of AWS Lamdba/Goole Cloud Functions.

This scenario has shown you how to deploy kubeless on your Kubernetes cluster and how to use kubeless to deploy toy Python and Node.js functions.

Stay tuned for more scenarios and check out the github repository of kubeless

Getting Started with Kubeless

Step 1 of 6

Step 1 - Install Kubeless

Create a kubeless namespace where you will install the controller.

kubectl create ns kubeless

Install the latest stable version with a kubectl create command

kubectl create -f https://github.com/kubeless/kubeless/releases/download/v1.0.0-alpha.8/kubeless-v1.0.0-alpha.8.yaml

You can see that a few pods are being started in the kubeless namespace. The controller which will watch for function objects to be created and also two Pods to enabled PubSub function.

kubectl get pods -n kubeless

As soon as the controller starts you can deploy a function. In this getting started guide you do not need to wait for the other pods to start. HTTP triggered functions are available right away.

This tab will not be visible to users and provides only information to help authors when creating content.

Creating Katacoda Scenarios

Thanks for creating Katacoda scenarios. This tab is designed to help you as an author have quick access the information you need when creating scenarios.

Here are some useful links to get you started.

Running Katacoda Workshops

If you are planning to use Katacoda for workshops, please contact [email protected] to arrange capacity.

Debugging Scenarios

Below is the response from any background scripts run or files uploaded. This stream can aid debugging scenarios.

If you still need assistance, please contact [email protected]