Kubernetes / Pods, Containers & Application Health
Investigate container writable-layer growth before increasing node disks
A Pod can consume local ephemeral space through logs, writable layers or emptyDir data. Inspect its configured resource expectations.
Environment and inputs: Kubernetes · kubectl with supported client/server versions and delegated RBAC. Examples use namespace app unless noted. Check context, namespace, APIs and provider support first.
Start with this check
Check which system and tools you are using. Replace example objects, namespaces, images, file paths and hosts with approved values. Remove sensitive information before sharing output. Follow the application owner’s process for changes.
kubectl -n app get pod web-0 -o jsonpath='{.spec.containers[*].resources}'
What the results mean
The result shows declared requests and limits for regular containers. It does not report actual filesystem consumption or all Pod-level temporary volumes.
Fix the cause and check again
Compare workload metrics, node pressure and application write paths. Redirect durable content to appropriate storage and bound temporary growth through a tested design.
Before changing production
Do not delete runtime-managed files or assume a larger ephemeral limit creates physical capacity.