Computing and Networks
Operating Systems, Containers & Kubernetes
The complete student field guide
AI generated by Nikhil Kumar Rajput
In the reading list Networks and systems (book 3 of 7)
9 chapters
Contents¶
Front matter
Chapters
Chapter 1: Operating System Foundations
- 1.1 What an Operating System Does
- 1.2 The Hardware an OS Manages
- 1.3 Kernel Space vs User Space and Privilege Rings
- 1.4 System Calls End to End
- 1.5 Interrupts, Exceptions and Traps
- 1.6 OS Architectures: Monolithic, Microkernel, Hybrid, Unikernel, Exokernel
- 1.7 Inside a Kernel: A Map of the Main Subsystems
- 1.8 Types of Operating Systems
- 1.9 The Boot Process: From Power-On to Login
- 1.10 POSIX and the Single UNIX Specification
- 1.11 A Short History of Operating Systems
- 1.12 The OS Landscape and Market Shares in 2026
- 1.13 Shells and Command-Line Basics
Chapter 2: Processes, Threads, Scheduling & Concurrency
- 2.1 Processes, the PCB and Process States
- 2.2 Creating Processes: fork, exec, wait — and CreateProcess
- 2.3 Threads: Many Flows of Execution in One Process
- 2.4 Threading Models and Lightweight Concurrency
- 2.5 Context Switching and What It Costs
- 2.6 CPU Scheduling Algorithms
- 2.7 Linux Schedulers: CFS, EEVDF and sched_ext
- 2.8 Windows and macOS Scheduling on Hybrid CPUs
- 2.9 Real-Time Scheduling: RMS, EDF and PREEMPT_RT
- 2.10 Race Conditions, Mutexes, Spinlocks and Atomics
- 2.11 Semaphores, Monitors, Condition Variables and RCU
- 2.12 Deadlock: Conditions, Prevention, Avoidance and Detection
- 2.13 Inter-Process Communication: Pipes, Signals, Queues, Shared Memory, Sockets and Binder
- 2.14 Asynchronous I/O: select, poll, epoll, kqueue, IOCP and io_uring
Chapter 3: Memory Management, File Systems & I/O
- 3.1 Address Spaces & Virtual Memory
- 3.2 Paging, Page Tables, the TLB & Huge Pages
- 3.3 Page Faults, Demand Paging & Copy-on-Write
- 3.4 Page Replacement Algorithms
- 3.5 Swapping, zram/zswap & Thrashing
- 3.6 Kernel & User-Space Memory Allocators
- 3.7 Memory-Mapped Files & Shared Memory
- 3.8 The OOM Killer & cgroup Memory Limits
- 3.9 The VFS, Inodes, Directories & File Descriptors
- 3.10 The Page Cache & Writeback
- 3.11 File Systems Compared: ext4, XFS, Btrfs, ZFS, NTFS, ReFS & APFS
- 3.12 The Block Layer, Storage Stack & I/O Schedulers
- 3.13 Device Drivers, the Driver Model, DMA & the IOMMU
- 3.14 Power Management: ACPI, Sleep States & CPU Frequency
Chapter 4: Linux in Depth
- 4.1 Linux Distributions & Families in 2026
- 4.2 The Filesystem Hierarchy & 'Everything Is a File'
- 4.3 Users, Groups, Permissions & ACLs
- 4.4 Root, sudo, setuid & Linux Capabilities
- 4.5 Package Management: apt, dnf, zypper, pacman, Snap & Flatpak
- 4.6 systemd, the Linux Boot Chain, journald & Timers
- 4.7 Shells, Pipes, Redirection & Bash Scripting
- 4.8 Finding & Processing Text: grep, sed, awk, find & Friends
- 4.9 Managing Processes & Resources: ps, top, kill, nice & ulimit
- 4.10 Linux Networking Configuration: ip, NetworkManager, netplan & nftables
- 4.11 /proc, /sys, sysctl & Kernel Modules
- 4.12 eBPF & Modern Linux Observability
- 4.13 Performance Analysis Tools: perf, vmstat, iostat, sar & strace
- 4.14 How the Linux Kernel Is Developed & Released
Chapter 5: Windows, macOS, Mobile & Specialised Operating Systems
- 5.1 Windows Architecture: The NT Kernel and Its Layers
- 5.2 Windows Internals: Boot, Core Processes, Registry and Services
- 5.3 Windows 11 and 10 in 2026: Versions, Servicing and End of Support
- 5.4 Windows Server 2025 and the Microsoft Server Platform
- 5.5 PowerShell and Windows Admin Tools
- 5.6 WSL: Running Linux Inside Windows
- 5.7 macOS Architecture: XNU, Darwin, launchd, APFS and Apple Silicon
- 5.8 macOS Security: SIP, Gatekeeper, Notarisation and Privacy Controls
- 5.9 iOS and iPadOS: Apple's Mobile Operating Systems
- 5.10 Android Architecture, AOSP and Android 16/17
- 5.11 ChromeOS, HarmonyOS and Other Device Operating Systems
- 5.12 The BSD Family: FreeBSD, OpenBSD and NetBSD
- 5.13 Real-Time and Embedded Operating Systems
- 5.14 OS Security Mechanisms: Exploit Mitigations, Access Control and Trusted Boot
Chapter 6: Virtualization & Hypervisors
- 6.1 Why Virtualize? Ideas and a Short History
- 6.2 How a Hypervisor Works: Popek-Goldberg and Trap-and-Emulate
- 6.3 Type 1 vs Type 2 Hypervisors
- 6.4 Hardware-Assisted Virtualization: VT-x, AMD-V, EPT/NPT, IOMMU, Nesting and Confidential VMs
- 6.5 Virtual I/O: Emulation, Paravirtualization, virtio, Passthrough and SR-IOV
- 6.6 KVM, QEMU and libvirt: The Open-Source Virtualization Stack
- 6.7 Microsoft Hyper-V
- 6.8 VMware vSphere, ESXi and the Broadcom Era
- 6.9 Xen, Proxmox VE, Nutanix AHV and Other Platforms
- 6.10 OpenStack: Building Your Own Cloud
- 6.11 Desktop Hypervisors: VirtualBox, VMware Workstation and Fusion, Parallels, UTM
- 6.12 The VM Lifecycle: Images, Templates, Snapshots, Live Migration and High Availability
- 6.13 MicroVMs, Serverless Isolation and VMs vs Containers
- 6.14 Virtual Desktops (VDI and DaaS)
Chapter 7: Containers in Depth
- 7.1 What a Container Really Is
- 7.2 Linux Namespaces: Private Views of the System
- 7.3 Control Groups v2: Limits and Accounting
- 7.4 Union and Overlay File Systems
- 7.5 Images, the OCI Specifications and Registries
- 7.6 Docker Architecture, Engine and Desktop
- 7.7 Dockerfiles, BuildKit and Multi-stage Builds
- 7.8 Docker Compose, Container Networking and Storage
- 7.9 Podman, Buildah, Skopeo, nerdctl and Desktop Alternatives
- 7.10 Container Runtimes: runc to gVisor and Kata
- 7.11 Minimal and Hardened Base Images
- 7.12 Image Scanning, SBOMs and Signing
- 7.13 Rootless Containers, User Namespaces and Runtime Hardening
- 7.14 Windows Containers and WebAssembly Containers
Chapter 8: Kubernetes in Depth
- 8.1 Why Orchestration and the Declarative Model
- 8.2 Cluster Architecture: Control Plane and Nodes
- 8.3 Pods, Init and Sidecar Containers, and Probes
- 8.4 Workload Controllers: From Deployments to CronJobs
- 8.5 Services, DNS, Ingress and the Gateway API
- 8.6 Pod Networking, CNI Plugins and NetworkPolicy
- 8.7 Storage, ConfigMaps and Secrets
- 8.8 Scheduling and Resource Management
- 8.9 Autoscaling Pods and Nodes
- 8.10 Cluster Security: RBAC, Pod Security, Admission and Secrets
- 8.11 Extending Kubernetes: CRDs, Controllers and Operators
- 8.12 Packaging and GitOps: Helm, Kustomize, Argo CD and Flux
- 8.13 Observability and Service Mesh
- 8.14 AI and GPU Workloads on Kubernetes
- 8.15 Distributions, Managed Services and the Release Cycle
Chapter 9: Operations, Security, Careers & Learning
- 9.1 Hardening Operating Systems: CIS Benchmarks, STIGs & Least Privilege
- 9.2 Hardening Containers & Kubernetes Clusters: Benchmarks, Scanners and the 4Cs
- 9.3 Patch Management, Live Patching & Upgrade Cadence
- 9.4 Troubleshooting Methodology & Host Problems on Linux and Windows
- 9.5 Troubleshooting Containers & Kubernetes: CrashLoopBackOff, OOMKilled, DNS and Image Pulls
- 9.6 Observability & SRE Basics: SLIs, SLOs, Error Budgets, USE and RED
- 9.7 Automation & Infrastructure as Code: Ansible, Terraform/OpenTofu, cloud-init and Packer
- 9.8 Platform Engineering & Internal Developer Platforms (Backstage)
- 9.9 Careers: From Help Desk to SRE, Platform, Cloud and Kernel Engineering
- 9.10 Certifications: Linux, Windows, Kubernetes, Docker and Cloud
- 9.11 Learning Resources: Books, Documentation and Courses
- 9.12 Building a Home Lab: A Step-by-Step Plan
- 9.13 Interview Questions with Model Answers
- 9.14 A 24-Week Study Plan from Zero to Job-Ready
Back matter
Ten Things Every Operating Systems Student Should Master
- 1. Know what an OS is for
- 2. Follow a process from birth to exit
- 3. Explain virtual memory
- 4. Understand files and I/O
- 5. Be fluent in Linux
- 6. Compare the major OS families
- 7. Know how virtualization works
- 8. See through containers
- 9. Think in Kubernetes reconciliation loops
- 10. Operate like a professional
About this book¶
A student's plain-English guide to operating systems — kernels, processes, memory, file systems, Linux, Windows, macOS, mobile, virtualization, containers and Kubernetes. Every topic is explained with an everyday analogy, a worked example, step-by-step mechanics, a diagram, and a table of the kernels, commands, tools, standards & concepts you need to know.