Serverless Plugin for Kubeless
The Serverless Framework is a general framework for deploying serverless applications across different serverless providers. The serverless plugin for Kubeless supports deploying Kubeless functions. Apart from the plugin for Kubeless, the Serverless Framework supports serverless applications such as AWS Lambda, Azure Functions, Google Cloud Functions, Apache OpenWhisk, and Kubeless.
In this section, we will install the serverless framework and create a Kubeless function using the CLI provided by the serverless framework.
Before we start installing the serverless framework, we need to have Node.js version 6.5.0 or later installed as a prerequisite. So, first, let's install Node.js:
$ curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash - $ sudo apt-get install nodejs -y
The output is as follows:
Figure 7.66: Node.js version 6.5.0 installation
Once installed, verify the Node.js version by executing the...