Notes / Kubernetes

Kubernetes

158 notes

Overview

Kubernetes

If this were a book, this page is the table of contents. Each Part below is a chapter; each chapter links out to the concepts, designs, and platform notes that already exist elsewhere in this wiki instead of duplicating them. Unwritten chapters are listed as stub entries, not empty files.

Parts

00 — Cloud Native Foundations

The container and OCI fundamentals underneath every later Part — why Kubernetes exists as a reaction to the operational pain of running containers at scale, and the control-plane/API object model everything else in this book builds on.

01 — Kubernetes Core Objects

The primitives every workload is built from — Pods up through Deployments, StatefulSets, DaemonSets, and the namespace/resource boundaries that scope them. See Patterns → Kubernetes Patterns for the design patterns layered on top of these objects rather than re-deriving them here.

02 — Configuration & Application Development (CKAD)

Application-facing configuration and health-signaling — ConfigMaps/Secrets, the Downward API, probes, and multi-container composition patterns. See Patterns → Sidecar for the sidecar pattern in depth rather than re-deriving it here.

03 — Scheduling & Cluster Management (CKA)

How the scheduler places Pods and how cluster operators steer that placement — affinity, taints/tolerations, priority, and the lifecycle operations (maintenance, upgrades) that keep a cluster healthy.

04 — Kubernetes Networking

The network model from CNI up through Services, Ingress, Gateway API, and NetworkPolicy. See System Design → Service Mesh for the general mesh pattern; this Part’s Service Mesh chapter covers running one operationally inside a cluster instead of re-deriving the pattern.

05 — Storage

Persistent storage — Volumes, PVs/PVCs, StorageClasses, and the CSI driver model that backs stateful workloads.

06 — Authentication & Authorization (CKA + CKS)

Who can talk to the API server and what they’re allowed to do — authentication, RBAC, service accounts, and admission control as the first security boundary.

07 — Kubernetes Security (CKS Core)

Node- and pod-level isolation mechanisms — Pod Security Standards, security contexts, seccomp/AppArmor/SELinux, Linux capabilities, and sandboxed runtimes (gVisor, Kata) for stronger tenant isolation.

08 — Supply Chain Security (CKS)

Everything upstream of runtime — image provenance, signing (Sigstore/Cosign), SBOM and vulnerability scanning, and policy enforcement at admission time.

09 — Runtime Security (CKS)

Detecting and responding to compromise after a workload is already running — Falco/eBPF-based detection, audit logging, and the incident-response/forensics workflow specific to a Kubernetes cluster.

10 — Observability

Kubernetes-native signals — logging, Events, kubectl-based debugging, and production troubleshooting workflows.

11 — Kubernetes Internals (MAANG)

Control-plane mechanics at the depth MAANG L6/L7 interviews probe — scheduler, controller-manager, kubelet, etcd, and API server internals, plus admission webhooks and aggregated APIs.

12 — Platform Engineering

Kubernetes-native delivery tooling — Helm, Kustomize, Argo CD, Flux, and building your own operator.

13 — Multi-Cluster & Cloud

Running Kubernetes across managed providers and multiple clusters — AKS/EKS/GKE trade-offs, Cluster API, and multi-region/hybrid topologies.

14 — Performance & Scalability

Scaling a cluster and the workloads on it — HPA/VPA/Cluster Autoscaler/Karpenter, scheduler and network/storage performance, and design considerations at thousands of nodes.

15 — Production Architecture

Running Kubernetes as durable production infrastructure — HA, DR, backup/restore, multi-tenancy, cost, and the anti-patterns and failure modes that show up at scale. See SRE → Disaster Recovery Patterns for the cross-system DR framing this Part applies to Kubernetes specifically.

16 — MAANG System Design

Kubernetes as a building block in distributed-systems interviews — running it under thousands of microservices, AI/ML and event-driven platforms, and designing a control plane at scale. See System Design → Kubernetes Control Plane for a full worked case study rather than re-deriving one here.

17 — Certification Preparation

Objectives, hands-on labs, and mock-exam tracking for CKAD, CKA, and CKS — the practice layer over the knowledge chapters above.

18 — Interview Mastery

Turning the book above into interview performance — design and troubleshooting questions, internals deep-dives, incident walkthroughs, and a final revision pass.

Coverage Mapping

ObjectiveParts (this book)
CKAD00–05, 17 (CKAD section)
CKA00–12, 14, 17 (CKA section)
CKS06–09, 17 (CKS section)
MAANG L6/L711–18

Metadata

AuthorAmit Singh
Scopekubernetes
View as page →