From 1da63709250775de767a403fb7ef83deee237e17 Mon Sep 17 00:00:00 2001 From: Ayush Ranjan Date: Tue, 18 Mar 2025 11:05:35 -0700 Subject: [PATCH] Update "Root Filesystem Overlay" section about default rootfs overlay. Fixes #11559 PiperOrigin-RevId: 738072702 --- g3doc/user_guide/filesystem.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/g3doc/user_guide/filesystem.md b/g3doc/user_guide/filesystem.md index 080a5bf03..c7f773891 100644 --- a/g3doc/user_guide/filesystem.md +++ b/g3doc/user_guide/filesystem.md @@ -54,6 +54,10 @@ filesystem is important because k8s scans the container's root filesystem from the host to enforce local ephemeral storage limits. You can also place the overlay host file in another directory using `--overlay2=root:/path/dir`. +Self-backed rootfs overlay (`--overlay2=root:self`) is enabled by default in +runsc for performance. If you need to propagate rootfs changes to the host +filesystem, then disable it with `--overlay2=none`. + ## Directfs Directfs is a feature that allows the sandbox process to directly access the