O'Reilly logo

DevOps for Serverless Applications by Shashikant Bangera

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Creation of the service

We will use the create command to create basic services using the passing of runtime and path to create a directory. Currently, two runtimes are provided—one is Python and the other is Node.js. So, if we run the following command with the path parameter, it will create a folder with a simple serverless function. The runtimes currently available are kubeless-python and kubeless-nodejs:

$ serverless create --template kubeless-python --path myKubelessFunc

The create command will create a service, and each service configuration will have the following three files:

  • serverless.yml: The main responsibility of this file is to declare the service, define the provider, custom plugin (in our case, the serverless-kubeless plugin), ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required