kubeless is a Kubernetes-native serverless framework that lets you deploy small bits of code without having to worry about the underlying infrastructure plumbing. It leverages Kubernetes resources to provide auto-scaling, API routing, monitoring, troubleshooting and more.
Kubeless stands out as we use a Custom Resource Definition to be able to create functions as custom kubernetes resources. We then run an in-cluster controller that watches these custom resources and launches runtimes on-demand. The controller dynamically injects the functions code into the runtimes and make them available over HTTP or via a PubSub mechanism.
Kubeless is purely open-source and non-affiliated to any commercial organization. Chime in at anytime, we would love the help and feedback !
Click on the picture below to see a screencast demonstrating event based function triggers with kubeless.
Click on this next picture to see a screencast demonstrating our serverless plugin:
- A UI available. It can run locally or in-cluster.
- A serverless framework plugin is available.
Check out the instructions for quickly set up Kubeless here.
Consult the developer's guide for a complete set of instruction to build kubeless.
There are other solutions, like fission and funktion. There is also an incubating project at the ASF: OpenWhisk. We believe however, that Kubeless is the most Kubernetes native of all.
Kubeless uses k8s primitives, there is no additional API server or API router/gateway. Kubernetes users will quickly understand how it works and be able to leverage their existing logging and monitoring setup as well as their troubleshooting skills.
Compatibility Matrix with Kubernetes
Kubeless fully supports two major versions of Kubernetes (1.8 and 1.9) at the moment. For other versions some of the features in Kubeless may not be available. Our CI run tests against two different platforms: GKE (1.8) and Minikube (1.9). Other platforms are supported but fully compatibiliy cannot be assured. This is the summary of the features and versions supported:
|Platform||Kubernetes Version||HTTP functions||Scheduled functions||PubSub (Kafka) functions||PubSub (NATS) functions||Autoscaling (CPU)|
We would love to get your help, feel free to lend a hand. We are currently looking to implement the following high level features:
- Add other runtimes, currently Python, NodeJS, Ruby and PHP are supported. We are also providing a way to use custom runtime. Please check this doc for more details.
- Investigate other messaging bus (e.g SQS, rabbitMQ)
- Use a standard interface for events
- Optimize for functions startup time
- Add distributed tracing (maybe using istio)
Issues: If you find any issues, please file it.
Meetings: Thursday at 10:30 UTC (Weekly). Convert to your timezone
Meeting notes and agenda can be found here. Meeting records can be found here
Slack: We're fairly active on slack and you can find us in the #kubeless channel.
Serverless framework for Kubernetes.
|Serverless framework for Kubernetes.|
Kubeless controller binary.
|Kubeless controller binary.|
Package v1beta1 is the v1beta1 version of the Kubeless API +groupName=kubeless.io
|Package v1beta1 is the v1beta1 version of the Kubeless API +groupName=kubeless.io|