Skip to main content

Menu

LEVEL 0
0/5 XP
HomeAboutTopicsPricingMy VaultStats

Categories

πŸ€– Artificial Intelligence
☁️ Cloud and Infrastructure
πŸ’Ύ Data and Databases
πŸ’Ό Professional Skills
🎯 Programming and Development
πŸ”’ Security and Networking
πŸ“š Specialized Topics
HomeAboutTopicsPricingMy VaultStats
LEVEL 0
0/5 XP
GitHub
Β© 2026 CheatGridβ„’. All rights reserved.
Privacy PolicyTerms of UseAboutContact

Knative Serverless on Kubernetes Cheat Sheet

Knative Serverless on Kubernetes Cheat Sheet

Back to Containers Orchestration
Updated 2026-05-22
Next Topic: Kubernetes Cheat Sheet

Knative is a CNCF-graduated open-source platform built on Kubernetes that adds serverless primitives β€” automatic scaling, traffic management, and event-driven messaging β€” to any cluster. It solves the gap between raw Kubernetes and managed FaaS platforms by giving teams cloud-run-style developer ergonomics without vendor lock-in. The key mental model is that Knative Serving manages how workloads run (revisions, scale-to-zero, traffic routing), while Knative Eventing manages what triggers them (CloudEvents, sources, brokers, and triggers); the two components are independent and can be deployed separately.

What This Cheat Sheet Covers

This topic spans 18 focused tables and 122 indexed concepts. Below is a complete table-by-table outline of this topic, spanning foundational concepts through advanced details.

Table 1: Knative Serving Core Resources (CRDs)Table 2: Knative Serving Architecture ComponentsTable 3: Autoscaling β€” KPA vs HPATable 4: KPA-Specific Autoscaler TuningTable 5: Traffic Management and Deployment PatternsTable 6: Networking and Ingress LayersTable 7: Cold-Start Mitigation StrategiesTable 8: Knative Eventing Overview and Delivery ModelsTable 9: CloudEvents SpecificationTable 10: Eventing SourcesTable 11: Eventing Flows β€” Sequence and ParallelTable 12: Event Delivery Failure HandlingTable 13: kn CLI and func CLI WorkflowsTable 14: Knative Functions β€” Runtimes and BuildingTable 15: Managed Knative OfferingsTable 16: Observability and MonitoringTable 17: Knative vs OpenFaaS vs Fission β€” ComparisonTable 18: Common Pitfalls and Gotchas

Table 1: Knative Serving Core Resources (CRDs)

The four primary Custom Resource Definitions of Knative Serving define the full lifecycle of a serverless workload. Understanding how Service, Configuration, Route, and Revision relate to each other is the foundation for everything else in Knative.

ResourceExampleDescription
Service
apiVersion: serving.knative.dev/v1
kind: Service
metadata:
name: hello
spec:
template:
spec:
containers:
- image: ghcr.io/knative/helloworld-go:latest
β€’ Top-level CRD that automatically manages a Route and Configuration together
β€’ every update creates a new Revision
Configuration
kind: Configuration
spec:
template:
spec:
containers:
- image: myapp:v2
β€’ Maintains the desired state for a deployment following Twelve-Factor principles
β€’ each mutation produces a new immutable Revision
Revision
kubectl get revisions
# hello-00001, hello-00002
β€’ Point-in-time snapshot of code and configuration
β€’ immutable, auto-scaled individually, retained for rollback or traffic splitting

More in Containers Orchestration

  • KEDA Event-Driven Autoscaling Cheat Sheet
  • Kubernetes Cheat Sheet
  • Argo Rollouts and Progressive Delivery Cheat Sheet
  • Container Debugging & Troubleshooting Cheat Sheet
  • Container Storage and Persistent Volumes Cheat Sheet
  • Helm Cheat Sheet
View all 38 topics in Containers Orchestration