The cluster went read-only
A SaaS company's etcd 3.4 cluster, behind Kubernetes or Patroni, raises the NOSPACE alarm and rejects writes. Recovery needs compaction, defragmentation and disarming the alarm in order, with a snapshot taken first.
Challenge
When etcd raises the NOSPACE alarm, the cluster accepts only reads and deletes, so everything stored in it is frozen. On Kubernetes that is the state of every cluster object, and under Patroni it is the leader key for PostgreSQL. Reads keep working, which can make the first minutes look like a partial failure.
The recovery has an order. Compact the key history, defragment the members so the space is actually released, then disarm the alarm. Each step runs against a live control plane or failover store, so the order and the pace matter. A snapshot comes first: an etcd restore starts a new logical cluster with new member and cluster IDs, so every member must restore from the same snapshot, and a backup nobody has restored is not a backup.
Prevention is the part that gets skipped. etcd is small and quiet, so nobody schedules its care. etcd 3.4 also ended with 3.4.45 on 1 June 2026, so the cluster that hit the alarm has no upstream fixes coming either.
Environment
An etcd 3.4 cluster acting as the backing store for a self-managed Kubernetes control plane, or as the DCS for Patroni-managed PostgreSQL. Database size is not alerted on, and snapshots, compaction and defragmentation are manual or not done.
Options
Recover in-house. Take a snapshot, compact, defragment, disarm, then add database size alerting. This works if someone on the team has done it on this cluster before.
Upgrade etcd first. 3.5 or later is the right destination, but a read-only cluster is a poor place to start a rolling upgrade. etcd also will not start on a data directory written by a newer version, so the tested snapshot is the only rollback. 3.4 to 3.5 is rolling unless authentication is enabled.
Have an engineer on call who has run the recovery before, and who also puts scheduled snapshots, compaction and defragmentation in place so the alarm does not return.
Approach
OSSeva Assure includes 24/7 reactive support. An engineer takes the snapshot, then works through compaction, defragmentation and the alarm in order, member by member. Assure also designs snapshot backup and runs a timed restore drill, and it audits member, quorum and failure-domain layout and the upgrade plan to 3.5 or later, including v2 API dependencies.
OSSeva Patch ships signed etcd 3.4 builds with security backports on the same data format, so patching the cluster does not change its data directory.
OSSeva Operate adds the prevention: 24/7 monitoring of leader changes, fsync latency and database size, scheduled snapshots, defragmentation and compaction, a 15-minute P1 response, and rolling upgrades executed with quorum preserved.
What this delivers
A cluster that comes back from the alarm in the right order, a snapshot and restore that has been timed on your own members, and database size watched before it reaches the limit. OSSeva etcd support is priced per cluster, not per member or per client. Book a discovery call for a quote.
What happens when etcd raises the NOSPACE alarm?
The cluster accepts only reads and deletes until the alarm is cleared. Every system that stores state in etcd, such as Kubernetes or Patroni, cannot record changes.
In what order do I clear it?
Take a snapshot first, then compact the key history, defragment the members, and disarm the alarm last.
Can I restore a snapshot into the running cluster?
No. A restore goes into a fresh data directory and starts a new logical cluster with new member and cluster IDs, so every member restores from the same snapshot.
Does OSSeva support etcd 3.4 and handle this 24/7?
Yes. Patch ships patched etcd 3.4 builds, and Assure adds 24/7 reactive support, a snapshot design and a timed restore drill. Operate adds proactive monitoring of database size.