咖啡香

Hyper: Storage in Docker & Kubernetes

Docker Volume Plugin

Docker Volume Plugin

The above picture show the overall architecture of Docker volume plugin. The docker daemon communicate with VolumePlugin by volume_driver.sock (Unix Domain Socket); the volume plugin take responsibility to mount the distributed FS into local FS and return the mount point to docker daemon. The docker daemon handle it as normal volume.

Notes:

Kubernetes Volume

Kubernetes Volume

In Kubernetes, kubelet takes the responsibility to mount distributed FS into local FS; it also maintenance the mapping and sent the local mout point when create/start container by Docker API.

Kubernetes Persistent Volumes and Claims

Ongoing


comments powered by Disqus