One of your production nodes is reporting 100% disk usage and workloads are failing. How do you investigate and resolve this?
- Run df/du to identify which filesystem/paths are full
- Check logs, tmp dirs, container overlay storage
- Delete/rotate large logs or stale container images
- Expand disk/attach new volume if persistent issue
- Add monitoring to detect disk usage trends earlier
- 💡Check containerd/docker overlay2 layers.
- ⚠️Failing to immediately identify the specific filesystem that is full.
- ⚠️Spending too much time on log analysis without first using `df` and `du` to pinpoint the largest consumers.
- ⚠️Not considering container runtime storage (image layers, volumes) as a potential cause in a Kubernetes environment.
- ⚠️Making broad assumptions about the cause without systematically investigating the node and its workloads.
- ⚠️Deleting files indiscriminately without understanding their purpose, potentially causing further system instability.
- ❓What if /var/lib/docker fills up?
- ❓How to prevent inode exhaustion?
Ready to prove your Kubernetes administration knowledge?
Practice with free Certified Kubernetes Administrator (CKA) (CKA) exam questions. Instant answers and detailed explanations — no account required.
Start free practice quizQuestions that share similar topics with this one
du and df Show Different Disk Usage
IntermediateKubernetes Pod Stuck in Pending
IntermediateFind Top CPU Processes in Linux
BeginnerTroubleshooting High Memory in Linux
IntermediateFind Large Files with Bash
BeginnerDeepen your knowledge with these related blog posts
Real-Time Monitoring with eBPF: Low-Overhead Insights for Linux & K8s
eBPF is reshaping observability by enabling low-overhead, high-fidelity monitoring directly from the Linux kernel. Learn how it works, practical use cases, and tooling for real-time insights.
EKS Cluster Upgrades: A Production Runbook for Platform Teams
A comprehensive guide to safely upgrading Amazon EKS clusters at scale. Covers pre-flight checks, control plane upgrades, add-on versioning, node group strategies, rollback procedures, common anti-patterns, and fleet automation.
From Terraform to GitOps: A Practical Migration Roadmap
A step-by-step guide to migrating from traditional Terraform workflows to GitOps, including migration patterns, common pitfalls, and practical diagrams to guide your journey.