Mode:
Duration:
1
Coding works best on desktop or with an external keyboard.
Coding works best on desktop or with an external keyboard.
Specify CPU and memory limits for an OpenFaaS function.
# openfaas/demo/resources.yml
provider:
name: openfaas
gateway: http://127.0.0.1:8080
functions:
resource-demo:
lang: python3
handler: ./handler
limits:
memory: "128Mi"
cpu: "500m"
image: resource-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.