Kubernetes etcdserver: mvcc: database space exceeded (NOSPACE Alarm)
etcd hit default 2 GB quota without periodic compaction and defragmentation.
Runs locally in browser
Free · No login
Independently Verified 2026-11-25
v4.1.0
Identifier: Kubernetes etcdserver
Platform: Kubernetes
Common Root Causes:
- etcd hit default 2 GB quota without periodic compaction and defragmentation.
Interactive Diagnostic Checklist
Verified Solutions:
- Compact old revisions, run `etcdctl defrag`, and disarm the NOSPACE alarm.
Safe Diagnostic Command:
etcdctl endpoint status --write-out=table && etcdctl alarm list
Warning: Verify configuration changes in staging or with dry-run flags (e.g. nginx -t) before reloading production services.
Technical Explanation
etcd hit default 2 GB quota without periodic compaction and defragmentation. Recommended diagnostic: `etcdctl endpoint status --write-out=table && etcdctl alarm list`. Remediation: Compact old revisions, run `etcdctl defrag`, and disarm the NOSPACE alarm.
Worked Examples
- Run `etcdctl endpoint status --write-out=table && etcdctl alarm list` to verify root cause before applying the remediation.
Limitations & Assumptions
- Always verify configuration changes in staging or with dry-run flags (e.g. `nginx -t`) before reloading production services.
Source References & Verification
Resource ID: err-k8s-etcd-mvcc-database-space-exceeded · Independently verified: 2026-11-25