hadoop-yarn-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eric Yang (JIRA)" <j...@apache.org>
Subject [jira] [Created] (YARN-9244) Document docker registry deployment with direct S3 driver
Date Mon, 28 Jan 2019 19:37:00 GMT
Eric Yang created YARN-9244:
-------------------------------

             Summary: Document docker registry deployment with direct S3 driver
                 Key: YARN-9244
                 URL: https://issues.apache.org/jira/browse/YARN-9244
             Project: Hadoop YARN
          Issue Type: Sub-task
            Reporter: Eric Yang


On Amazon, it would be possible to deploy docker registry in YARN using Docker's own S3 driver.
 The same micro-benchmark can also be applied to show the docker registry performance difference.
 The sample YARN service configuration looks like this:

{code}
{
  "name": "docker-registry",
  "version": "1.0",
  "kerberos_principal" : {
    "principal_name" : "hbase/_HOST@EXAMPLE.COM",
    "keytab" : "file:///etc/security/keytabs/hbase.service.keytab"
  },
  "components" :
  [
    {
      "name": "registry",
      "number_of_containers": 1,
      "artifact": {
        "id": "registry:latest",
        "type": "DOCKER"
      },
      "resource": {
        "cpus": 1,
        "memory": "256"
      },
      "run_privileged_container": true,
      "configuration": {
        "env": {
          "YARN_CONTAINER_RUNTIME_DOCKER_RUN_OVERRIDE_DISABLE":"true",
          "YARN_CONTAINER_RUNTIME_DOCKER_MOUNTS":"/path/to/config.yml:/etc/docker/registry/config.yml"
        },
        "properties": {
          "docker.network": "host"
        }
      }
    }
  ]
}
{code} 

Where /path/to/config.yml maps to a Docker S3 storage option config.



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

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


Mime
View raw message