Akihiro Suda
c7f52b34f3
kubelet: KEP-3857: Recursive Read-only (RRO) mounts
See <https://kep.k8s.io/3857>.
An example manifest:
```yaml
apiVersion: v1
kind: Pod
metadata:
name: rro
spec:
volumes:
- name: mnt
hostPath:
# tmpfs is mounted on /mnt/tmpfs
path: /mnt
containers:
- name: busybox
image: busybox
args: ["sleep", "infinity"]
volumeMounts:
# /mnt-rro/tmpfs is not writable
- name: mnt
mountPath: /mnt-rro
readOnly: true
mountPropagation: None
recursiveReadOnly: IfPossible
# /mnt-ro/tmpfs is writable
- name: mnt
mountPath: /mnt-ro
readOnly: true
# /mnt-rw/tmpfs is writable
- name: mnt
mountPath: /mnt-rw
```
Requirements:
- Feature gate "RecursiveReadOnlyMounts" to be enabled
- Linux kernel >= 5.12
- runc >= 1.1
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2024-03-10 03:00:59 +09:00
..
2023-10-28 17:32:13 +05:30
2024-02-27 12:01:00 +01:00
2023-10-31 15:52:46 -07:00
2023-10-31 15:52:46 -07:00
2024-02-16 09:55:59 -08:00
2023-06-01 11:03:39 +02:00
2023-02-24 18:21:21 +00:00
2024-03-07 15:00:07 -08:00
2021-11-14 19:49:19 +00:00
2024-03-09 09:48:09 +09:00
2022-11-05 06:02:13 -07:00
2023-10-23 15:04:30 -04:00
2024-03-05 16:10:42 -05:00
2024-03-05 16:10:42 -05:00
2024-02-16 09:55:59 -08:00
2023-02-24 18:21:21 +00:00
2023-09-06 10:01:53 +03:00
2023-09-06 10:01:53 +03:00
2024-03-10 03:00:59 +09:00
2024-02-16 09:55:59 -08:00
2024-02-16 16:02:10 -08:00
2024-02-08 00:30:31 +00:00
2024-02-08 00:30:31 +00:00
2023-11-16 14:13:06 +01:00
2024-03-04 21:07:06 -08:00
2023-07-14 14:52:27 +03:00
2023-03-09 17:15:53 -06:00
2024-02-16 09:56:01 -08:00
2021-11-17 11:05:05 -08:00
2021-11-17 11:05:05 -08:00
2024-02-16 09:55:59 -08:00
2023-10-17 19:07:21 -05:00
2023-10-17 19:07:21 -05:00
2023-05-01 09:17:35 +02:00
2023-07-10 10:58:44 +02:00
2023-03-10 04:34:58 -08:00
2022-11-08 16:05:48 +00:00
2023-03-10 11:06:54 +01:00
2021-08-24 15:47:49 -04:00
2022-07-29 19:29:11 -07:00
2022-07-18 15:23:13 -07:00
2024-03-07 15:00:07 -08:00