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
Too many open files solved for good — why raising ulimit does not help ♪ Listenable
Your server log fills with accept4 failed (24: Too many open files), you raise ulimit -n, and nothing changes. Behind this single symptom sit three independent limits: the per-process RLIMITNOFILE, the system-wide fs.fil
2026-07-26 · 15 min read #linux#systemd#file-descriptor#troubleshooting#containersReading Git commands through its internals — reset and rebase seen as objects, refs and the index
Memorizing Git commands means searching for them again every time, but knowing the data model lets you deduce what a command does. This post opens up the four object types (blob, tree, commit, tag), content addressing in
2026-07-26 · 12 min read #git#internals#git-objects#fundamentals#version-controlWhy Load Average Is Not CPU Utilization — load average 24 With the CPU at 30%
Covers the situation where the load average from uptime is above 24 while the CPU in top does not even reach 30%. Unlike other Unix systems, the Linux load average counts not only runnable (R) tasks but also D state (uni
2026-07-26 · 14 min read #linux#performance#load-average#psi#troubleshootingKubernetes ImagePullBackOff and ErrImagePull Fully Dissected — Ending It With One Cause String
Breaks down, cause by cause, the situation where a pod passes through ErrImagePull and then sits in ImagePullBackOff. It starts from two points: that the two states are different stages of the same event, and that the an
2026-07-26 · 12 min read #kubernetes#imagepullbackoff#container-registry#troubleshooting#containerdWhy Maps Lie — From Mercator to the Search Algorithm
Greenland is one fourteenth the size of Africa, yet on the world map on the classroom wall the two look alike. That is not an error but a design decision. Starting from the Gauss proof that a sphere mathematically cannot
2026-07-26 · 14 min read #humanities#history#cartography#geography#powerUsing the Three Kubernetes Probes Properly — The Exact Boundaries of liveness, readiness, and startup ♪ Listenable
Three incidents — a pod with nothing wrong with it restarting on a schedule, a flood of 502s only right after a deploy, and a slow-starting application that never reaches Ready — all come out of probe design. After separ
2026-07-26 · 17 min read #kubernetes#liveness-probe#readiness-probe#graceful-shutdown#sreA Fistful of Pepper Connected the World — The Spice Trade and the Original Globalisation ♪ Listenable
When Alaric besieged Rome in 408, the ransom he demanded listed gold, silver and 1,360 kilograms of pepper. This piece asks why a berry you can now buy at any supermarket was once worth that much, and why the familiar cl
2026-07-26 · 16 min read #humanities#history#trade#globalization#colonialismMoney Was Not Born from Barter — A World History of Money, from Lydian Coins to Credit ♪ Listenable
Chapter one of every economics textbook says money arose to cure the inconvenience of barter, yet anthropologists have never located a single society that worked that way. Follow the road money actually travelled: the el
2026-07-26 · 15 min read #humanities#history#money#economics#financeWhy Newton Rewrote the World — The Apple, the Principia, and Prediction as a Test ♪ Listenable
The apple did not fall on Newton's head. The source of that anecdote is the 1752 memoir of William Stukeley, and the story came from an eighty-three-year-old Newton himself. The miracle year of 1665, when plague closed C
2026-07-26 · 15 min read #humanities#science#history-of-science#newton#physicsUndoing things in git — picking restore, reset, revert and reflog by situation
Memorizing undo commands means searching for them again every time, but if you first classify what you are trying to undo, the command decides itself. This post splits the problem into six situations — the working direct
2026-07-26 · 12 min read #git#undo#reset#reflog#version-controlWhat Actually Differs Between a Container and a VM — namespace, cgroup, and the Bill for Sharing a Kernel
Starts with why the explanation that a container is a lightweight VM breeds misunderstanding. A container is an ordinary Linux process whose view is masked by namespaces and whose resources are limited by cgroups, and it
2026-07-26 · 13 min read #docker#container#linux-namespace#cgroup#virtualizationWhen git gets slow — structural prescriptions for a large repository
There is no single reason a repository gets slow. A long commit history, a huge number of files, and big binaries sitting in the tree are three different problems with three different prescriptions. This post starts with
2026-07-26 · 11 min read #git#performance#monorepo#git-lfs#version-controlWhen .gitignore is not working — the number one cause and a close reading of the pattern rules
You clearly wrote it in the ignore list, and yet the file keeps getting committed. The reason is almost always the same one: ignore rules do not apply to a file that is already tracked. This post covers the exact command
2026-07-26 · 12 min read #git#gitignore#troubleshooting#security#version-controlDocker Network Modes and Connection Problems — bridge, host, overlay, and the 127.0.0.1 Trap
Unpacks the situation where the container is up but nothing can connect, mode by mode. It covers why containers cannot find each other by name on the default bridge and how the embedded DNS on a user-defined network chan
2026-07-26 · 13 min read #docker#docker-network#iptables#networking#devopsTransaction Isolation Levels and the Anomalies You Actually Hit — Where the Standard Definition Diverges from the Implementation
A walkthrough of the four transaction isolation levels and of dirty read, non-repeatable read, and phantom read — but one that does not stop at the textbook table. Using real SQL sessions, it shows why the Read Committed
2026-07-26 · 14 min read #database#postgresql#transaction#isolation-level#mysqlShrinking Docker Images — The Truth About Layers, Multi-Stage Builds, and What a Base Image Really Costs
Start by pinpointing, layer by layer with dive, exactly where a Docker image balloons to 1.9GB. This piece covers why the union filesystem makes RUN rm incapable of removing a single byte from an image, exactly what a mu
2026-07-26 · 12 min read #docker#dockerfile#multi-stage-build#container#devopsDiagnosing and Preventing Deadlocks — How to Pin Down the Two Queries from the Log ♪ Listenable
A step-by-step guide to what you should look at when you hit a deadlock detected error. How to interpret the PostgreSQL deadlock report and the SHOW ENGINE INNODB STATUS output of MySQL line by line so you can pin down w
2026-07-26 · 16 min read #database#postgresql#deadlock#locking#mysqlMistakes That Keep Repeating in Dockerfiles — Running as root, PID 1, and Secrets Left in the Image
Works through the Dockerfile problems that pass the build and only blow up in production, starting from their causes. Containers running as root because no USER was set, the latest tag and reproducibility, why ADD should
2026-07-26 · 12 min read #docker#dockerfile#container-security#pid1#devopsWhy the Index You Created Is Not Being Used — The Cases Where the Optimizer Is Right and You Are Wrong
A cause-by-cause breakdown of why a Seq Scan stays in the query plan even after you create an index. Low selectivity making the optimizer ignore it on purpose, a function or arithmetic on the column making the condition
2026-07-26 · 14 min read #database#postgresql#index#query-optimization#mysqlWhy the Docker Build Cache Keeps Breaking — Layer Cache Keys, ARG, and BuildKit Cache Mounts
Explains, at the level of cache keys, why npm ci runs for five minutes again after you changed a single line of code. It covers the difference between a RUN cache key being the command string and a COPY cache key being a
2026-07-26 · 11 min read #docker#buildkit#build-cache#ci-cd#devops