DevOps Blog
Kubernetes, DevOps and MLOps, written from things we ran and measured ourselves · 3741 posts
#2026-03 765#english 592#culture 264#deep-dive 254#kubernetes 249#career 229#ai 219#llm 209#devops 196#2026-04 146#security 143#database 114#observability 113#communication 109#history 107#architecture 100#productivity 96#finance 88#economy 84#mindset 81#psychology 80#ai-papers 79#food 78#it 78#travel 78#deep-learning 77#japanese 77#networking 77#performance 72#business-travel 70#linux 70#gpu 69#ai-agent 66#cs-fundamentals 63#postgresql 61#rag 58#쿠버네티스 56#self-improvement 55#오픈소스 54#learning 53
Protobuf Wire Format: 21 Bytes One by One
A protobuf message is a sequence of 「tag (field number and wire type) + value」. Integers use varint, which is split into 7-bit chunks; strings and bundles have their length prepended; and default values are omitted entir
2026-10-16 · 12 min read #gRPC#protobuf#varint#직렬화#하위 호환The Problems gRPC Solves and the Big Picture: Contracts, Code Generation, Channels, and HTTP/2
gRPC breaks down "calling a function far away as if it were your own" into four components: contracts (.proto), language-specific code generated from those contracts (stubs), channels responsible for connection and load
2026-10-16 · 13 min read #gRPC#protobuf#HTTP/2#RPC#쿠버네티스Reading KubeVirt Source Code 7: Device Pass-through — How a GPU Becomes a Domain XML
Passing an entire GPU directly to a VM is split across four components in KubeVirt: the KubeVirt CR allowlist, the virt-handler device manager scanning sysfs to count only devices bound to vfio-pci, the device plugin reg
2026-10-16 · 15 min read #KubeVirt#GPU#VFIO#장치 플러그인#패스스루Reading KubeVirt Source Code 8: Introduction to Contributing — Reading Reviews, Picking a First PR, and Running Tests
If the first seven parts drew a code map, this final part is about how to work on that map. KubeVirt uses Prow, the same system as Kubernetes. OWNERS files in each directory determine reviewers and approvers, and slash c
2026-10-16 · 14 min read #KubeVirt#오픈소스#코드 리뷰#prow#OWNERSReading KubeVirt Source Code 6: CDI — DataVolume, importer, size calculation, cloning
To use a VM's root disk as a PVC, someone must create the PVC and populate it with an image. CDI (Containerized Data Importer), which handles this task, uses a volume populator by default as of v1.66.0. We trace through
2026-10-16 · 18 min read #KubeVirt#CDI#DataVolume#PVC#스토리지Reading KubeVirt Source Code 5: virt-launcher — Domain XML and QEMU
virt-launcher is a program that translates a VMI into a libvirt domain XML, launches QEMU, and guards the pod while QEMU is alive. We trace the process tree inside the pod (monitor → launcher → virtqemud·virtlogd, and QE
2026-10-16 · 22 min read #KubeVirt#libvirt#QEMU#qcow2#네트워크Reading KubeVirt Source Code 3: virt-controller — Reconciling VMs and VMIs
Several controllers run inside virt-controller, but the path to launching a single VM is a relay between two of them. The VM controller looks at the runStrategy to create or delete the VMI, and the VMI controller uses te
2026-10-16 · 20 min read #KubeVirt#쿠버네티스#컨트롤러#reconcile#GoReading KubeVirt Source Code 4: virt-handler — Reconciling VMIs on Nodes
virt-handler is a controller running on every node, and unlike other controllers, it oversees two worlds: the cluster's VMI (desired state) and the libvirt domain inside the pod (actual state). We trace through the code:
2026-10-16 · 14 min read #KubeVirt#쿠버네티스#데몬셋#gRPC#컨트롤러Reading KubeVirt Source Code 1: Repository Map — Where to Start Reading
The kubevirt/kubevirt repository has over 9,000 Go files alone. Still, the path is simple. cmd/ is a thin entry point, the five pkg/virt- folders are the core of the components, staging/ contains separately distributed A
2026-10-16 · 16 min read #KubeVirt#쿠버네티스#소스 코드#오픈소스#GoReading KubeVirt Source Code 2: APIs and CRDs — Types, Generated Code, Webhooks
The YAML fields of a VirtualMachine start with a single Go struct in types.go. From that struct, deepcopy, OpenAPI, clients, and CRD schemas are generated. When a user applies a VM, virt-api mutation and validation webho
2026-10-16 · 16 min read #KubeVirt#쿠버네티스#CRD#어드미션 웹훅#코드 생성Reading MetalLB: The controller that decides addresses, the speaker that raises its hand, and a one-hash election
MetalLB is divided into a controller that "decides" the IP for a LoadBalancer service, and a speaker that "announces" that IP to the network. This post traces, down to the file and line of the reference version, how the
2026-10-16 · 35 min read #오픈소스#코드 읽기#MetalLB#쿠버네티스#네트워크vLLM production-stack · LMCache · llm-d: Code map of the engine frontend and KV cache tier
To turn a single vLLM engine into a Kubernetes-native service, you need a frontend (router/gateway), a tier to extend the KV cache beyond the GPU, and metrics connecting the two. This post follows the production-stack Py
2026-10-16 · 40 min read #오픈소스#코드 읽기#vLLM#production-stack#LMCacheReading NVIDIA GPU Operator: How a single ClusterPolicy prepares GPU nodes and how dcgm-exporter finds the owner of a GPU
The GPU Operator is an operator that looks at a single ClusterPolicy and sequentially applies about twenty DaemonSet "states"—such as drivers, container toolkit, device plugin, and dcgm-exporter—connecting the preparatio
2026-10-16 · 30 min read #오픈소스#코드 읽기#GPU Operator#device plugin#dcgm-exporterReading Argo CD and Argo Workflows: The Comparison Loop, the Worker Inside the Pod, and the Status Determination of a CronJob
Argo CD is a loop where the repo-server renders the desired state written in Git into manifests, and the application-controller compares them with the cluster cache to determine synchronization and health. Argo Workflows
2026-10-16 · 27 min read #오픈소스#코드 읽기#Argo CD#Argo Workflows#GitOpsReading containerd and CRI: How a gRPC request from kubelet goes down to runc
Kubelet only issues commands like "Create a pod sandbox" or "Create and start a container" via the gRPC protocol known as CRI. The rest is handled by the CRI plugin inside containerd, which invokes core services (contain
2026-10-16 · 31 min read #오픈소스#코드 읽기#containerd#CRI#runcReading Cilium: An Architecture Where the Agent Populates BPF Maps and Kernel Hooks Rely Solely on Those Maps
Cilium uses an architecture where an agent running on each node copies Kubernetes state into BPF maps, and BPF programs attached to pod veth devices, host devices, and socket cgroups process packets by consulting only th
2026-10-16 · 39 min read #오픈소스#코드 읽기#Cilium#eBPF#kube-proxy 대체Reading CloudNativePG: The Manager at PID 1, the Plugin Beyond the Socket, and the Journey of a Single WAL Slice
CloudNativePG places its manager at PID 1 in the PostgreSQL pod, and hands off backups and WAL archiving to plugins via a gRPC interface called CNPG-I. This post traces the Cluster reconcile loop, the instance manager, t
2026-10-16 · 46 min read #오픈소스#코드 읽기#CloudNativePG#CNPG-I#barman-cloudResurrecting Flags and Seemingly Empty Buckets: The Story of How a SeaweedFS weed mini Help PR Led to a Behavior Change
TT Lab uses SeaweedFS's weed mini as a media storage and DB backup storage. While operating it, we took two false steps. A flag deleted from the command line resurrected on the next startup, and when we attached a backup
2026-10-16 · 16 min read #오픈소스#오픈소스 기여#SeaweedFS#오브젝트 스토리지#코드 리뷰Grafana Admin Password Is Only Read on First Boot: How a Grafana Helm Chart README PR Was Merged in 26 Minutes
In the Grafana Helm chart, changing adminPassword or the password in an existing Secret and running helm upgrade does not change the login password. This is because Grafana reads that value only once when creating the ad
2026-10-16 · 11 min read #오픈소스#오픈소스 기여#Grafana#Helm#관측성A Real Budget Table for the TT Score Real-Time Path — Where ms Are Spent and What Has Not Been Measured Yet
The final post in this series brings together the previous seven parts onto a single path actually taken by TT Lab's camera scoreboard. When a phone sends a 512×288 JPEG at 30fps, the server decodes and normalizes it, ru
2026-10-15 · 9 min read #비전 모델#실시간#지연 예산#TT Score#탁구