Skip to content

Commit 9fbda21

Browse files
committed
Add more details on the CRI and how the mountpoint is used
Signed-off-by: Sascha Grunert <[email protected]>
1 parent 923448c commit 9fbda21

File tree

1 file changed

+5
-0
lines changed
  • keps/sig-node/4639-oci-volume-source

1 file changed

+5
-0
lines changed

keps/sig-node/4639-oci-volume-source/README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -445,6 +445,11 @@ plugin as part of the existing [volume manager](https://github.com/kubernetes/ku
445445

446446
The added `mount_label` allow the kubelet to support SELinux contexts.
447447

448+
The kubelet will use the `mountpoint` on container creation
449+
(by calling the `CreateContainer` RPC) to indicate the additional required volume mount ([`ContainerConfig.Mount`](https://github.com/kubernetes/cri-api/blob/3a66d9d/pkg/apis/runtime/v1/api.proto#L1102))
450+
from the runtime. The runtime needs to ensure that mount and also manages its
451+
life-cycle.
452+
448453
The [`PodSandbox`](https://github.com/kubernetes/cri-api/blob/3a66d9d/pkg/apis/runtime/v1/api.proto#L624-L643)
449454
(used by `ListPodSandboxResponse` for the kubelet image garbage collection) will
450455
be extended to support a string list of user requested OCI volume mounts:

0 commit comments

Comments
 (0)