faas

openfaas活跃维护

在 Kubernetes 或 Docker 上部署无服务器函数,把容器打包成函数,按需自动扩缩容,省去管理底层基础设施的麻烦。

OpenFaaS - Serverless Functions Made Simple

0.27.13发布于 2025-08-29 14:24 UTC26,257star +3 / 7 天1,961fork同步于 2026-11-10 05:21 UTC

怎么上手

README 里没有找到可直接复制的安装命令

README 里没有找到可直接复制的安装命令,请到 README 或官方文档查看安装方式。

硬件要求

README 没有说明硬件要求。

下载:源码 zip·GitHub Releases(安装包)本站不镜像安装包

项目说明

这个项目的说明还在生成中,先参考下面「最近发版」和 README。

最近发版

5 个版本0.27.13
  1. 0.27.14Protect telemetry with BasicAuthpre-release2026-07-02 · 2026-07-02 09:09 UTC
    查看更新说明

    Changelog for 0.27.14:

    • PR #4330 Create SECURITY.md by @alexellis

    Commits 8d803bf9e2655aec6a60fd0e25b392839f96af95 Protect telemetry with BasicAuth by @alexellis 05c737bb2aaa3315e2dd570fff9ef6697ce98ffa Create SECURITY.md by @alexellis f4dc39f8d87bf666fd5702791d752b382d90163b Refine CE and Pro EULA transition restrictions by @alexellis 18908f0c057161392e676e9d4416c00847f9f1d0 Notes on allowed usage for CE by @alexellis a47ee9138b0eed073d8d07ba68b6570bb7bed538 Explicit PO terms by @alexellis 5bea15c95ae53c8cf3a2049dd830c5acd3c21edb Basic update to dashboard by @alexellis d97587ab5952d5f421e27e4c77efcc3f4b2bd2ba Update link by @alexellis d091c018378e693d48b1b0d6161158ebc8c52177 Sync examples by @alexellis 90a1fa91bfcec5fb5c5f146b58bae02151711bea Minor refresh to README by @alexellis 2dd3f6170a47d26e440944da9b0a46b4611e9341 Updates to GitHub Actions versions by @alexellis 1d211f9c00323a673fe3f9d6094741d4fb251bff Update README.md by @alexellis

    Changes: https://github.com/openfaas/faas/compare/0.27.13...0.27.14

    Generated by Derek

  2. 0.27.13Update Go to 1.24 and vendor for CE gateway最新正式版2025-08-29 · 2025-08-29 14:24 UTC

    Changelog 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 @alexellis 16834ccbf4301a4f671083c5f040f698764ae4cf Change to temporary redirect by @alexellis

    Changes: https://github.com/openfaas/faas/compare/0.27.12...0.27.13

    Generated by Derek

  3. 0.27.12Maintenance release2024-12-09 · 2024-12-09 09:51 UTC
    查看更新说明

    Changelog for 0.27.12:

    Commits 4e20249bc0703954244d4be98eaa6c2bcb68cb83 Remove armv7 from images by @alexellis 4bd07e24d99c7301407b9cd8058ac2a7675dc54c Update Go version to 1.23 by @alexellis 349c58e0848197d854101a1a9b16550b51097be3 EULA: Expiry of licence key invokes termination by @alexellis

    Changes: https://github.com/openfaas/faas/compare/0.27.11...0.27.12

    Generated by Derek

  4. 0.27.11Allow CE gateway to proxy telemetry handler from OEM/Pro backend2024-11-29 · 2024-11-29 14:52 UTC
    查看更新说明

    Changelog for 0.27.11:

    Commits 2fb748e03d58568309f516c215c6f2be17bf667c Allow CE gateway to proxy telemetry handler from OEM/Pro backend by @alexellis

    Changes: https://github.com/openfaas/faas/compare/0.27.10...0.27.11

    Generated by Derek

  5. 0.27.10Maintenance release2024-11-18 · 2024-11-18 21:47 UTC
    查看更新说明

    Changelog for 0.27.10:

    Commits ab2c34bb34bd547f41df34d5fd83033642eaa6b6 Update vendor by @alexellis cfcd4f05ad3e9bfb73ca86790b7757c2a4317d8a Clarify EULA applies to this project since 2019 by @alexellis 49053feac7bc703dd58f9f52ea8f32cc6d0a8f2c Clarify EULA applies to this project since 2019 by @alexellis cf8741accae92d8a85a5f0cd800786c19f84997e Updates on CE README by @alexellis 37c02fde720e60beb8b8dc289f119b2c6c5374d4 Clarifications on what is included in OpenFaaS CE by @alexellis

    Changes: https://github.com/openfaas/faas/compare/0.27.9...0.27.10

    Generated by Derek

用户点评

登录用户的真实使用记录,可按版本和硬件筛选
共 0 条

    还没有人点评。第一个说出真实体验的人最有价值。

    README 原文

    未翻译

    OpenFaaS ® - Serverless Functions Made Simple

    Build Status go.dev reference OpenFaaS

    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."

    Follow @openfaas on X

    Highlights

    Want to dig deeper into OpenFaaS?

    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:

      "use strict"
      
      module.exports = async (event, context) => {
          return context
              .status(200)
              .headers({"Content-Type": "text/html"})
              .succeed(`
              <h1>
                  👋 Hello World 🌍
              </h1>`);
      }
      
      

      handler.js

    • Python 3 example (python3-http):

      def handle(event, context):
          return {
              "statusCode": 200,
              "body": "Hello from OpenFaaS!"
          }
      

      handler.py

    • Golang example (golang-middleware)

      package function
      
      import (
       	"fmt"
       	"io"
       	"net/http"
      )
      
      func Handle(w http.ResponseWriter, r *http.Request) {
          var input []byte
          
         	if r.Body != nil {
          		defer r.Body.Close()
          		body, _ := io.ReadAll(r.Body)
          		input = body
         	}
          
         	w.WriteHeader(http.StatusOK)
         	w.Write([]byte(fmt.Sprintf("Body: %s", string(input))))
      }
      

    Get started with OpenFaaS

    Official training resources

    View our official training materials

    Official eBook and video workshop

    eBook logo

    The founder of OpenFaaS wrote Serverless For Everyone Else to help developers understand the use-case for functions through practical hands-on exercises using JavaScript and Node.js. No programming experience is required to try the exercises.

    The examples use the faasd project, which is an easy to use and lightweight way to start learning about OpenFaaS and functions.

    Check out Serverless For Everyone Else on Gumroad

    OpenFaaS and Golang

    Everyday Go is a practical, hands-on guide to writing CLIs, web pages, and microservices in Go. It also features a chapter dedicated to development and testing of functions using OpenFaaS and Go.

    Community blog and documentation

    Quickstart

    OpenFaaS Community Edition UI

    Here is a screenshot of the OpenFaaS Community Edition UI which was designed for ease of use. The inception function is being run which is available on the in the store.

    Deploy OpenFaaS to Kubernetes, OpenShift, or faasd now with a deployment guide

    OpenFaaS Standard and OpenFaaS for Enterprises have their own, brand new dashboard with multi-tenancy support, learn more about the OpenFaaS Dashboard.

    Video presentations

    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.

    Contributing

    OpenFaaS Community Edition is written in Golang. All third-party contributions to the source code are made under the MIT license, additional restrictions apply to OpenFaaS CE as a whole, where contributions from OpenFaaS Ltd are licensed under the OpenFaaS CE EULA. Various types of contributions are welcomed whether that means providing feedback, testing existing and new feature or hacking on the source code.

    How do I become a contributor?

    Please see the guide on community & contributing

    Dashboards

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

    OpenFaaS Pro auto-scaling dashboard with Grafana

    OpenFaaS Pro auto-scaling dashboard with Grafana

    An alternative community dashboard is available here

    Press / Branding / Website Sponsorship

    • OpenFaaS for commercial and internal use

      OpenFaaS Pro (Standard and For Enterprises) is fully featured, supported, and built for production. The Community Edition (CE) is licensed for a 60-day Proof of Concept (PoC) and limited experimentation.

      Learn more about OpenFaaS editions

    • Website Sponsorship 🌎

      If you'd like to gain visibility by displaying your logon on the openfaas.com homepage, feel free to reach out via email or browse the tiers via GitHub Sponsors.

    • Press / Analysts

      Looking at these repositories for commit counts and activity? All public repositories are part of OpenFaaS CE, a limited version of OpenFaaS aimed at giving people a low-barrier trial experience without having to sign up with a credit card. OpenFaaS CE is maintained on a best effort basis, but is not "OpenFaaS" itself. All OpenFaaS product development is done in private repositories, and cannot be tracked by third parties or by simply browsing GitHub.

      How are GitHub Stars and Forks counted? OpenFaaS CE is not a mono-repo, you cannot simply look at one repository and say "ah that's the count" - statistics are gathered from the whole GitHub organisation.

    Governance

    OpenFaaS ® is an independent open-source project created by Alex Ellis, which is being built and shaped by a growing community of contributors.

    OpenFaaS is hosted by OpenFaaS Ltd (registration: 11076587), a company which also offers commercial services, homepage sponsorships, and support. OpenFaaS ® is a registered trademark in England and Wales.

    Users

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