KUBE001warningPro
local-filesystem-data
Using local filesystem for application data storage.
Applies to: Go, JavaScript, Python, Ruby, Rust, TypeScript
Why this matters
Storing application data on the local filesystem breaks in Kubernetes and containerized environments. Pods are ephemeral - when they restart, local files are lost. Multiple replicas can't share local files. Use PostgreSQL for structured data, S3/GCS for files, or Redis for cache.
Catch it before it ships
pip install stablestack # or: npx stablestackstablestack # scans your project, KUBE001 includedstablestack explain KUBE001KUBE001 is part of the Pro rule set. See pricing — the free tier ships 24 checks with no signup.
False positive in your codebase? Suppress a single line with # noqa: KUBE001