-
Notifications
You must be signed in to change notification settings - Fork 737
Open
Labels
S-reproducingStatus: Reproducing a bug reportStatus: Reproducing a bug report
Description
Describe the bug
Default securitycontext in values.yaml
containerSecurityContext:
capabilities:
drop:
- ALL
readOnlyRootFilesystem: true
runAsNonRoot: true
kubectl get pod -l app.kubernetes.io/instance=rustfs
NAME READY STATUS RESTARTS AGE
rustfs-0 1/1 Running 0 7m30s
rustfs-1 1/1 Running 0 7m29s
rustfs-2 1/1 Running 0 7m29s
rustfs-3 1/1 Running 0 7m29s
kubectl logs rustfs-0
[2025-12-09 19:14:02.502941 +00:00] ERROR [rustfs_ahm::scanner::node_scanner] [crates/ahm/src/scanner/node_scanner.rs:519] [main:ThreadId(1)] Failed to create data directory "/tmp/rustfs_scanner": Read-only file system (os error 30)
[2025-12-09 19:14:02.600945 +00:00] WARN [rustfs_ahm::scanner::data_scanner] [crates/ahm/src/scanner/data_scanner.rs:920] [rustfs-worker:ThreadId(9)] Failed to aggregate local data usage snapshots, falling back to realtime collection: Io error: failed to deserialize snapshot "/data/.rustfs.sys/datausage/6dce205d-a890-46a1-a0c3-0f216ffe48af.json": EOF while parsing a value at line 1 column 0
To Reproduce
helm install rustfs .
Expected behavior
I guess the rustfs scanner is a critical service for rustfs (but not sure) and should be run without error in a pod.
Desktop (please complete the following information):
- kubernetes version 1.33
- helm version 3.19.2
- rustfs repo - latest, master branch
Metadata
Metadata
Labels
S-reproducingStatus: Reproducing a bug reportStatus: Reproducing a bug report