Skip to content
OpenFaaS - Serverless Functions Made Simple 🎂🎁
Go Dockerfile HTML Shell JavaScript Makefile Other
Branch: master
Clone or download
utsavanand2 and alexellis Update travis link from .org to .com
Signed-off-by: Utsav Anand <>
Latest commit d902881 Dec 10, 2019
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github Removed some funding platforms Sep 3, 2019
api-docs Fix api docs for logging endpoint Aug 21, 2019
auth Updated basic auth plugin faas provider Oct 15, 2019
ci Add registry login script and reinstate to CI Jun 24, 2019
contrib ISSUE-1360: change to looking for lower-case reponse from dockerhub w… Oct 21, 2019
docs Add workflow diagram Sep 25, 2019
gateway Support customising the NATS Streaming channel. Dec 10, 2019
prometheus Remove Dockerfiles Apr 3, 2019
sample-functions Update deprecated "faas" to "openfaas" in provider field Dec 1, 2019
watchdog Add -run-healthcheck flag Nov 28, 2019
.DEREK.yml Update .DEREK.yml Nov 21, 2019
.gitignore Secrets iteration: Jan 4, 2019
.travis.yml Update Go environment to 1.11 in Travis Sep 28, 2019 Update Nov 25, 2019 Add Bronze GitHub Sponsor Nov 28, 2019
CNAME Create CNAME Apr 29, 2017 Update contributing Dec 9, 2019 Update watchdog to 0.9.14 for sample functions Jan 13, 2019
LICENSE Add OpenFaaS Author(s) Sep 8, 2018
Makefile Refactor CI and enable auto-builds for auth Jun 23, 2019 Update travis link from .org to .com Dec 10, 2019 Update README Sep 16, 2019 Add whitespace for CI build Oct 8, 2019
_config.yml Set theme jekyll-theme-cayman Apr 29, 2017
appveyor.yml Windows port - spike (#66) Apr 27, 2017 Refactor CI and enable auto-builds for auth Jun 23, 2019 Add link to blog post Nov 30, 2019 Disable KeepAlive on proxy (#21) Mar 21, 2017
deploy_stack.ps1 Enable hashed passwords with PowerShell Nov 4, 2018 Deploy basic auth plugin Jun 6, 2019
docker-compose.arm64.yml Update swam provider version in compose to 0.8.2 Nov 9, 2019
docker-compose.armhf.yml Update swam provider version in compose to 0.8.2 Nov 9, 2019
docker-compose.yml Update core OpenFaaS component in docker-compose Dec 10, 2019
stack.yml Update deprecated "faas" to "openfaas" in provider field Dec 1, 2019
stack_arm.yml Update deprecated "faas" to "openfaas" in provider field Dec 1, 2019

OpenFaaS ® - Serverless Functions Made Simple

Go Report Card Build Status GoDoc License: MIT OpenFaaS Derek App

OpenFaaS Logo

OpenFaaS® makes it easy for developers to deploy event-driven functions and microservices to Kubernetes without repetitive, boiler-plate coding. Package your code or an existing binary in a Docker image to get a highly scalable endpoint with auto-scaling and metrics.

Twitter URL


  • Ease of use through UI portal and one-click install
  • Write services and functions in any language with Template Store or a Dockerfile
  • Build and ship your code in the Docker/OCI image format
  • Portable: runs on existing hardware or public/private cloud by leveraging Kubernetes
  • CLI available with YAML format for templating and defining functions
  • Auto-scales as demand increases including to zero

Want to dig deeper into OpenFaaS?

Overview of OpenFaaS (Serverless Functions Made Simple)

Conceptual architecture

Press / Branding / Website Sponsorship

  • Individual Sponsorships / End-users / Insiders Track 🍻

    OpenFaaS is free to use and completely open source under the MIT license, however financial backing is required to sustain the effort to maintain and develop the project.

    Users and contributors are encouraged to join their peers in supporting the work through GitHub Sponsors, all tiers gain exclusive access to the Insiders Track

  • Website Sponsorship 🌎

    Companies and brands are welcome to sponsor, the Gold and Platinum tiers come with a homepage logo, see costs and tiers. Website sponsorships can be paid by invoice to OpenFaaS Ltd.

  • Press / Branding 📸

    For information on branding, the press-kit, registered entities and sponsorship head over to the openfaas/media repo. You can also order custom SWAG or take part in the weekly Twitter contest #FaaSFriday

    Looking for statistics? This project does not use a mono-repo, but is split across several components. Use Ken Fukuyama's dashboard to gather accurate counts on contributors, stars and forks across the GitHub organisation.

    Note: Incubator projects are not counted in these totals and are hosted under openfaas-incubator awaiting graduation.


OpenFaaS® is an independent project founded by Alex Ellis which is now being built and shaped by a growing community of contributors, GitHub Organisation members, Core contributors and end-users. OpenFaaS Ltd hosts the OpenFaaS codebase and trademarks. Professional services, sponsorships, and commercial support packages are available upon request.


View a selection of end-user companies who have given permission to have their logo listed at

If you're using OpenFaaS please let us know on this thread. In addition, you are welcome to request to have your logo listed on the homepage. Thank you for your support.

Technical overview

Function Watchdog

  • You can make any Docker image into a serverless function by adding the Function Watchdog (a tiny Golang HTTP server)
  • The Function Watchdog is the entrypoint allowing HTTP requests to be forwarded to the target process via STDIN or HTTP. The response is sent back to the caller by writing to STDOUT or HTTP from your application.

API Gateway / UI Portal

  • The API Gateway provides an external route into your functions and collects Cloud Native metrics through Prometheus.
  • Your API Gateway will scale functions according to demand by altering the service replica count in the Docker Swarm or Kubernetes API.
  • A UI is baked in allowing you to invoke functions in your browser and create new ones as needed.

The API Gateway is a RESTful micro-service and you can view the Swagger docs here.


Using the faas-cli and faas-cli up you can create, build, distribute, and deploy your code in a very short period of time.

Any container or process in a Docker container can be a serverless workload in OpenFaaS, as long as it conforms to The Workload Contract.

Create new functions from templates for Node.js, Python, Go and many more. If you can't find a suitable template you can also use a Dockerfile or create your own.

The CLI is effectively a RESTful client for the API Gateway. When you have OpenFaaS configured you can get started with the CLI here


You can generate new functions using the faas-cli and built-in templates or use any binary for Windows or Linux in a Docker container.

Official templates exist for many popular languages and are easily extensible with Dockerfiles.

  • Node.js (node10-express) example:

    "use strict"
    module.exports = (event, context) => {
        .headers({"Content-Type": "text/html"})
            👋 Hello World 🌍


  • Python 3 example:

    import requests
    def handle(req):
        r =  requests.get(req, timeout = 1)
        return "{} => {:d}".format(req, r.status_code)

  • Golang example (golang-http)

    package function
    import (
    func Handle(req handler.Request) (handler.Response, error) {
        var err error
        return handler.Response{
            Body: []byte("Try us out today!"),
            Header: map[string][]string{
                "X-Served-By": []string{""},
        }, err

The easiest way to get started with functions is to take the workshop or one of the tutorials in the documentation.

Get started with OpenFaaS

Join the Community

Official blog and documentation

Workshop (hands-on learning)

You can learn how to build functions and microservices with OpenFaaS using the OpenFaaS workshop. The Workshop has been curated carefully by dozens of community members to guide you through everything you need to know from setting up on Kubernetes to making use of secrets to integrating with GitHub and auto-scaling.

Deploy OpenFaaS

Here is a screenshot of the API gateway portal - designed for ease of use with the inception function.



OpenFaaS is Kubernetes-native - you can follow the deployment guide here.

Docker Swarm

The deployment guide for Docker Swarm contains a simple one-line command to get you up and running in around 60 seconds. It also includes a set of sample functions which you can use with the TestDrive instructions below.

Deployment guide for Docker Swarm

  • Docker Playground

    You can quickly start OpenFaaS on Docker Swarm online using the community-run Docker playground: Play-with-Docker (PWD)

    Simply follow the deployment guide for Swarm above in a new session

    You will need a free Docker Hub account to get access. Get one here: Docker Hub

Find out more about OpenFaaS

Welcome to Serverless 2.0 @ Goto Chicago 2019

Featuring a manifesto for Serverless 2.0 including comparisons and synergies between OpenFaaS, AWS Lambda, Knative, and Kubeless.

How LivePerson is Tailoring its Conversational Platform Using OpenFaaS @ KubeCon 2019

Hear how LivePerson took one of the most popular open source Serverless projects (OpenFaaS) and built it into their product to add value for customers. Functions allow customers to create custom chatbot behaviour, messaging extensions and commerce workflows. You’ll see a live demo and hear about how the team put together the solution

Digital Transformation of Vision Banco Paraguay with Serverless Functions @ KubeCon late-2018

Alex Ellis co-presents at KubeCon with Patricio Diaz Senior Analyst, Vision Banco SAECA

Serverless Beyond the Hype (goto Copenhagen) late-2018

Overview of the Serverless landscape for Kubernetes, OpenFaaS and OpenFaaS Cloud with live demos and most update information.

The Cube interview @ DevNet Create mid-2018

TechFieldDay presentation (Dockercon EU) late-2017

15 minute overview with demos on Kubernetes and with Alexa - HD YouTube video

Closing Keynote at Dockercon early-2017

Functions as a Service or FaaS was a winner in the Cool Hacks contest for Dockercon 2017.

If you'd like to find the functions I used in the demos head over to the faas-dockercon repository.

Background story

Community events and blog posts

Have you written a blog about OpenFaaS? Do you have a speaking event? Send a Pull Request to the community page below.

If you'd like to join OpenFaaS community Slack channel to chat with contributors or get some help then check out this page on community.

Roadmap and contributing

OpenFaaS is written in Golang and is MIT licensed - contributions are welcomed whether that means providing feedback, testing existing and new feature or hacking on the source.

How do I become a contributor?

Please see the guide on community & contributing


The roadmap for OpenFaaS is represented in GitHub issues and a Trello board.

Roadmap: OpenFaaS Cloud

OpenFaaS Cloud is a platform built on top of the OpenFaaS framework which enables a multi-user experience driven by GitOps. It can be installed wherever you already have OpenFaaS and packages a dashboard along with CI/CD integration with GitHub so that you can push code to a private or public Git repo and get live HTTPS endpoints.


Example of a Grafana dashboards linked to OpenFaaS showing auto-scaling live in action: here

An alternative community dashboard is available here

You can’t perform that action at this time.