Mode:
Duration:
1
Coding works best on desktop or with an external keyboard.
Coding works best on desktop or with an external keyboard.
Apply deployment constraints to schedule functions on specific nodes.
# openfaas/demo/constraints.yml
provider:
name: openfaas
gateway: http://127.0.0.1:8080
functions:
constraint-demo:
lang: python3
handler: ./handler
constraints:
node.role == worker
image: constraint-demo:latestOpenFaaS (Functions as a Service) is an open-source serverless framework for building and deploying functions or microservices with Docker and Kubernetes. It focuses on simplicity, portability, and scaling workloads automatically.
Origin & Creator
OpenFaaS was created by Alex Ellis and first released in 2016.
Industrial Note
OpenFaaS is ideal for cloud-native teams and DevOps engineers who need serverless compute without vendor lock-in, with support for containers and multiple orchestrators.