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.
Getting Started with Kubeless
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.