Description
Initial thought:
{ "name": "volume example", "version": "1.0.0", "description": "a volume simple example", "components" : [ { "name": "", "number_of_containers": 1, "artifact": { "id": "docker.io/centos:latest", "type": "DOCKER" }, "launch_command": "sleep,120", "configuration": { "env": { "YARN_CONTAINER_RUNTIME_DOCKER_RUN_OVERRIDE_DISABLE":"true" } }, "resource": { "cpus": 1, "memory": "256", }, "volumes": [ { "volume" : { "type": "s3_csi", "id": "5504d4a8-b246-11e8-94c2-026b17aa1190", "capability" : { "min": "5Gi", "max": "100Gi" }, "source_path": "s3://my_bucket/my", # optional for object stores "mount_path": "/mnt/data", # required, the mount point in docker container "access_mode": "SINGLE_READ", # how the volume can be accessed } } ] } } ] }
Open for discussion.