Unverified Commit 5a2e3294 authored by James Rasell's avatar James Rasell Committed by GitHub
Browse files

Merge pull request #11577 from hashicorp/b-gh-11576

docs: add deprecation note to old style network task env vars.
Showing with 15 additions and 10 deletions
+15 -10
......@@ -196,8 +196,9 @@
<code>NOMAD_IP_&lt;task&gt;_&lt;label&gt;</code>
</td>
<td>
Host IP for the given port <code>label</code> and <code>task</code> for
tasks in the same task group.
<b>Deprecated</b>. Host IP for the given port <code>label</code>
and <code>task</code> for tasks in the same task group. Only available
when setting ports via the task resource network port mapping.
</td>
</tr>
<tr>
......@@ -205,10 +206,11 @@
<code>NOMAD_PORT_&lt;task&gt;_&lt;label&gt;</code>
</td>
<td>
Port for the given port <code>label</code> and <code>task</code> for
tasks in the same task group. Driver-specified port when a port map is
used, otherwise the host's static or dynamic port allocation.
Services should bind to this port.
<b>Deprecated</b>. Port for the given port <code>label</code> and
<code>task</code> for tasks in the same task group. Driver-specified port
when a port map is used, otherwise the host's static or dynamic port
allocation. Services should bind to this port. Only available when setting
ports via the task resource network port mapping.
</td>
</tr>
<tr>
......@@ -216,8 +218,10 @@
<code>NOMAD_ADDR_&lt;task&gt;_&lt;label&gt;</code>
</td>
<td>
Host <code>IP:Port</code> pair for the given port <code>label</code> and
<code>task</code> for tasks in the same task group.
<b>Deprecated</b>. Host <code>IP:Port</code> pair for the given port
<code>label</code> and <code>task</code> for tasks in the same task group.
Only available when setting ports via the task resource network port
mapping.
</td>
</tr>
<tr>
......@@ -225,8 +229,9 @@
<code>NOMAD_HOST_PORT_&lt;task&gt;_&lt;label&gt;</code>
</td>
<td>
Port on the host for the port <code>label</code> and <code>task</code>
for tasks in the same task group.
<b>Deprecated</b>. Port on the host for the port <code>label</code> and
<code>task</code> for tasks in the same task group. Only available when
setting ports via the task resource network port mapping.
</td>
</tr>
<tr>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment