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
..
2024-02-27 12:01:00 +01:00
2020-07-24 16:23:12 -04:00
2023-10-17 13:07:01 +05:30
2023-11-01 14:46:33 -04:00
2023-11-01 14:46:33 -04:00
2019-08-22 13:46:52 +08:00
2023-03-12 23:46:40 +00:00
2024-02-29 12:41:55 +01:00
2022-07-30 12:35:26 +09:00
2022-01-14 10:38:23 +01:00
2022-07-26 02:55:30 +02:00
2022-11-05 06:02:13 -07:00
2022-11-05 06:02:13 -07:00
2023-03-08 22:03:51 -06:00
2024-03-10 03:00:59 +09:00
2019-03-01 18:48:17 +02:00
2020-06-19 15:48:08 +00:00