Additions detect; subtractions abolish

This is my homelab: single-node Kubernetes clusters on Talos, one operator, and a pair of small Debian virtual machines that act as the operator's control points. Nothing here describes an employer's systems. The host hardening below was applied to the second of those machines on 10 November 2026 and every value quoted was read back from it afterwards; the cluster layers are my own configuration.
Ask ten engineers to harden a cluster and you will get ten lists of things to buy. An image scanner. A runtime agent. A posture dashboard. Another feed, another panel, another thing to install, patch and believe in. The verb is always add, because the whole industry is arranged around it.
Banks solved the opposite problem long ago. A branch after hours is not protected by extra guards; it is protected by being empty. The tills are cleared, the cash sits in a time-locked vault, and the notice in the window says so: no money is held on these premises overnight. That notice is the cheapest control the bank runs, and it has never once raised a false alarm.
Walk a small estate floor by floor and that is the shape of it. Nearly every layer that holds is not something I installed. It is something I removed.
Count what is missing, floor by floor
Start at the metal. The operating system on every cluster node has no SSH daemon, no shell and no package manager. The machine is an API with a declarative configuration, so there is no login to brute-force because there is no login; I have written that one up before, and every diagnostic that reads a node reads it over that API.
One floor up, the workloads. Almost none of them ever call the Kubernetes API, so almost none of them should be carrying a token that could. The universal-safe sweep changes no runtime behaviour at all:
spec:
template:
spec:
serviceAccountName: wiki
automountServiceAccountToken: false
A dedicated identity per workload, and no token mounted into it. The containers themselves run non-root with capabilities dropped where the image can bear it, and that part is emphatically not a blanket sweep. Multi-process images that chown and change user internally crashloop the moment you drop everything, so the strict recipe is per-application and verified on a scratch pod first. One nginx-fronted image charged an evening for that lesson.
The network floor carries a per-namespace default-deny, so no pod speaks to any other unless a rule says it may. The form that enforces on this CNI, and the near-identical form that validates and then does nothing, are in the least-privilege post. The point for this one is that the floor is an absence of permitted traffic, not a tool that watches traffic.
Two floors remain. The supply chain pulls every image through one mirror with build bases pinned by digest, and the mirror takes writes from exactly one identity. Anonymous read stays on by design, so a node needs no credential to boot, and the day that changes is staged before it is turned. The public edge holds no inbound ports whatsoever: the services reachable from the internet exist because a connector dials out and holds that connection open.
And identity: single sign-on did not so much add a login box as remove a drawer full of per-application credentials.
The one host that keeps a shell
There is a floor the node story skips. Something has to hold the admin credentials and run the tooling, and in this lab that is a small Debian VM, the bastion. It began life from a workstation image, and a workstation image arrives with a desktop: a display manager, printing, multicast DNS, a modem manager, a Wi-Fi supplicant, a firmware updater, colour management. None of that has a job on a headless VM with one wired interface, and every one of them is a listener, a D-Bus name or a timer that somebody has to patch.
So the hardening of that host was almost entirely subtraction too. The boot target drops the desktop, and the activatable services are masked rather than disabled, because a disabled unit comes straight back the moment a socket or a D-Bus call asks for it:
systemctl get-default
systemctl is-enabled avahi-daemon.socket cups.socket cups.path ModemManager wpa_supplicant fwupd colord
# multi-user.target, then masked seven times: disabled would return on activation, masked cannot
The SSH daemon stays, because this is the one machine that exists to be logged into, and the question becomes what it no longer does. The proof is the running daemon's own answer, not the file:
sudo sshd -T | grep -E '^(passwordauthentication|permitrootlogin|x11forwarding|allowtcpforwarding) '
# all four answer no: key-only, no root, no X11, and no forwarding except local for the two operator accounts
And in front of it, an input chain whose policy is drop. The accepts fit in ten lines: loopback, established flows, the LAN subnet to port 22, the overlay interface and its WireGuard port, and the monitoring host to the exporter. Everything else is logged at a trickle and discarded:
sudo nft list table inet bastion_host | grep -c 'policy drop'
# 1: the default is no, and the exceptions are a list you can read in one screen
That last change went in behind a ten-minute timer that would have restored the old rules had I not logged back in to cancel it. A firewall you can no longer reach is a subtraction as well, of yourself, and the timer is what makes removing things from a remote host safe to do alone.
A removal deletes the class, not the instance
Line the floors up against what they abolish and the pattern names itself. No SSH daemon means no credential guessing, ever. Gone as a category, rather than detected and rate-limited. A key-only daemon on the one host that keeps one means the guessing has nothing to guess. No mounted token means there is nothing in the pod's secrets directory to steal and replay. Default-deny means a compromised workload's first lateral hop fails by default instead of succeeding by default. A digest pin means the image you reviewed is the image you run. A closed edge means the port scan returns nothing, because nothing is there.
That is a difference in kind. A detection tool watches for instances of a bad event and tells you eventually, if it is tuned, if someone reads the alert. A subtraction makes the class impossible by construction. The guard can be distracted; the empty till cannot be robbed.
Subtraction is also the only control that gets cheaper with time. An absent component has no vulnerabilities to track, no agent to update, no configuration to drift, no licence to renew, and it has never once paged anyone at three in the morning. The seven masked units on the bastion left the patch list the same day they left the process table.
You cannot subtract to zero
Something must remain or there is no estate at all. The node's API is still an API. The bastion's daemon is still a daemon. The outbound tunnel is still a way in, however inverted. The identity provider is still the point where every login converges. And that is the point of all the removing: what remains concentrates. The fewer things left in the building, the more each of them is worth, and the survivors are exactly where the traditional additive effort belongs.
So the second factor on the identity provider comes with static recovery codes generated up front and stored offline, because mandatory multi-factor without a tested recovery path is a lockout on a timer. Every application keeps exactly one alternate way in: a local break-glass admin, credentials held offline, exercised rather than assumed, because the identity provider will one day be the thing that is down. And bootstrap credentials get retired properly, revoked and removed from the store, for the reason the last post gives.
The vault gets the time-lock precisely because it is the only thing left holding value.
The principle
Read your security backlog twice. The first pass asks what everyone asks: what should we add? The second asks the question almost nobody does: what can we remove? The second list is shorter, ships faster, with no procurement and no new component to operate, and rusts slower, because an absence never falls behind on patches. Do that list first.
The bank's notice in the window is the whole doctrine in one line. Detection promises to notice the theft; subtraction promises there is nothing to steal. Only one of those promises is kept by an empty room.
Live in the lab: no SSH daemon on any cluster node and a headless, key-only, default-drop one on the single host that keeps a shell; token-free identities for workloads that never call the API; a zero-peer default-deny floor per namespace; one mirror with digest-pinned build bases and a single write identity; one outbound-only public edge; one identity provider; and one tested break-glass login per application.

