Learning home › Kubernetes 8 + 1 Hour · 中文

Kubernetes 8 + 1 Hour Interactive Crash Course

For Senior Cloud Engineers · From beginner to applying Kubernetes independently in production · 8 lessons × 1 hour · 8 modules per hour, 10 pages per module
Kubernetes v1.37.1kubectl 1.37kind v0.33.0Gateway API v1.6Helm 4.3AKS 1.37 GAVerified on 2026-11-15
Learning path: Docker 8 hours (prerequisite)→ ① Architecture and Core Objects→ ② Workloads and Scheduling→ ③ Networking→ ④ Storage→ ⑤ Security→ ⑥ Production Operations: Scaling, Upgrades and Troubleshooting→ ⑦ Kubernetes on AWS (EKS)→ ⑧ Extending Kubernetes: CRDs, Operators and Service Meshes→ ⑨ Production Problems and Interview Questions (optional)→ Next course: Terraform 8 hours

8 lessons

Hour 1Architecture and Core ObjectsDeclarative model and control loops, control plane and node components, kubectl and API objects, Pods, the full journey of an apply, labels and selectors, Deployments, Service basicsPrerequisite: Docker basics · Lab: three-node kind cluster
Hour 2Workloads and Schedulingrequests/limits and QoS, probes and graceful termination, ConfigMap/Secret, rollout strategies and PDBs, StatefulSet, DaemonSet, Job/CronJob, scheduling constraintsPrerequisite: hour 1 · Lab: making the shop app production-ready
Hour 3NetworkingNetwork model and CNI, kube-proxy (nftables/iptables; ipvs is deprecated), CoreDNS, LoadBalancer, Ingress and the retirement of ingress-nginx, Gateway API v1.6, NetworkPolicyPrerequisite: hours 1–2 · Lab: Gateway + canary + zero-trust networking
Hour 4Storage and Stateful ApplicationsVolume types, PV/PVC/StorageClass, CSI and Azure Disk/Files, access modes and topology, expansion/snapshots/cloning, PostgreSQL StatefulSet, Velero backup and restorePrerequisite: hours 1–3 · Lab: kind + optional AKS
Hour 5Security and Multi-TenancyAuthentication, RBAC, ServiceAccounts and Workload Identity, Pod Security Standards, securityContext, ValidatingAdmissionPolicy, Secret encryption and Key Vault, quotas and auditingPrerequisite: hours 1–4 · Lab: team tenant baseline
Hour 6Production Operations: Scaling, Upgrades and TroubleshootingDelivery toolchain overview (Helm / Kustomize / GitOps), HPA/VPA and node scaling, observability and kubectl debug, node pressure eviction and node shutdown, cluster upgrades, etcd and certificate operations overview, AKS / EKS / GKE comparison, overall troubleshooting decision treePrerequisite: hours 1–5 · Lab: 6-hour capstone lab
Hour 7Kubernetes on AWS (EKS)EKS architecture and Auto Mode, VPC CNI and IP planning, access entries and Pod Identity, AWS Load Balancer Controller, EBS/EFS CSI, Karpenter and Spot, upgrades and operations, EKS troubleshootingPrerequisite: hours 1–6 · AWS account · Lab: deploy shop on an eksctl cluster
Hour 8Extending Kubernetes: CRDs, Operators and Service MeshesAPI extension mechanisms, CRD schemas and versions, CEL validation, controllers and reconcile loops, writing an Operator with kubebuilder, OLM and choosing existing Operators, service meshes (sidecar and ambient), Istio traffic management and mTLS
Hour 9 · Optional50 Production Problems + 50 Interview QuestionsCommon failures and fixes in scheduling and workloads, networking and traffic, storage configuration and security, upgrades, scaling and cloud platforms; 50 interview questions (including AKS/EKS comparison and scenario design) and a mock interviewPrerequisite: first 8 hours or equivalent experience · Good for CKA/CKAD interview prep

The progress bars on the cards show the learning progress each lesson saves in this browser (hidden if the browser blocks local storage).

Full outline and time allocation (8 × 1 hour + optional Hour 9)

Hour / ModuleTimeTopicKey conceptsAnimation / InteractiveHands-on lab
Hour 1 · Architecture and Core Objects (Open)
1-0Before classEnvironment setupAzure VM / local Docker, kubectl 1.37, kind v0.33.0—Create a kind cluster with 1 control plane + 2 workers
1-100–06Why KubernetesDeclarative configuration, desired state, control loops, self-healing; comparison with Compose, ACA and ECSControl loop rebuilds PodsDelete a Pod and watch it self-heal
1-206–14Cluster architectureapiserver, etcd, scheduler, controller-manager, kubelet, kube-proxy, containerd/CRI, CNIHub-and-spoke watch relationshipscrictl, static Pods, /readyz
1-314–21kubectl and API objectskubeconfig, GVK/GVR, explain, output formats, dry-run, diff, -v=8YAML field explainerCall the REST API directly with kubectl proxy
1-421–29Podpause container, multi-container Pods, init containers, native sidecars (GA in 1.33), phase and container statesPod lifecycle state machineCreate and diagnose ImagePullBackOff / CrashLoopBackOff
1-529–36The full journey of an applyAuthentication → authorization → admission → etcd → controller → scheduler → kubelet → CRI → CNI; SSA10+ step request-flow animationserver-side apply, events, managedFields
1-636–42Namespace · Label · SelectorScope, recommended labels, equality and set-based selectors, field selectorsChange a label to detach a Pod from its ReplicaSetLabel operations
1-742–51Deployments and ReplicaSetsRollingUpdate/Recreate, rollout history/undo, change-causeRolling updates: tune maxSurge/maxUnavailableUpgrade, stuck rollout, rollback
1-851–60Service basics and troubleshootingClusterIP/NodePort, EndpointSlice, DNS, port-forwardBasic troubleshooting decision treeExpose the api and troubleshoot
Hour 2 · Workloads and Scheduling (Open)
2-100–07requests/limits and QoScgroup v2, CPU throttling vs OOMKill, QoS classes, in-place resize (GA in 1.35)Throttling vs OOM simulatorReproduce OOMKilled, resize resources live
2-207–15Probes and graceful terminationliveness/readiness/startup, termination sequence, preStopTermination timeline raceZero-downtime rolling update
2-315–22ConfigMaps and Secretsenv/volume injection, hot-reload differences, immutable, imagePullSecretsCompare which updates take effectExternalized config and rollouts
2-422–30Advanced rollout strategiesmaxSurge/maxUnavailable calculation, blue-green, canary, PDBBlue-green / canary interactiveBlue-green cutover
2-530–37StatefulSetStable identity, headless Services, volumeClaimTemplates, partitionOrdered creation and batched updatesDeploy postgres
2-637–42DaemonSetOne per node, tolerating control-plane taints, update strategy—Node agent
2-742–49Job and CronJobcompletions/parallelism, backoffLimit, Indexed, timeZone, concurrencyPolicy—Database backup CronJob
2-849–60SchedulingAffinity/anti-affinity, taint tolerations, topology spread, priority and preemption, drainScheduler filtering + scoringSpread replicas across nodes, drain drill
Hour 3 · Networking (Open)
3-100–07Network model and CNIFour requirements, veth/bridges, overlay vs routing, CNI ADDCross-node packet pathInspect Pod networking
3-207–15Service deep divekube-proxy nftables/iptables (ipvs is deprecated and expected to be disabled by default in v1.40), EndpointSlice, trafficDistributionDNAT load balancingInspect nft / iptables rules
3-315–21CoreDNSsearch/ndots, headless, SRV, ExternalName, NodeLocal DNSndots query expansiondig for each record type
3-421–28LoadBalancercloud-controller-manager, externalTrafficPolicy, source IPCluster vs Local comparisoncloud-provider-kind
3-528–34Ingress and its retirementIngress API is still GA; ingress-nginx archived 2026-03; ingress2gateway 1.0—Ingress → Gateway conversion
3-634–44Gateway API v1.6Role model, HTTPRoute matching/filters/weights, ReferenceGrant, TCP/UDPRouteRoute matching simulatorPath routing + 90/10 canary
3-744–52NetworkPolicyDefault allow, default deny, allow DNS, namespaceSelectorConnectivity matrixShop zero-trust network
3-852–60Network troubleshootingLayered troubleshooting, netshoot, common errorsNetwork troubleshooting decision treeFault injection
Hour 4 · Storage and Stateful Applications (Open)
4-100–07Volume basicsemptyDir, projected, hostPath risks, ephemeral volumesData path simulatorVolume type comparison
4-207–15PV · PVC · StorageClassDynamic provisioning, binding, reclaimPolicy, WaitForFirstConsumerProvisioning → binding → mount timingDynamic PVC
4-315–22CSI and Azure Diskscontroller/node plugins, sidecars, Azure Disk/Files CSICSI gRPC call chainAKS disks (optional)
4-422–29Access modes and topologyRWO/ROX/RWX/RWOP, zone topology, Retain/DeleteScenario matching—
4-529–36Expansion · snapshots · cloningOnline expansion, VolumeSnapshot, dataSource—Expansion and snapshot restore
4-636–46PostgreSQL in practicevolumeClaimTemplates, retention policy, fsGroup, Operator vs managed serviceRelationship between replicas and PVCsData persistence check
4-746–53Velero backup and restoreBSL, CSI snapshots, Kopia filesystem backup, hooksBackup / restore flowMinIO + Velero
4-853–60Storage troubleshootingPending, Multi-Attach, FailedMount, permissions, finalizersStorage troubleshooting decision treeReproduce the fault
Hour 5 · Security and Multi-Tenancy (Open)
5-100–07AuthenticationX.509, SA tokens, OIDC, kubelogin, CSR APIauthn → authz → admission chainIssue a user certificate
5-207–15RBACRole/Binding, dangerous permissions, can-i, aggregated rolesRBAC decision simulatorTeam least privilege
5-315–22ServiceAccounts and Workload IdentityProjected tokens, TokenRequest, AKS Workload IdentityToken exchange flowAKS reads Key Vault (optional)
5-422–29Pod Security StandardsPrivileged/Baseline/Restricted, PSA labelsField → level decisionMove shop to restricted
5-529–36securityContextNon-root, read-only root filesystem, drop ALL, seccomp, user namespaces—Harden podinfo
5-636–44Admission controlVAP (CEL), MAP, webhook risks, Kyverno/GatekeeperAdmission chain animationBlock :latest and containers without limits
5-744–52Secret securityetcd encryption, KMS v2, Secrets Store CSI, External SecretsEncrypted read/write flowVerify etcd encryption
5-852–60Multi-tenancyResourceQuota, LimitRange, audit logs, hard isolation optionsPermission troubleshooting decision treeAudit verification
Hour 6 · Production Operations: Scaling, Upgrades and Troubleshooting (Open)
6-100–06Delivery toolchain overviewRoles and combinations of Helm, Kustomize and GitOps; a minimal overlay and helm install; pull-based reconciliationComparison of three delivery pathsDeploy the same api once with apply -k and once with Helm
6-206–14AutoscalingHPA v2 (scale-to-zero is Beta in 1.37), VPA, KEDA, CA / Karpenter / NAPHPA calculation loopScaling under load test
6-314–22ObservabilityMetrics / logs / events, kube-prometheus-stack, kubectl debugAlert investigation pathEphemeral container debugging
6-422–29Reliability: eviction and node shutdownEviction signals and thresholds, ranking rules, graceful vs non-graceful shutdown, six termination pathsEviction ranking simulatoremptyDir over-limit eviction; Eviction API vs delete
6-529–37Upgrades and maintenanceVersion skew, deprecated APIs, drain + PDBs, AKS upgrade channels and maintenance windowsNode pool rolling upgradeNode pool upgrade
6-637–43Control plane operations overviewetcd quorum, snapshots and restore, certificate validity and renewalBackup and restore demokind snapshot restore drill
6-743–51Managed cluster comparisonAKS / EKS / GKE responsibility boundaries, networking, identity, upgrades and scalingThree-platform comparisonaks-lab read-only health check
6-851–60Overall troubleshooting decision treeSummary of the 6-hour troubleshooting methods, runbooks and postmortemsLarge-scale troubleshooting decision treeFault injection drill
Hour 7 · Kubernetes on AWS (EKS) (Open)
7-0Before classAWS setupAWS CLI v2, eksctl, IAM permissions and cost estimate——
7-100–07EKS architecture and selectionManaged node groups / Fargate / Auto Mode, compared with AKS—Create a cluster with eksctl
7-207–15Networking: VPC CNIPods use VPC IPs, ENIs and IP limits, prefix delegation, Security Groups for PodsHow VPC CNI allocates IPsReproduce IP exhaustion
7-315–23IdentityAccess entries, EKS Pod Identity and IRSAPod Identity credential flowPod accesses S3
7-423–31TrafficAWS Load Balancer Controller (ALB/NLB), Gateway API—ALB Ingress
7-531–38Storage and secretsEBS / EFS CSI, Secrets Manager—EBS persistent volumes
7-638–46Autoscaling and costKarpenter, Auto Mode, Spot, node consolidation—Scale-out load test
7-746–53Upgrades and operationsVersion support window, managed add-ons, Container Insights / AMP—Upgrade drill
7-853–60EKS troubleshooting and cleanupCommon failures and cleanup in dependency orderEKS troubleshooting decision treeFull cleanup
Hour 8 · Extending Kubernetes: CRDs, Operators and Service Meshes (Open)
8-0Before classPreparation: kind cluster and extension tools (kubebuilder, istioctl)kind cluster lab, Go, kubebuilder, istioctl, Gateway API CRDs—Create the cluster and install the tools
8-100–06API extension overview: CRDs, aggregated APIs and admissionChoosing between CRDs, aggregated APIs (APIService), admission webhooks and VAPExtension points a request passes throughList the extension points in the cluster
8-206–13CRD deep dive: schema, versions, CEL validation and the status subresourceStructural schema, x-kubernetes-validations (CEL), status/scale subresources, printer columns, multiple versions and conversion webhooksCRD validation pipelineWrite the ShopApp CRD
8-313–21Controller pattern: informers, reconcile and finalizerslist-watch, informer cache, workqueue, level-triggered and idempotent logic, ownerReference, finalizers, leader electionReconcile loop (including retries and finalizer deletion)Simulate a controller by hand
8-421–28Operator in practice: build an Operator with kubebuilderkubebuilder init / create api, Reconcile, RBAC markers, make manifests / run / deploykubebuilder workflow (make run / make deploy)ShopApp Operator
8-528–35Using existing Operators: OLM, maturity and selectionOperatorHub, OLM, capability levels, CRD upgrades and permission risks, review checklistOperator selection scorerInstall CloudNativePG
8-635–42Service mesh principles: sidecars, ambient and mTLSSidecar vs ambient (ztunnel / waypoint), mTLS and SPIFFE identity, Gateway API for meshes, when not to use a meshmTLS path through ztunnel / sidecarData plane selection ADR (reading)
8-742–50Istio in practice: traffic splitting, mTLS and observabilityInstall ambient, PeerAuthentication STRICT, AuthorizationPolicy, HTTPRoute weighted split, Kiali / PrometheusWeighted routing + mTLS authorization simulatorShop 90/10 canary
8-850–60Extension review, troubleshooting and self-checkCommon CRD / Operator / mesh failures and review checklistFault injection simulator + extension troubleshooting decision treeFault injection drill
Hour 9 (optional) · 50 Production Problems + 50 Interview Questions (Open)
9-100–08A · Problems 1–12Scheduling and workloadsTroubleshooting decision treeReproduce on kind
9-208–16A · Problems 13–25Networking, DNS and trafficTroubleshooting decision treeReproduce on kind
9-316–24A · Problems 26–38Storage, configuration and securityTroubleshooting decision treeReproduce on kind
9-424–30A · Problems 39–50Upgrades, scaling, nodes and cloud platformsFailure simulator—
9-5–9-830–60B · Interview questions 1–50Architecture, workloads, networking, storage, security, operations and cloud platforms, scenario designMock interview—

10 pages per module

Principles (What / Why / How / When) · diagrams (architecture and data-flow diagrams) · animations (step-by-step demos of the real mechanisms) · commands (full parameters and expected output) · labs (runnable steps and cleanup) · production cases · troubleshooting · quiz (5 multiple-choice questions + a command question + a scenario question) · voice (English narration script with browser read-aloud) · video (verified videos and storyboard scripts).

Lab environment

Multimedia notes

Animations and voice: each module's “Animation” tab is a step-by-step demo built with inline SVG and JavaScript, and it plays offline. The “Voice” tab reads the narration aloud using the browser's built-in Web Speech API (en-US), and English terms are pronounced with en-US.
Limits: the environment that generated the course cannot produce videos or MP3 files directly. The video tab only lists public videos that have been verified to exist, with storyboard scripts and narration scripts that can be handed to a video or TTS tool. IPs, UIDs, hashes and durations in expected output are sample values.

Out of scope for this course

Version baseline (verified on 2026-11-15)

ComponentVersionSource
Kubernetes1.37.1 (2026-09-15); supports 1.37 / 1.36 / 1.35; 1.34 reached EOL on 2026-10-27kubernetes.io/releases
v1.37 "Garhwal"Released 2026-08-26: metrics API GA, HPA scale-to-zero Beta; announced the ipvs mode (disabled by default in v1.40, removed in v1.43) and the retirement timeline for kube-dnsRelease blog
kindv0.33.0, default kindest/node:v1.37.0kind releases
Gateway APIv1.6 (TCPRoute/UDPRoute move to Standard)v1.6 blog
ingress-nginxArchived 2026-03-24, final version v1.15.1; migration tool ingress2gateway 1.0ingress2gateway 1.0
Helm4.3.x; security fixes for Helm 3 continue until 2027-02-10Helm 3 EOL
AKS1.37: preview 2026-09, GA 2026-10AKS supported versions