Skip to main content

OpenFaaS

  • openfaas/faas - Deploy event-driven functions and microservices to Kubernetes without repetitive, boiler-plate coding.

PLONK Stack

Cloud Native stack for building applications:

  • Prometheus - metrics and time-series
  • Linux/Linkerd - OS or service mesh (Linkerd is optional)
  • OpenFaaS - management and auto-scaling of compute
  • NATS - asynchronous message bus / queue
  • Kubernetes - declarative, extensible, scale-out clustering

faasd

faasd is a light-weight option for adopting OpenFaaS on a single host, removing the need for complex infrastructure.

Installation

helm repo add openfaas https://openfaas.github.io/faas-netes/
helm pull openfaas/openfaas --untar

Configuration (部署说明)

  • 支持 OAuth - 默认不部署
  • 部署空间: openfaas-fn
  • faas-netes: OpenFaaS on Kubernetes implementation (openfaas/faas-netes).
  • Operator: CRD management (openfaas/faas-netes).
  • queue-worker: NATS worker (openfaas/queue-worker).
  • Prometheus: Monitoring (prom/prometheus).
  • Alertmanager: Alerting (prom/alertmanager).
  • NATS: Message bus (nats-streaming).
  • ingress-operator: Ingress management (openfaas/ingress-operator).
  • faas-idler: Scale-to-zero function (openfaas/faas-idler).

Note: 默认不配置 Ingress.

Architecture