selfhost.directory

The index of self-hostable projects — ranked, categorized and served with live updates.
Own your data and stop giving it to big tech.

faas logo

Self-host faas

0.27.13

Serverless functions and microservices on Kubernetes

BetaSource AvailableMIT
curl -SLsf https://get.arkade.dev/ | sudo sh
Updated4 months ago
LanguageGo
Setup difficultyAdvanced
Stars
26 254
Port
8080 (Gateway service: REST API, web portal and /function routes (chart default NodePort is 31112, commonly reached with kubectl port-forward 8080:8080))
Requires
Kubernetes
Docker
ghcr.io/openfaas/gateway
faas screenshot 1faas screenshot 2faas screenshot 3faas screenshot 4faas screenshot 5faas screenshot 6

What is faas?

faas alternatives

All self-hosted alternatives to AWS Lambda →

Should you self-host faas?

faas scores 67/100 on selfhost.directory (how scoring works) and ranks #2 of 7 in Serverless. It has 26 254 GitHub stars, +4 in the last 30 days.

It shipped 1 stable release in the past year. The latest, 0.27.14, came out on 2 July 2026.

Setup is advanced: plan for several services and some ongoing maintenance. An official Docker image is available. It is MIT-licensed and written mostly in Go.

Its closest alternative on selfhost.directory is trigger (76/100, 16 730 stars). It scores higher overall, so compare the two before you pick. See faas vs trigger side by side.

Features

  • Async invocation and background processing
  • Auto ScalingCE: Basic autoscaling up to 5/5 replicas. RPS/Capacity/CPU/RAM/custom rules are Pro features.
  • CLIProvided by the companion faas-cli project.
  • Custom domains per function
  • Event-driven triggersCE lists the cron trigger only; Kafka, RabbitMQ, GCP Pub/Sub, Postgres and AWS SNS/SQS connectors are Pro.
  • Function store
  • Language templates
  • Metrics and observability
  • OCI image packaging
  • REST API
  • Scale to ZeroCommercial editions only (Standard and above); CE does not include the autoscaler.
  • Single sign-on with OIDCOpenFaaS for Enterprises tier only (the oidcAuthPlugin chart component is Pro/Enterprise).

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

How to install faas

Install faas with Kubernetes

a Kubernetes cluster with full access to the Internet at all times
Environment variables
OPENFAAS_URL
Install OpenFaaS Community Edition (CE) via arkade or helm

Get arkade

# For MacOS / Linux:
curl -SLsf https://get.arkade.dev/ | sudo sh
# For Windows (using Git Bash)
curl -SLsf https://get.arkade.dev/ | sh

Install the OpenFaaS app

arkade install openfaas-ce

Access the gateway and log in:

# Forward the gateway to your machine
kubectl rollout status -n openfaas deploy/gateway
kubectl port-forward -n openfaas svc/gateway 8080:8080 &
# If basic auth is enabled, you can now log into your gateway:
PASSWORD=$(kubectl get secret -n openfaas basic-auth -o jsonpath="{.data.basic-auth-password}" | base64 --decode; echo)
echo -n $PASSWORD | faas-cli login --username admin --password-stdin
faas-cli store deploy nodeinfo
faas-cli list

A helm chart is also provided: OpenFaaS Helm chart, and the chart can be installed with GitOps tooling such as ArgoCD or Flux.

The chart bundles NATS, Prometheus, the gateway and the queue-worker. CE needs the cluster to have full Internet access; air-gapped installs require OpenFaaS Standard.

How to configure faas

  • functionNamespaceopenfaas-fnDefault namespace for functions
  • openfaasProfalseEnable OpenFaaS Pro components; a purchased license is required

    values: true / false

  • httpProbetrueUse HTTP for readiness and liveness probes on the OpenFaaS core components

    values: true / false

  • clusterRolefalseGrant a cluster role for CPU/RAM metrics in the OpenFaaS API and multiple-namespace support

    values: true / false

  • createCRDstrueCreate the Function/Profile CRDs, disable if managed another way

    values: true / false

faas releases & version history

@ Every self-hosted release, weekly

One Monday email with the week's stable releases across the directory.

Rate this project

Click to rate — no account needed.

0 comments

Posting as guest
Loading comments…