Attaching storage to YARN containers by using CSI
You can attach external storage volumes to Docker containers on YARN by using Container Storage Interface (CSI). The external storage system provides a CSI driver that helps expose the volume to container orchestration frameworks.
YARN can mount the external volume so that the Docker containers on YARN can read or write the volume data as if it were on the local file system. Using Docker containers on YARN, you can access data on already provisioned Ozone volumes.
Note | |
---|---|
Currently, YARN supports only CSI v1. Therefore, YARN is compatible only with
drivers that implement the CSI v1 protocol. |