Blog
Thoughts on engineering, design, and building great products.
Kubernetes Architecture: Control Plane and Node
Lifting the hood on a Kubernetes cluster: the control plane (api-server, etcd, scheduler, controller-manager) is the brain, the node with kubelet and kube-proxy is where applications run. This article explains each component's role at a high level — and watches them run for real in minikube.
Ansible Architecture: Control Node, Inventory, Module and SSH
Deep dive into Ansible's architecture: control node, managed node, inventory, module. And exactly what happens when you run a command — Ansible packages the module, ships it over SSH to the host, runs it with the host's Python, gets JSON back. Observe it for real with -vvv.
Docker Architecture: Client, Daemon, containerd and runc
A deep dive into Docker architecture: the client and daemon talk over a REST API, and beneath dockerd sit containerd and runc. Understand what really happens when you type docker run, with diagrams and commands you can verify yourself.
What a Container Is Made Of: Namespaces, Cgroups and Union Filesystem
A deep dive into the lowest layer: three Linux kernel features — namespaces (isolation), cgroups (resource limits) and union filesystem (layers) — turn an ordinary process into a container. With diagrams and commands you can verify yourself.
Docker Swarm: Cluster Architecture and Raft
Stepping into multi-machine orchestration: Swarm gathers many Docker hosts into a cluster of managers and workers. Understand the desired-state model, the Raft consensus mechanism, and why you want an odd number of managers. Includes cluster init and how to simulate multiple nodes for learning.