What is Kubeless?
Kubeless is an open source serverless framework based on Kubernetes. It allows us to deploy and execute a piece of code without worrying about the underlying infrastructure. It uses the resources of Kubernetes to provide autoscaling, routing, and monitoring. Post-deployment functions can be triggered with pub–sub, HTTP, and scheduling. The pub–sub events are managed through a Kafka cluster, an out-of-the-box component within Kubeless, which consists of a basic Kafka cluster with a broker and a zookeeper. HTTP triggers are available through the Kubernetes services, and schedule functions translate to a cron job. The languages/runtime supported by Kubeless are python2.7
, python3.4
, python3.6
, nodejs6
, nodejs8
, nodejs_distroless8
, ruby2.4
, php7.2
, go1.10
, dotnetcore2.0
, java1.8
, ballerina0.980.0
, and jvm1.8
. Kubeless also supports HTTP, NATS, Kafka, cron, and stream triggers.Â
Kubeless architecture
Kubeless uses custom resource definition, which means that when you create a...