-
Notifications
You must be signed in to change notification settings - Fork 2k
remove mentions of deprecated Nomad versions in docs #25515
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
sofixa
wants to merge
1
commit into
hashicorp:main
Choose a base branch
from
sofixa:remove_version_specifics
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -271,157 +271,6 @@ the full list. | |
|
||
Nomad never attempts to embed the `alloc_dir` in the chroot as doing so would cause infinite recursion. | ||
|
||
### `options` Parameters | ||
|
||
~> Note: In Nomad 0.9 client configuration options for drivers were deprecated. | ||
Refer to the [plugin block][plugin-block] documentation for more information. | ||
|
||
The following is not an exhaustive list of options for only the Nomad | ||
client. To find the options supported by each individual Nomad driver, | ||
refer to the [drivers documentation](/nomad/docs/drivers). | ||
|
||
- `"driver.allowlist"` `(string: "")` - Specifies a comma-separated list of | ||
allowlisted drivers. If specified, drivers not in the allowlist will be | ||
disabled. If the allowlist is empty, all drivers are fingerprinted and enabled | ||
where applicable. | ||
|
||
```hcl | ||
client { | ||
options = { | ||
"driver.allowlist" = "docker,qemu" | ||
} | ||
} | ||
``` | ||
|
||
- `"driver.denylist"` `(string: "")` - Specifies a comma-separated list of | ||
denylisted drivers. If specified, drivers in the denylist will be | ||
disabled. | ||
|
||
```hcl | ||
client { | ||
options = { | ||
"driver.denylist" = "docker,qemu" | ||
} | ||
} | ||
``` | ||
|
||
- `"env.denylist"` `(string: refer to explanation)` - Specifies a | ||
comma-separated list of environment variable keys not to pass to these tasks. | ||
Nomad passes the host environment variables to `exec`, `raw_exec` and `java` | ||
tasks. If specified, the defaults are overridden. If a value is provided, | ||
**all** defaults are overridden (they are not merged). | ||
|
||
```hcl | ||
client { | ||
options = { | ||
"env.denylist" = "MY_CUSTOM_ENVVAR" | ||
} | ||
} | ||
``` | ||
|
||
The default list is: | ||
|
||
```text | ||
CONSUL_TOKEN | ||
CONSUL_HTTP_TOKEN | ||
CONSUL_HTTP_TOKEN_FILE | ||
NOMAD_TOKEN | ||
VAULT_TOKEN | ||
CONSUL_LICENSE | ||
NOMAD_LICENSE | ||
VAULT_LICENSE | ||
CONSUL_LICENSE_PATH | ||
NOMAD_LICENSE_PATH | ||
VAULT_LICENSE_PATH | ||
AWS_ACCESS_KEY_ID | ||
AWS_SECRET_ACCESS_KEY | ||
AWS_SESSION_TOKEN | ||
AWS_METADATA_URL | ||
GOOGLE_APPLICATION_CREDENTIALS | ||
GOOGLE_OAUTH_ACCESS_TOKEN | ||
``` | ||
|
||
- `"user.denylist"` `(string: refer to explanation)` - Specifies a | ||
comma-separated denylist of usernames for which a task is not allowed to run. | ||
This only applies if the driver is included in `"user.checked_drivers"`. If a | ||
value is provided, **all** defaults are overridden (they are not merged). | ||
|
||
```hcl | ||
client { | ||
options = { | ||
"user.denylist" = "root,ubuntu" | ||
} | ||
} | ||
``` | ||
|
||
The default list is: | ||
|
||
```text | ||
root | ||
Administrator | ||
``` | ||
|
||
- `"user.checked_drivers"` `(string: refer to explanation)` - Specifies a | ||
comma-separated list of drivers for which to enforce the `"user.denylist"`. | ||
For drivers using containers, this enforcement is usually unnecessary. If a | ||
value is provided, **all** defaults are overridden (they are not merged). | ||
|
||
```hcl | ||
client { | ||
options = { | ||
"user.checked_drivers" = "exec,raw_exec" | ||
} | ||
} | ||
``` | ||
|
||
The default list is: | ||
|
||
```text | ||
exec | ||
qemu | ||
java | ||
``` | ||
|
||
- `"fingerprint.allowlist"` `(string: "")` - Specifies a comma-separated list of | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Are these fingerprinting parameters related to drivers? I thought the client agent does the fingerprinting. |
||
allowlisted fingerprinters. If specified, any fingerprinters not in the | ||
allowlist will be disabled. If the allowlist is empty, all fingerprinters are | ||
used. | ||
|
||
```hcl | ||
client { | ||
options = { | ||
"fingerprint.allowlist" = "network" | ||
} | ||
} | ||
``` | ||
|
||
- `"fingerprint.denylist"` `(string: "")` - Specifies a comma-separated list of | ||
denylisted fingerprinters. If specified, any fingerprinters in the denylist | ||
will be disabled. A common use-case for the fingerprint denylist is to disable | ||
fingerprinters of irrelevant cloud environments, which can slow down client | ||
agent startup time. | ||
|
||
```hcl | ||
client { | ||
options = { | ||
"fingerprint.denylist" = "env_aws,env_gce,env_azure,env_digitalocean" | ||
} | ||
} | ||
``` | ||
|
||
- `"fingerprint.network.disallow_link_local"` `(string: "false")` - Specifies | ||
whether the network fingerprinter should ignore link-local addresses in the | ||
case that no globally routable address is found. The fingerprinter will always | ||
prefer globally routable addresses. | ||
|
||
```hcl | ||
client { | ||
options = { | ||
"fingerprint.network.disallow_link_local" = "true" | ||
} | ||
} | ||
``` | ||
|
||
### `reserved` Parameters | ||
|
||
- `cpu` `(int: 0)` - Specifies the amount of CPU to reserve, in MHz. | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These are still deprecated, but they have not been removed. We should not remove this section, as some of the values don't have replacements yet. See #12420