readable-root allowlist excludes the k3s datastore, blocking control-plane diagnosis #23
Labels
No labels
burndown-2026-08
autonomy
async-consult
autonomy
epic
autonomy
headless
autonomy
live-collab
coherence-core
priority
P0
priority
P1
priority
P2
priority
P3
priority
P4
qa-fixture
role/advocate
role/director
role/exec
role/frontend
role/gamedev
role/human
role/platform
role/qa
role/science
role/sysadmin
state
ambient
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
coilyco-flight-deck/node-stats-mcp#23
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
stat_pathcannot reach the k3s datastore, so a live investigation into k3s control-plane CPU and disk write amplification could not be completed through this MCP.Evidence
Context
On 2026-08-15 the
k3s-serverprocess on kai-server was measured holding about 4.6 of 28 cores across repeated samples, while the node's NVMe took a sustained write burst at roughly 45 MB/s and about 84% device utilization. Kine/sqlite write amplification is the standard explanation for that shape, and testing it needs the datastore file size and its WAL growth rate. Neither is reachable.Everything else needed for the investigation was available through this server and worked well. This is the one gap that forced the conclusion to stay at inference.
Ask
Add the k3s datastore directory to the readable-root allowlist, read-only and metadata-only.
stat_pathreturns size, mode, mtime, and type, so exposing the directory grants file size and growth rate without exposing any datastore contents.Suggested root:
/var/lib/rancher/k3s/server/dbIf exposing the whole directory is too broad, an explicit allowlist of
state.db,state.db-wal, andstate.db-shmwould be enough.Acceptance
stat_pathreturns metadata for the k3s datastore files, andread_text_headremains unable to read them.