hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Weiwei Yang (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (YARN-8940) [CSI] Add volume as a top-level attribute in service spec
Date Thu, 06 Dec 2018 08:55:01 GMT

     [ https://issues.apache.org/jira/browse/YARN-8940?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Weiwei Yang updated YARN-8940:
------------------------------
    Labels: CSI  (was: )

> [CSI] Add volume as a top-level attribute in service spec 
> ----------------------------------------------------------
>
>                 Key: YARN-8940
>                 URL: https://issues.apache.org/jira/browse/YARN-8940
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>            Reporter: Weiwei Yang
>            Assignee: Weiwei Yang
>            Priority: Major
>              Labels: CSI
>
> Initial thought:
> {noformat}
> {
>   "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
>             }
>           }
>         ]
>       }
>     }
>   ]
> }
> {noformat}
> Open for discussion.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org


Mime
View raw message