Files
awesome-kubernetes/v2-docs/serverless.md

33 KiB
Raw Blame History

Serverless Architectures and Frameworks

!!! info "Architectural Context" Detailed reference for Serverless Architectures and Frameworks in the context of The Container Stack.

Standard Reference

Architecture Decisions

Comparisons

Containers vs Serverless

Kubernetes vs Serverless

Microservices vs Serverless

  • (2021) fathomtech.io: Microservices vs. Serverless 🌟🌟🌟 [COMMUNITY-TOOL] — Evaluates operational tradeoffs, deployment mechanics, and cost models between traditional containerized microservices and pure event-driven serverless architectures.

Cloud Architecture

AWS Solutions

Orchestration Decision

  • (2024) aws.amazon.com: Serverless or Kubernetes on AWS 🌟 [ADVANCED LEVEL] [GUIDE] 🌟🌟🌟🌟 [ENTERPRISE-STABLE] [GUIDE] — Architectural decision framework comparing AWS Serverless (Lambda, Fargate) with Kubernetes (EKS). Helps engineers select paradigms based on latency requirements, long-running processes, runtime dependencies, and overall operational overhead.

Comparative Systems

  • (2021) Is Serverless The End Of Kubernetes? [COMMUNITY-TOOL] — Evaluates the future of container orchestration versus FaaS models. Argues that serverless approaches do not replace Kubernetes; instead, they coexist through frameworks like Knative that run serverless control planes natively on top of Kubernetes clusters.

Microservices Strategy

Scalability

  • (2021) itnext.io: Scaling My App: Serverless vs Kubernetes 🌟 [COMMUNITY-TOOL] — A deep-dive technical comparison contrasting serverless scaling models against container orchestration platforms like Kubernetes. Breaks down cost efficiency, resource management overhead, cold starts, scale-to-zero capabilities, and developer productivity trade-offs.

Serverless

Event-Driven Systems

Fundamentals

  • (2018) martinfowler.com: Serverless Architectures [ADVANCED LEVEL] [COMMUNITY-TOOL] [GUIDE] — Martin Fowler's canonical analysis of serverless architectures. Compares Back-end-as-a-Service (BaaS) and Function-as-a-Service (FaaS) ecosystems, outlining core trade-offs regarding state management, horizontal scalability, operational costs, cold starts, security, and design complexity.

Migration Patterns

  • (2019) serverless.com: Why we switched from docker to serverless [CASE STUDY] [CASE STUDY] [COMMUNITY-TOOL] — An in-depth case study analyzing a migration journey from containerized environments on virtual hosts to a completely serverless FaaS architecture. Details lessons learned regarding dynamic scalability, deployment frequency, resource optimization, and cost savings.

Operational Cost

  • (2020) freecodecamp.org: Serverless is cheaper, not simpler [COMMUNITY-TOOL] — Challenges the popular industry narrative that serverless frameworks simplify system designs. While highlighting significant cost reductions, this case study warns about the operational complexities of distributed event routing, IAM configuration boundaries, and cold start mitigations.

Cloud Native

FaaS Basics

Definitions

Kubernetes Serverless

Apache OpenWhisk

  • (2026) openwhisk.apache.org [SCALA CONTENT] [ADVANCED LEVEL] 🌟🌟🌟🌟 [ENTERPRISE-STABLE] — An open-source distributed event-driven platform capable of executing discrete serverless logic. Utilizes container runtimes to isolate and invoke handlers in millisecond timelines.

Framework Comparisons

Knative

  • (2026) ==knative.dev== [GO CONTENT] [ADVANCED LEVEL] 🌟🌟🌟🌟🌟 [DE FACTO STANDARD] — The premier Kubernetes-native platform for serverless workloads. Offers enterprise-grade Serving (scale-to-zero, request-driven autoscaling) and highly decoupled Eventing models.

Knative Tooling

  • (2026) kn: knative client 385 [GO CONTENT] 🌟🌟🌟🌟 [ENTERPRISE-STABLE] — The official CLI client ('kn') for interacting with Knative installations, enabling rapid deployment of serving entities and management of decoupled event bindings.

Knative and API Gateways

OpenFaaS

  • (2026) ==OpenFaaS== [GO CONTENT] 🌟🌟🌟🌟🌟 [DE FACTO STANDARD] — An exceptionally popular, developer-friendly FaaS engine on Kubernetes. Features built-in auto-scaling, Prometheus metrics integration, and allows running any code in standard containers.
  • (2021) openfaas.com: Learn how to build functions faster using Rancher's kim and K3s [ADVANCED LEVEL] 🌟🌟🌟🌟 [ENTERPRISE-STABLE] — Shows how to accelerate development loops by leveraging Rancher's kim builder along with K3s to compile, load, and deploy OpenFaaS functions without external registries.
  • (2020) itnext.io: Deploy your first Serverless Function to Kubernetes 🌟🌟🌟🌟 [ENTERPRISE-STABLE] [GUIDE] — A step-by-step developer tutorial showing how to install, test, and expose your first OpenFaaS serverless function inside a local Kubernetes testing cluster.
  • (2021) xenonstack.com: Serverless Architecture with OpenFaaS and Java [JAVA CONTENT] 🌟🌟🌟 [COMMUNITY-TOOL] [GUIDE] — Evaluates using JVM workloads within OpenFaaS, detailing compilation strategies, framework footprint reduction, and optimizing startup latency for container pods.

OpenFunction

Microservice Runtimes

Dapr

  • (2022) Building microservices? Give Dapr a try 🌟🌟🌟🌟 [ENTERPRISE-STABLE] — A deep analysis of Dapr's capabilities, detailing how its service abstraction layer accelerates microservice software delivery while avoiding tight coupling to infrastructure providers.

Serverless (1)

Advanced Best Practices

Anti-patterns

  • (2020) serverlesshorrors.com 🌟 🌟🌟🌟🌟 [ENTERPRISE-STABLE] — An open community catalog detailing critical serverless horror stories, execution loops, cold-start bottlenecks, and configuration mistakes to help engineers avoid similar traps.

CI-CD

Case Studies

Design Patterns

Ecosystem Landscapes

Enterprise Strategy

  • (2022) serverlessguru.com: Enterprise Serverless Adoption 🌟 🌟🌟🌟🌟 [ENTERPRISE-STABLE] [LEGACY] — Explores the organizational strategies, cultural shifts, and governance models required to successfully integrate serverless execution engines into legacy enterprise architectures.

Operational Guides

  • (2021) docs.google.com: Serverless Guide to Success 2021 🌟🌟🌟🌟 [ENTERPRISE-STABLE] — This document acts as an operational blueprint offering tactical patterns for adoption, cost estimation, and lifecycle management within serverless paradigms. It bridges the gap between basic functions and enterprise execution strategies.

Scaling Paradigms

Visual Architectures

  • (2021) itnext.io: Kubernetes Serverless simply visually explained 🌟 🌟🌟🌟🌟 [ENTERPRISE-STABLE] — A highly effective visual analysis demonstrating how serverless execution frameworks integrate natively with Kubernetes primitives. It clearly highlights pod autoscaling dynamics and container lifecycle abstractions.

Serverless Platforms

Azure Functions

  • (2021) c-sharpcorner.com: Why and When to use Azure Functions 🌟🌟🌟 [COMMUNITY-TOOL] — Investigates architectural use-cases, pricing models, and trigger mechanisms for Azure Functions. Focuses on integrating event-driven execution patterns with enterprise dotnet ecosystems.

Cost Optimization

Frameworks

  • (2026) ==serverless.com: Serverless Framework== [JAVASCRIPT CONTENT] 🌟🌟🌟🌟🌟 [DE FACTO STANDARD] — The premier multi-provider IaC wrapper for packaging and deploying serverless applications. Standardizes function definitions, network triggers, and permission models.

Cloud-Native

Application Runtime

Dapr (1)

  • (2021) versusmind.eu: Dapr - a serverless runtime for distributed applications 🌟 🌟🌟🌟 [COMMUNITY-TOOL] — Comprehensive architecture guide detailing how the Distributed Application Runtime (Dapr) decouples microservice applications from infrastructure using the sidecar pattern. Covers state management, service invocation, and pub/sub. Curator insight values its portability, while live 2026 grounding shows Dapr is a mature CNCF graduated project and a key enabler for multi-cloud application portability.

Dapr Deployment

  • (2021) developers.redhat.com: Build and deploy microservices with Kubernetes and Dapr [ADVANCED LEVEL] [GUIDE] 🌟🌟🌟🌟 [ENTERPRISE-STABLE] [GUIDE] — Detailed technical guide for building and running Dapr-enabled microservices on Red Hat OpenShift and vanilla Kubernetes. Focuses on setting up sidecars and microservices configurations. Current 2026 engineering practices validate this approach for enterprise Java/Node architectures looking to offload ingress, telemetry, and security concerns to the runtime.
  • (2021) dev.to: Running Dapr on Kubernetes 🌟🌟🌟 [COMMUNITY-TOOL] — Hands-on walkthrough detailing the installation and runtime operations of Dapr inside a Kubernetes cluster. Highlights initial configuration, Helm chart usages, and basic validation. While ideal for local developers sandbox validation, 2026 infrastructure paradigms prioritize declarative GitOps (e.g., Argo CD) for deploying Dapr components in production.

Orchestration and Workflow

Dapr Workflows

  • (2023) github.com/diagrid-labs/dapr-workflow-demos 62 [GO CONTENT] [ADVANCED LEVEL] 🌟🌟🌟🌟 [ENTERPRISE-STABLE] — Repository showcasing the capabilities of the Dapr Workflow engine, enabling developers to build stateful orchestrations directly in application code. Curator insights point out its lightweight nature compared to heavy workflow engines. Live 2026 validation indicates Dapr Workflow is widely deployed for low-latency orchestrations.

Serverless (2)

AWS Integration

  • (2020) thenewstack.io: Build a Serverless API with AWS Gateway and Lambda 🌟🌟🌟 [COMMUNITY-TOOL] — Architectural breakdown of building serverless APIs using AWS API Gateway and Lambda functions. It addresses routing, API security, and AWS integrations. While the foundational principles remain sound in 2026, modern enterprise patterns have heavily adopted container-packaged Lambdas (OCI) over raw zip deployments for complex API backends.

Event-Driven

  • (2020) thenewstack.io: TriggerMesh: Open Sourcing Event-Driven Applications [ADVANCED LEVEL] 🌟🌟🌟 [COMMUNITY-TOOL] — Strategic overview of TriggerMesh's transition to open-source event-driven application integration utilizing Knative. Curator insights focus on its multi-cloud connectivity. Live 2026 grounding shows that although TriggerMesh underwent corporate restructuring and licensing shifts, its codebase remains a key reference for cloud-native integration paradigms.

Enterprise Kubernetes

OpenShift

OpenShift Serverless

OpenShift Serverless Integration

Serverless Workflows

Event Driven Architecture

Data Processing

Batch vs Streaming

  • (2023) serverlessland.com: BATCH PROCESSING VS EVENT STREAMING 🌟🌟🌟🌟 [ENTERPRISE-STABLE] — A clear comparative analysis detailing when to leverage high-throughput batching against real-time low-latency event streaming patterns. Crucial for designing data pipeline boundaries.

Design Patterns (1)

Enterprise Integration Patterns

  • (2023) serverlessland.com: Splitter pattern 🌟🌟🌟🌟 [ENTERPRISE-STABLE] — Examines the Enterprise Integration Pattern (EIP) of splitting a single composite payload into individual records for decoupled and parallel execution inside event pipelines.

Fundamentals (1)

Concepts

Visuals

  • (2023) ==serverlessland.com: EDA VISUALS 🌟🌟🌟== 🌟🌟🌟🌟🌟 [DE FACTO STANDARD] [GUIDE] — A curated collection of visual explanations covering event-driven mechanics. Helps developers visually digest routing, choreographies, and filtering topologies.

Infrastructure as Code

Serverless Integration

Hybrid Automation

  • (2019) theburningmonk.com: Making Terraform and Serverless framework work together [HCL CONTENT] [ADVANCED LEVEL] 🌟🌟🌟🌟 [ENTERPRISE-STABLE] — A classic, influential case study analyzing the architecture of combining HashiCorp Terraform (for heavy resources like VPCs, databases, IAM) with Serverless Framework (for ephemeral Lambdas). Explores state output handoffs, parameter store structures, and pipeline coordination protocols. Live grounding confirms that while newer tools have merged these functions, this division of labor remains highly performant and stable.

💡 Explore Related: Kubernetes Operators Controllers | Kubernetes Storage | Docker