Skip to content

Commit

Permalink
Merge pull request hashicorp#8911 from hashicorp/f-task_network_warni…
Browse files Browse the repository at this point in the history
…ng-smaller

Smaller 0.12 mbit deprecation PR
  • Loading branch information
Mahmood Ali authored and teutat3s committed Oct 27, 2020
1 parent eda3232 commit ae9d099
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion website/pages/docs/job-specification/network.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ job "docs" {

## `network` Parameters

- `mbits` <code>([_deprecated_](/docs/upgrade/upgrade-specific#nomad-0-12-0) int: 10)</code> - Specifies the bandwidth required in MBits.
- `mbits` <code>([*deprecated*](/docs/upgrade/upgrade-specific#nomad-0-12-0) int: 10)</code> - Specifies the bandwidth required in MBits.

- `port` <code>([Port](#port-parameters): nil)</code> - Specifies a TCP/UDP port
allocation and can be used to specify both dynamic ports and reserved ports.
Expand Down
2 changes: 1 addition & 1 deletion website/pages/docs/upgrade/upgrade-specific.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ v0.12.7. To work around the bug, use a relative path.
### `mbits` and Task Network Resource deprecation

Starting in Nomad 0.12.0 the `mbits` field of the network resource block has
been deprecated. This is in part because we felt that `mbits` didn't
been deprecated. This is in part because we felt that `mbits` didn't
accurately account network bandwidth as a resource.

Additionally the use of the `network` block inside of a task's `resource` block is
Expand Down

0 comments on commit ae9d099

Please sign in to comment.