+1
日增长
+9
周增长
+10
月增长
26,261
stars
1,960
forks
452
watchers
933
prs
853
issues
5
releases
README
OpenFaaS ® - Serverless Functions Made Simple
!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 an OCI-compatible image to get a highly scalable endpoint with auto-scaling and metrics.
"OpenFaaS Community Edition (CE) is licensed for individual exploration and hobbyist use. A 60 day limit applies for commercial PoCs. Commercial and production workloads require OpenFaaS Standard or OpenFaaS for Enterprises."
Highlights
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 an OCI-compatible/Docker image
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
Commercially supported Pro distribution by the team behind OpenFaaS
Want to dig deeper into OpenFaaS?
Trigger endpoints with either HTTP or events sources such as Apache Kafka and AWS SQS
Offload tasks to the built-in queuing and background processing
Quick-start your Kubernetes journey with GitOps from OpenFaaS Cloud
Go secure or go home with 5 must-know security tips
Learn everything you need to know to go to production
Integrate with Istio or Linkerd with Featured Tutorials
Deploy to Kubernetes or OpenShift
OpenFaaS Tiers and Pricing
This repository is part of OpenFaaS Community Edition (CE), which is licensed for non-commercial use by individuals, and a time-limited trial for commercial Proof Of Concepts (PoC). Internal use within a company or business requires a license.
OpenFaaS CE:
has usage restrictions, which you can learn about in the OpenFaaS CE EULA
has basic or primitive features and capabilities compared to the commercial versions
is not licensed for commercial use of any kind beyond an initial trial period
OpenFaaS Standard and OpenFaaS for Enterprises are full and distinct commercial products.
They are maintained and developed independently, by a full-time team, with commercial support, and active maintenance for CVEs, and updates in the Kubernetes and Cloud Native ecosystem.
Learn more about the tiers at https://www.openfaas.com/pricing/
Overview of OpenFaaS (Serverless Functions Made Simple)
!Conceptual architecture
Conceptual architecture and stack, more detail available in the docs
Code samples
You can scaffold a new function using the faas-cli new command passing in the name of the function and the language template you want to use i.e. faas-cli new --lang node20 stripe-webhooks.
Official templates exist for many popular languages and are easily extensible with Dockerfiles.
Learn about OpenFaaS templates in the docs
Node.js (node20) example:
js
"use strict"
module.exports = async (event, context) = {
Top issues
#657Research item: Long running batch-jobs / workflow40 comments · 2018-04-18#639Research: show GPU attached to a function40 comments · 2018-04-12#848Add missing attributes to /system/function/{functionName} 35 comments · 2018-09-04#1271Question about scaling with AlertManager19 comments · 2019-07-30#1246Story: OpenFaaS SDKs for each language19 comments · 2019-07-03#1075Proposal: Support multiple-revisions of functions14 comments · 2019-02-01#1683Weekly Office Hours13 comments · 2021-12-15#979Proposal: scale new functions down to zero which have never been invoked13 comments · 2018-11-26
Latest release
Update Go to 1.24 and vendor for CE gateway 0.27.13 2025-08-29Changelog for 0.27.13: PR 1827 Update the link to the api docs by @warunsl Commits 7926181684e5fed8b915d035fe652232d708463d Update Go to 1.24 and vendor for CE gateway by @alexellis 7db71336aea81c22acb73f68875b09504573e571 Help users understand the terms of CE by @alexellis 7803ea1861f2a22adcbcfa8c79ed539bc6506d5b Move contact info to 9 by @alexellis bff27248249105a8dd8930e5fab4ef91e214cf5e Remove duplicated section 5 by @alexellis 452fde08ad311fe0b1a5a3c42baa516edbc29d4b Update the link to the api docs by @warunsl b2a378fea4266ca35d5f2a1d64b646242718fb99 EULA overrides any PO T&Cs by @alexe