YARN Service API

Bringing a new service on YARN today is not a simple experience. The APIs of existing frameworks are either too low level (native YARN), require writing new code (for frameworks with programmatic APIs) or writing a complex spec (for declarative frameworks).

This simplified REST API can be used to create and manage the lifecycle of YARN services. In most cases, the application owner will not be forced to make any changes to their applications. This is primarily true if the application is packaged with containerization technologies like Docker.

This document describes the API specifications (aka. YarnFile) for deploying/managing containerized services on YARN. The same JSON spec can be used for both REST API and CLI to manage the services.

Version information

Version: 1.0.0

License information

License: Apache 2.0 License URL: http://www.apache.org/licenses/LICENSE-2.0.html

URI scheme

Host: host.mycompany.com

Port: 8088(default RM port)

Schemes: HTTP

Consumes

  • application/json

Produces

  • application/json

Paths

Create a service

POST /app/v1/services

Description

Create a service. The request JSON is a service object with details required for creation. If the request is successful it returns 202 Accepted. A success of this API only confirms success in submission of the service creation request. There is no guarantee that the service will actually reach a RUNNING state. Resource availability and several other factors determines if the service will be deployed in the cluster. It is expected that clients would subsequently call the GET API to get details of the service and determine its state.

Parameters

TypeNameDescriptionRequiredSchemaDefault
BodyParameterServiceService request objecttrueService

Responses

HTTP CodeDescriptionSchema
202The request to create a service is acceptedNo Content
400Invalid service definition provided in the request bodyNo Content
500Failed to create a serviceNo Content
defaultUnexpected errorServiceStatus

(TBD) List of services running in the cluster.

GET /app/v1/services

Description

Get a list of all currently running services (response includes a minimal projection of the service info). For more details do a GET on a specific service name.

Responses

HTTP CodeDescriptionSchema
200An array of servicesService array
defaultUnexpected errorServiceStatus

Get current version of the API server.

GET /app/v1/services/version

Description

Get current version of the API server.

Responses

HTTP CodeDescriptionSchema
200Successful requestNo Content

Update a service or upgrade the binary version of the components of a running service

PUT /app/v1/services/{service_name}

Description

Update the runtime properties of a service. Currently the following operations are supported - update lifetime, stop/start a service. The PUT operation is also used to orchestrate an upgrade of the service containers to a newer version of their artifacts (TBD).

Parameters

TypeNameDescriptionRequiredSchemaDefault
PathParameterservice_nameService nametruestring
BodyParameterServiceThe updated service definition. It can contain the updated lifetime of a service or the desired state (STOPPED/STARTED) of a service to initiate a start/stop operation against the specified servicetrueService

Responses

HTTP CodeDescriptionSchema
204Update or upgrade was successfulNo Content
404Service does not existNo Content
defaultUnexpected errorServiceStatus

Get details of a service.

GET /app/v1/services/{service_name}

Description

Return the details (including containers) of a running service

Parameters

TypeNameDescriptionRequiredSchemaDefault
PathParameterservice_nameService nametruestring

Responses

HTTP CodeDescriptionSchema
200a service objectobject
404Service does not existNo Content
defaultUnexpected errorServiceStatus

Destroy a service

DELETE /app/v1/services/{service_name}

Description

Destroy a service and release all resources. This API might have to return JSON data providing location of logs (TBD), etc.

Parameters

TypeNameDescriptionRequiredSchemaDefault
PathParameterservice_nameService nametruestring

Responses

HTTP CodeDescriptionSchema
204Destroy was successfulNo Content
404Service does not existNo Content
defaultUnexpected errorServiceStatus

Flex a component's number of instances.

PUT /app/v1/services/{service_name}/components/{component_name}

Description

Set a component's desired number of instanes

Parameters

TypeNameDescriptionRequiredSchemaDefault
PathParameterservice_nameService nametruestring
PathParametercomponent_nameComponent nametruestring
BodyParameterComponentThe definition of a component which contains the updated number of instances.trueComponent

Responses

HTTP CodeDescriptionSchema
200Flex was successfulNo Content
404Service does not existNo Content
defaultUnexpected errorServiceStatus

Definitions

Artifact

Artifact of a service component. If not specified, component will just run the bare launch command and no artifact will be localized.

NameDescriptionRequiredSchemaDefault
idArtifact id. Examples are package location uri for tarball based services, image name for docker, name of service, etc.truestring
typeArtifact type, like docker, tarball, etc. (optional). For TARBALL type, the specified tarball will be localized to the container local working directory under a folder named lib. For SERVICE type, the service specified will be read and its components will be added into this service. The original component with artifact type SERVICE will be removed (any properties specified in the original component will be ignored).falseenum (DOCKER, TARBALL, SERVICE)DOCKER
uriArtifact location to support multiple artifact stores (optional).falsestring

Component

One or more components of the service. If the service is HBase say, then the component can be a simple role like master or regionserver. If the service is a complex business webapp then a component can be other services say Kafka or Storm. Thereby it opens up the support for complex and nested services.

NameDescriptionRequiredSchemaDefault
nameName of the service component (mandatory). If Registry DNS is enabled, the max length is 63 characters. If unique component support is enabled, the max length is lowered to 44 characters.truestring
stateThe state of the componentfalseComponentState
dependenciesAn array of service components which should be in READY state (as defined by readiness check), before this component can be started. The dependencies across all components of a service should be represented as a DAG.falsestring array
readiness_checkReadiness check for this component.falseReadinessCheck
artifactArtifact of the component (optional). If not specified, the service level global artifact takes effect.falseArtifact
launch_commandThe custom launch command of this component (optional for DOCKER component, required otherwise). When specified at the component level, it overrides the value specified at the global level (if any).falsestring
resourceResource of this component (optional). If not specified, the service level global resource takes effect.falseResource
number_of_containersNumber of containers for this component (optional). If not specified, the service level global number_of_containers takes effect.falseinteger (int64)
containersContainers of a started component. Specifying a value for this attribute for the POST payload raises a validation error. This blob is available only in the GET response of a started service.falseContainer array
run_privileged_containerRun all containers of this component in privileged mode (YARN-4262).falseboolean
placement_policyAdvanced scheduling and placement policies for all containers of this component.falsePlacementPolicy
configurationConfig properties for this component.falseConfiguration
quicklinksA list of quicklink keys defined at the service level, and to be resolved by this component.falsestring array

ComponentState

The state of the component

NameDescriptionRequiredSchemaDefault
stateenum of the state of the componentfalseenum (FLEXING, STABLE)

ConfigFile

A config file that needs to be created and made available as a volume in a service component container.

NameDescriptionRequiredSchemaDefault
typeConfig file in the standard format like xml, properties, json, yaml, template.falseenum (XML, PROPERTIES, JSON, YAML, TEMPLATE, HADOOP_XML)
dest_fileThe path that this configuration file should be created as. If it is an absolute path, it will be mounted into the DOCKER container. Absolute paths are only allowed for DOCKER containers. If it is a relative path, only the file name should be provided, and the file will be created in the container local working directory under a folder named conf.falsestring
src_fileThis provides the source location of the configuration file, the content of which is dumped to dest_file post property substitutions, in the format as specified in type. Typically the src_file would point to a source controlled network accessible file maintained by tools like puppet, chef, or hdfs etc. Currently, only hdfs is supported.falsestring
propertiesA blob of key value pairs that will be dumped in the dest_file in the format as specified in type. If src_file is specified, src_file content are dumped in the dest_file and these properties will overwrite, if any, existing properties in src_file or be added as new properties in src_file.falseobject

Configuration

Set of configuration properties that can be injected into the service components via envs, files and custom pluggable helper docker containers. Files of several standard formats like xml, properties, json, yaml and templates will be supported.

NameDescriptionRequiredSchemaDefault
propertiesA blob of key-value pairs for configuring YARN service AM.falseobject
envA blob of key-value pairs which will be appended to the default system properties and handed off to the service at start time. All placeholder references to properties will be substituted before injection.falseobject
filesArray of list of files that needs to be created and made available as volumes in the service component containers.falseConfigFile array

Container

An instance of a running service container.

NameDescriptionRequiredSchemaDefault
idUnique container id of a running service, e.g. container_e3751_1458061340047_0008_01_000002.falsestring
launch_timeThe time when the container was created, e.g. 2016-03-16T01:01:49.000Z. This will most likely be different from cluster launch time.falsestring (date)
ipIP address of a running container, e.g. 172.31.42.141. The IP address and hostname attribute values are dependent on the cluster/docker network setup as per YARN-4007.falsestring
hostnameFully qualified hostname of a running container, e.g. ctr-e3751-1458061340047-0008-01-000002.examplestg.site. The IP address and hostname attribute values are dependent on the cluster/docker network setup as per YARN-4007.falsestring
bare_hostThe bare node or host in which the container is running, e.g. cn008.example.com.falsestring
stateState of the container of a service.falseContainerState
component_instance_nameName of the component instance that this container instance belongs to. Component instance name is named as $COMPONENT_NAME-i, where i is a monotonically increasing integer. E.g. A componet called nginx can have multiple component instances named as nginx-0, nginx-1 etc. Each component instance is backed by a container instance.falsestring
resourceResource used for this container.falseResource
artifactArtifact used for this container.falseArtifact
privileged_containerContainer running in privileged mode or not.falseboolean

ContainerState

The current state of the container of a service.

NameDescriptionRequiredSchemaDefault
stateenum of the state of the containerfalseenum (INIT, STARTED, READY)

KerberosPrincipal

The kerberos principal info of the user who launches the service.

NameDescriptionRequiredSchemaDefault
principal_nameThe principal name of the user who launches the service.falsestring
keytabThe URI of the kerberos keytab. It supports two modes, URI starts with “hdfs://”: A path on hdfs where the keytab is stored. The keytab will be localized by YARN to each host; URI starts with “file://”: A path on the local host where the keytab is stored. It is assumed that the keytabs are pre-installed by admins before AM launches.falsestring

PlacementConstraint

Placement constraint details.

NameDescriptionRequiredSchemaDefault
nameAn optional name associated to this constraint.falsestring
typeThe type of placement.truePlacementType
scopeThe scope of placement.truePlacementScope
target_tagsThe name of the components that this component‘s placement policy is depending upon are added as target tags. So for affinity say, this component’s containers are requesting to be placed on hosts where containers of the target tag component(s) are running on. Target tags can also contain the name of this component, in which case it implies that for anti-affinity say, no more than one container of this component can be placed on a host. Similarly, for cardinality, it would mean that containers of this component is requesting to be placed on hosts where at least minCardinality but no more than maxCardinality containers of the target tag component(s) are running.falsestring array
node_attributesNode attributes are a set of key:value(s) pairs associated with nodes.falseobject
node_partitionsNode partitions where the containers of this component can run.falsestring array
min_cardinalityWhen placement type is cardinality, the minimum number of containers of the depending component that a host should have, where containers of this component can be allocated on.falseinteger (int64)
max_cardinalityWhen placement type is cardinality, the maximum number of containers of the depending component that a host should have, where containers of this component can be allocated on.falseinteger (int64)

PlacementPolicy

Advanced placement policy of the components of a service.

NameDescriptionRequiredSchemaDefault
constraintsPlacement constraint details.truePlacementConstraint array

PlacementScope

The scope of placement for the containers of a component.

NameDescriptionRequiredSchemaDefault
typefalseenum (NODE, RACK)

PlacementType

The type of placement - affinity/anti-affinity/affinity-with-cardinality with containers of another component or containers of the same component (self).

NameDescriptionRequiredSchemaDefault
typefalseenum (AFFINITY, ANTI_AFFINITY, AFFINITY_WITH_CARDINALITY)

ReadinessCheck

A check to be performed to determine the readiness of a component instance (a container). If no readiness check is specified, the default readiness check will be used unless the yarn.service.default-readiness-check.enabled configuration property is set to false at the component or global level. The artifact field is currently unsupported but may be implemented in the future, enabling a pluggable helper container to support advanced use cases.

NameDescriptionRequiredSchemaDefault
typeDEFAULT (AM checks whether the container has an IP and optionally performs a DNS lookup for the container hostname), HTTP (AM performs default checks, plus sends a REST call to the container and expects a response code between 200 and 299), or PORT (AM performs default checks, plus attempts to open a socket connection to the container on a specified port).trueenum (DEFAULT, HTTP, PORT)
propertiesA blob of key value pairs that will be used to configure the check.falseobject
artifactArtifact of the pluggable readiness check helper container (optional). If specified, this helper container typically hosts the http uri and encapsulates the complex scripts required to perform actual container readiness check. At the end it is expected to respond a 204 No content just like the simplified use case. This pluggable framework benefits service owners who can run services without any packaging modifications. Note, artifacts of type docker only is supported for now. NOT IMPLEMENTED YETfalseArtifact

Resource

Resource determines the amount of resources (vcores, memory, network, etc.) usable by a container. This field determines the resource to be applied for all the containers of a component or service. The resource specified at the service (or global) level can be overriden at the component level. Only one of profile OR cpu & memory are expected. It raises a validation exception otherwise.

NameDescriptionRequiredSchemaDefault
profileEach resource profile has a unique id which is associated with a cluster-level predefined memory, cpus, etc.falsestring
cpusAmount of vcores allocated to each container (optional but overrides cpus in profile if specified).falseinteger (int32)
memoryAmount of memory allocated to each container (optional but overrides memory in profile if specified). Currently accepts only an integer value and default unit is in MB.falsestring
additionalA map of resource type name to resource type information. Including value (integer), and unit (string). This will be used to specify resource other than cpu and memory. Please refer to example below.falseobject

ResourceInformation

ResourceInformation determines unit/value of resource types in addition to memory and vcores. It will be part of Resource object.

NameDescriptionRequiredSchemaDefault
valueInteger value of the resource.falseinteger (int64)
unitUnit of the resource, acceptable values are - p/n/u/m/k/M/G/T/P/Ki/Mi/Gi/Ti/Pi. By default it is empty means no unit.falsestring

Service

a service resource has the following attributes.

NameDescriptionRequiredSchemaDefault
nameA unique service name. If Registry DNS is enabled, the max length is 63 characters.truestring
versionVersion of the service.truestring
descriptionDescription of the service.falsestring
idA unique service id.falsestring
artifactThe default artifact for all components of the service except the components which has Artifact type set to SERVICE (optional).falseArtifact
resourceThe default resource for all components of the service (optional).falseResource
launch_timeThe time when the service was created, e.g. 2016-03-16T01:01:49.000Z.falsestring (date)
number_of_running_containersIn get response this provides the total number of running containers for this service (across all components) at the time of request. Note, a subsequent request can return a different number as and when more containers get allocated until it reaches the total number of containers or if a flex request has been made between the two requests.falseinteger (int64)
lifetimeLife time (in seconds) of the service from the time it reaches the STARTED state (after which it is automatically destroyed by YARN). For unlimited lifetime do not set a lifetime value.falseinteger (int64)
componentsComponents of a service.falseComponent array
configurationConfig properties of a service. Configurations provided at the service/global level are available to all the components. Specific properties can be overridden at the component level.falseConfiguration
stateState of the service. Specifying a value for this attribute for the PUT payload means update the service to this desired state.falseServiceState
quicklinksA blob of key-value pairs of quicklinks to be exported for a service.falseobject
queueThe YARN queue that this service should be submitted to.falsestring
kerberos_principalThe principal info of the user who launches the servicefalseKerberosPrincipal
docker_client_configURI of the file containing the docker client configuration (e.g. hdfs:///tmp/config.json)falsestring

ServiceState

The current state of a service.

NameDescriptionRequiredSchemaDefault
stateenum of the state of the servicefalseenum (ACCEPTED, STARTED, STABLE, STOPPED, FAILED, FLEX)

ServiceStatus

The current status of a submitted service, returned as a response to the GET API.

NameDescriptionRequiredSchemaDefault
diagnosticsDiagnostic information (if any) for the reason of the current state of the service. It typically has a non-null value, if the service is in a non-running state.falsestring
stateService state.falseServiceState
codeAn error code specific to a scenario which service owners should be able to use to understand the failure in addition to the diagnostic information.falseinteger (int32)

Examples

Create a simple single-component service with most attribute values as defaults

POST URL - http://localhost:8088/app/v1/services

POST Request JSON
{
  "name": "hello-world",
  "version": "1.0.0",
  "description": "hello world example",
  "components" :
    [
      {
        "name": "hello",
        "number_of_containers": 2,
        "artifact": {
          "id": "nginx:latest",
          "type": "DOCKER"
        },
        "launch_command": "./start_nginx.sh",
        "resource": {
          "cpus": 1,
          "memory": "256"
        }
      }
    ]
}
GET Response JSON

GET URL - http://localhost:8088/app/v1/services/hello-world

Note, lifetime value of -1 means unlimited lifetime.

{
    "name": "hello-world",
    "version": "1.0.0",
    "description": "hello world example",
    "id": "application_1503963985568_0002",
    "lifetime": -1,
    "state": "STABLE",
    "components": [
        {
            "name": "hello",
            "dependencies": [],
            "state": "STABLE",
            "resource": {
                "cpus": 1,
                "memory": "256"
            },
            "configuration": {
                "properties": {},
                "env": {},
                "files": []
            },
            "quicklinks": [],
            "containers": [
                {
                    "id": "container_e03_1503963985568_0002_01_000002",
                    "ip": "10.22.8.143",
                    "hostname": "ctr-e03-1503963985568-0002-01-000002.example.site",
                    "state": "READY",
                    "launch_time": 1504051512412,
                    "bare_host": "host100.cloud.com",
                    "component_instance_name": "hello-0"
                },
                {
                    "id": "container_e03_1503963985568_0002_01_000003",
                    "ip": "10.22.8.144",
                    "hostname": "ctr-e03-1503963985568-0002-01-000003.example.site",
                    "state": "READY",
                    "launch_time": 1504051536450,
                    "bare_host": "host100.cloud.com",
                    "component_instance_name": "hello-1"
                }
            ],
            "launch_command": "./start_nginx.sh",
            "number_of_containers": 1,
            "run_privileged_container": false
        }
    ],
    "configuration": {
        "properties": {},
        "env": {},
        "files": []
    },
    "quicklinks": {}
}

Update to modify the lifetime of a service

PUT URL - http://localhost:8088/app/v1/services/hello-world

PUT Request JSON

Note, irrespective of what the current lifetime value is, this update request will set the lifetime of the service to be 3600 seconds (1 hour) from the time the request is submitted. Hence, if a a service has remaining lifetime of 5 mins (say) and would like to extend it to an hour OR if an application has remaining lifetime of 5 hours (say) and would like to reduce it down to an hour, then for both scenarios you need to submit the same request below.

{
  "lifetime": 3600
}

Stop a service

PUT URL - http://localhost:8088/app/v1/services/hello-world

PUT Request JSON
{
    "state": "STOPPED"
}

Start a service

PUT URL - http://localhost:8088/app/v1/services/hello-world

PUT Request JSON
{
    "state": "STARTED"
}

Update to flex up/down the no of containers (instances) of a component of a service

PUT URL - http://localhost:8088/app/v1/services/hello-world/components/hello

PUT Request JSON
{
    "number_of_containers": 3
}

Destroy a service

DELETE URL - http://localhost:8088/app/v1/services/hello-world


Create a complicated service - HBase

POST URL - http://localhost:8088:/app/v1/services/hbase-app-1

POST Request JSON
{
  "name": "hbase-app-1",
  "version": "1.0.0",
  "description": "hbase service",
  "lifetime": "3600",
  "components": [
    {
      "name": "hbasemaster",
      "number_of_containers": 1,
      "artifact": {
        "id": "hbase:latest",
        "type": "DOCKER"
      },
      "launch_command": "/usr/hdp/current/hbase-master/bin/hbase master start",
      "resource": {
        "cpus": 1,
        "memory": "2048"
      },
      "configuration": {
        "env": {
          "HBASE_LOG_DIR": "<LOG_DIR>"
        },
        "files": [
          {
            "type": "XML",
            "dest_file": "/etc/hadoop/conf/core-site.xml",
            "properties": {
              "fs.defaultFS": "${CLUSTER_FS_URI}"
            }
          },
          {
            "type": "XML",
            "dest_file": "/etc/hbase/conf/hbase-site.xml",
            "properties": {
              "hbase.cluster.distributed": "true",
              "hbase.zookeeper.quorum": "${CLUSTER_ZK_QUORUM}",
              "hbase.rootdir": "${SERVICE_HDFS_DIR}/hbase",
              "zookeeper.znode.parent": "${SERVICE_ZK_PATH}",
              "hbase.master.hostname": "hbasemaster.${SERVICE_NAME}.${USER}.${DOMAIN}",
              "hbase.master.info.port": "16010"
            }
          }
        ]
      }
    },
    {
      "name": "regionserver",
      "number_of_containers": 3,
      "unique_component_support": "true",
      "artifact": {
        "id": "hbase:latest",
        "type": "DOCKER"
      },
      "launch_command": "/usr/hdp/current/hbase-regionserver/bin/hbase regionserver start",
      "resource": {
        "cpus": 1,
        "memory": "2048"
      },
      "configuration": {
        "env": {
          "HBASE_LOG_DIR": "<LOG_DIR>"
        },
        "files": [
          {
            "type": "XML",
            "dest_file": "/etc/hadoop/conf/core-site.xml",
            "properties": {
              "fs.defaultFS": "${CLUSTER_FS_URI}"
            }
          },
          {
            "type": "XML",
            "dest_file": "/etc/hbase/conf/hbase-site.xml",
            "properties": {
              "hbase.cluster.distributed": "true",
              "hbase.zookeeper.quorum": "${CLUSTER_ZK_QUORUM}",
              "hbase.rootdir": "${SERVICE_HDFS_DIR}/hbase",
              "zookeeper.znode.parent": "${SERVICE_ZK_PATH}",
              "hbase.master.hostname": "hbasemaster.${SERVICE_NAME}.${USER}.${DOMAIN}",
              "hbase.master.info.port": "16010",
              "hbase.regionserver.hostname": "${COMPONENT_INSTANCE_NAME}.${SERVICE_NAME}.${USER}.${DOMAIN}"
            }
          }
        ]
      }
    }
  ],
  "quicklinks": {
    "HBase Master Status UI": "http://hbasemaster0.${SERVICE_NAME}.${USER}.${DOMAIN}:16010/master-status",
    "Proxied HBase Master Status UI": "http://app-proxy/${DOMAIN}/${USER}/${SERVICE_NAME}/hbasemaster/16010/"
  }
}

Create a service requesting GPUs in addition to CPUs and RAM

POST URL - http://localhost:8088/app/v1/services

POST Request JSON
{
  "name": "hello-world",
  "version": "1.0.0",
  "description": "hello world example with GPUs",
  "components" :
    [
      {
        "name": "hello",
        "number_of_containers": 2,
        "artifact": {
          "id": "nginx:latest",
          "type": "DOCKER"
        },
        "launch_command": "./start_nginx.sh",
        "resource": {
          "cpus": 1,
          "memory": "256",
          "additional" : {
            "yarn.io/gpu" : {
              "value" : 4,
              "unit" : ""
            }
          }
        }
      }
    ]
}

Create a service with a component requesting anti-affinity placement policy

POST URL - http://localhost:8088/app/v1/services

POST Request JSON
{
  "name": "hello-world",
  "version": "1.0.0",
  "description": "hello world example with anti-affinity",
  "components" :
    [
      {
        "name": "hello",
        "number_of_containers": 3,
        "artifact": {
          "id": "nginx:latest",
          "type": "DOCKER"
        },
        "launch_command": "./start_nginx.sh",
        "resource": {
          "cpus": 1,
          "memory": "256"
        },
        "placement_policy": {
          "constraints": [
            {
              "type": "ANTI_AFFINITY",
              "scope": "NODE",
              "target_tags": [
                "hello"
              ]
            }
          ]
        }
      }
    ]
}
GET Response JSON

GET URL - http://localhost:8088/app/v1/services/hello-world

Note, that the 3 containers will come up on 3 different nodes. If there are less than 3 NMs running in the cluster, then all 3 container requests will not be fulfilled and the service will be in non-STABLE state.

{
    "name": "hello-world",
    "version": "1.0.0",
    "description": "hello world example with anti-affinity",
    "id": "application_1503963985568_0003",
    "lifetime": -1,
    "state": "STABLE",
    "components": [
        {
            "name": "hello",
            "dependencies": [],
            "state": "STABLE",
            "resource": {
                "cpus": 1,
                "memory": "256"
            },
            "placement_policy": {
              "constraints": [
                {
                  "type": "ANTI_AFFINITY",
                  "scope": "NODE",
                  "node_attributes": {},
                  "node_partitions": [],
                  "target_tags": [
                    "hello"
                  ]
                }
              ]
            },
            "configuration": {
                "properties": {},
                "env": {},
                "files": []
            },
            "quicklinks": [],
            "containers": [
                {
                    "id": "container_e03_1503963985568_0003_01_000002",
                    "ip": "10.22.8.143",
                    "hostname": "ctr-e03-1503963985568-0003-01-000002.example.site",
                    "state": "READY",
                    "launch_time": 1504051512412,
                    "bare_host": "host100.cloud.com",
                    "component_instance_name": "hello-0"
                },
                {
                    "id": "container_e03_1503963985568_0003_01_000003",
                    "ip": "10.22.8.144",
                    "hostname": "ctr-e03-1503963985568-0003-01-000003.example.site",
                    "state": "READY",
                    "launch_time": 1504051536450,
                    "bare_host": "host101.cloud.com",
                    "component_instance_name": "hello-1"
                },
                {
                    "id": "container_e03_1503963985568_0003_01_000004",
                    "ip": "10.22.8.145",
                    "hostname": "ctr-e03-1503963985568-0003-01-000004.example.site",
                    "state": "READY",
                    "launch_time": 1504051536450,
                    "bare_host": "host102.cloud.com",
                    "component_instance_name": "hello-2"
                }
            ],
            "launch_command": "./start_nginx.sh",
            "number_of_containers": 1,
            "run_privileged_container": false
        }
    ],
    "configuration": {
        "properties": {},
        "env": {},
        "files": []
    },
    "quicklinks": {}
}