OpenFaaS
Serverless Functions Made Simple on Kubernetes and Docker.
Why consider OpenFaaS?
OpenFaaS is an open-source serverless framework that lets developers deploy event-driven functions and microservices to Kubernetes or Docker without cloud vendor lock-in.
Learn OpenFaaS by building
Practical setup notes, real use cases, and copy-ready examples in one focused guide.
In this guide3 sections
Overview of OpenFaaS
OpenFaaS (Functions as a Service) enables developers to turn any container or code into a scalable serverless function running on Kubernetes. It abstracts away container orchestration so you can write event-driven code in Node.js, Python, Go, Java, or C#.
Installing the OpenFaaS CLI (faas-cli)
Install the command-line interface on macOS/Linux:
curl -sSL https://cli.openfaas.com | sudo shCreating and Deploying a Function
Create a new function from the Python template:
faas-cli template store pull python3-httpfaas-cli new --lang python3-http hello-worldBuild the Docker image and deploy it to your cluster:
faas-cli build -f hello-world.ymlfaas-cli push -f hello-world.ymlfaas-cli deploy -f hello-world.ymlInvoke the function via HTTP or the CLI:
echo "Hello from TiloBox" | faas-cli invoke hello-worldThe OpenFaaS core gateway and CLI components are licensed under the MIT License.
Related tools
More options with a similar category or technology profile.
diskus
Minimal, fast alternative to du -sh written in Rust using multi-threaded directory traversal.
peco
Simplistic interactive filtering tool for Unix pipelines, process lists, and file trees.
Dapr CLI
Command-line tool for managing Dapr distributed application runtime environments and sidecars.
Freeze
Generate beautiful image screenshots and SVGs of code snippets and terminal outputs.