From 76eb8318e2f3999054fef006701e18b6f268cd90 Mon Sep 17 00:00:00 2001 From: Pete Shima Date: Fri, 18 Mar 2016 21:32:56 -0700 Subject: [PATCH] Minor updates to Interpreted Variables docs --- .../source/docs/jobspec/interpreted.html.md | 23 ++++++++++++------- 1 file changed, 15 insertions(+), 8 deletions(-) diff --git a/website/source/docs/jobspec/interpreted.html.md b/website/source/docs/jobspec/interpreted.html.md index 0fdeb0c5d..a912784e8 100644 --- a/website/source/docs/jobspec/interpreted.html.md +++ b/website/source/docs/jobspec/interpreted.html.md @@ -65,30 +65,37 @@ driver. Variable Description + Example ${node.unique.id} - The client node identifier + The 36 character unique client node identifier + 9afa5da1-8f39-25a2-48dc-ba31fd7c0023 ${node.datacenter} - The client node datacenter + The client node's datacenter + dc1 ${node.unique.name} - The client node name + The client node's name + nomad-client-10-1-2-4 ${node.class} - The client node class + The client node's class + linux-64bit ${attr.\} The attribute given by `key` on the client node. + platform.aws.instance-type:r3.large ${meta.\} The metadata value given by `key` on the client node. + @@ -177,19 +184,19 @@ a particular node and as such can not be used in constraints. The CPU limit in MHz for the task - NOMAD_ALLOC_ID + ${NOMAD_ALLOC_ID} The allocation ID of the task - NOMAD_ALLOC_NAME + ${NOMAD_ALLOC_NAME} The allocation name of the task - NOMAD_ALLOC_INDEX + ${NOMAD_ALLOC_INDEX} The allocation index; useful to distinguish instances of task groups - NOMAD_TASK_NAME + ${NOMAD_TASK_NAME} The task's name