Back to Portfolio
8 Chapters Code-Centric Open Source

OpenFaaS: How, Why, and Where in Code

An AI-first, code-centric tutorial on OpenFaaS — the Kubernetes-native serverless framework. Each chapter explores the internal mechanics of the OpenFaaS Gateway, showing not just what components do, but how and why they work at the source-code level.

OpenFaaSOpenFaaS KubernetesKubernetes GoGo PrometheusPrometheus

8 Chapters

Each chapter is a standalone learning module. Start from Chapter 1 or jump to any topic.

Why This Tutorial?

Code-First

Every concept is anchored to actual Go source code in the OpenFaaS Gateway repository. You learn not just what, but how and where in the codebase.

Architecture-Driven

Chapters follow the request lifecycle — from Gateway startup through configuration, API routing, middleware, handler invocation, and scaling decisions.

Kubernetes-Native Context

Learn serverless computing in the context of modern Kubernetes environments, CRDs, and cloud-native observability tooling.

Getting Started

Prerequisites

  • Basic understanding of Kubernetes and serverless concepts
  • Familiarity with Go programming language
  • Access to a Kubernetes cluster (MicroK8s or kind works)

Clone Repository

Get all chapters and source references:

git clone https://github.com/SidAg26/
OpenFaaS-How-Why-and-Where-in-Code.git

Recommended Path

  • Begin with Chapter 1 (Gateway Application) for foundational context
  • Proceed sequentially — each chapter builds on the previous
  • Jump to Chapter 6 or 8 for scaling/observability deep-dives