docs: update all URLs to developer.hashicorp.com (#16247)

This commit is contained in:
Kerim Satirli
2023-10-24 17:00:11 +02:00
committed by GitHub
parent 951cde4e3b
commit 5e1bbf90fc
65 changed files with 155 additions and 155 deletions

View File

@@ -26,7 +26,7 @@ Usage: nomad acl binding-rule <subcommand> [options] [args]
This command groups subcommands for interacting with ACL binding rules.
Nomad's ACL system can be used to control access to data and APIs. For a full
guide see: https://www.nomadproject.io/guides/acl.html
guide see: https://developer.hashicorp.com/nomad/tutorials/access-control
Create an ACL binding rule:

View File

@@ -20,7 +20,7 @@ Usage: nomad acl policy <subcommand> [options] [args]
This command groups subcommands for interacting with ACL policies. Nomad's ACL
system can be used to control access to data and APIs. ACL policies allow a
set of capabilities or actions to be granted or allowlisted. For a full guide
see: https://www.nomadproject.io/guides/acl.html
see: https://developer.hashicorp.com/nomad/tutorials/access-control
Create an ACL policy:

View File

@@ -28,7 +28,7 @@ Usage: nomad acl role <subcommand> [options] [args]
This command groups subcommands for interacting with ACL roles. Nomad's ACL
system can be used to control access to data and APIs. ACL roles are
associated with one or more ACL policies which grant specific capabilities.
For a full guide see: https://www.nomadproject.io/guides/acl.html
For a full guide see: https://developer.hashicorp.com/nomad/tutorials/access-control
Create an ACL role:

View File

@@ -20,7 +20,7 @@ Usage: nomad acl token <subcommand> [options] [args]
This command groups subcommands for interacting with ACL tokens. Nomad's ACL
system can be used to control access to data and APIs. ACL tokens are
associated with one or more ACL policies which grant specific capabilities.
For a full guide see: https://www.nomadproject.io/guides/acl.html
For a full guide see: https://developer.hashicorp.com/nomad/tutorials/access-control
Create an ACL token:

View File

@@ -693,7 +693,7 @@ func (a *Agent) finalizeClientConfig(c *clientconfig.Config) error {
if len(invalidConsulKeys) > 0 {
a.logger.Warn("invalid consul keys", "keys", strings.Join(invalidConsulKeys, ","))
a.logger.Warn(`Nomad client ignores consul related configuration in client options.
Please refer to the guide https://www.nomadproject.io/docs/agent/configuration/consul.html
Please refer to the guide https://developer.hashicorp.com/nomad/docs/configuration/consul
to configure Nomad to work with Consul.`)
}

View File

@@ -93,7 +93,7 @@ func environment() map[string]string {
// DefaultEnvDenyList is the default set of environment variables that are
// filtered when passing the environment variables of the host to the task.
//
// Update https://www.nomadproject.io/docs/configuration/client#env-denylist
// Update https://developer.hashicorp.com/nomad/docs/configuration/client#env-denylist
// whenever this is changed.
var DefaultEnvDenyList = []string{
"CONSUL_TOKEN",

View File

@@ -16,7 +16,7 @@ func init() {
<html>
<p>Nomad UI is not available in this binary. To get Nomad UI do one of the following:</p>
<ul>
<li><a href="https://www.nomadproject.io/downloads.html">Download an official release</a></li>
<li><a href="https://developer.hashicorp.com/nomad/downloads">Download an official release</a></li>
<li>Run <pre>make release</pre> to create your own release binaries.
<li>Run <pre>make dev-ui</pre> to create a development binary with the UI.
</ul>

View File

@@ -9,7 +9,7 @@
# For more information and examples on the "job" block, please see
# the online documentation at:
#
# https://www.nomadproject.io/docs/job-specification/job.html
# https://developer.hashicorp.com/nomad/docs/job-specification/job.html
#
job "countdash" {
# The "region" parameter specifies the region in which to execute the job. If
@@ -28,7 +28,7 @@ job "countdash" {
#
# For more information, please see the online documentation at:
#
# https://www.nomadproject.io/docs/jobspec/schedulers.html
# https://developer.hashicorp.com/nomad/docs/jobspec/schedulers.html
#
type = "service"
@@ -39,7 +39,7 @@ job "countdash" {
# For more information and examples on the "constraint" block, please see
# the online documentation at:
#
# https://www.nomadproject.io/docs/job-specification/constraint.html
# https://developer.hashicorp.com/nomad/docs/job-specification/constraint.html
#
# constraint {
# attribute = "${attr.kernel.name}"
@@ -56,7 +56,7 @@ job "countdash" {
# For more information and examples on the "update" block, please see
# the online documentation at:
#
# https://www.nomadproject.io/docs/job-specification/update.html
# https://developer.hashicorp.com/nomad/docs/job-specification/update.html
#
update {
# The "max_parallel" parameter specifies the maximum number of updates to
@@ -106,7 +106,7 @@ job "countdash" {
# For more information on the "migrate" block, please see
# the online documentation at:
#
# https://www.nomadproject.io/docs/job-specification/migrate.html
# https://developer.hashicorp.com/nomad/docs/job-specification/migrate.html
#
migrate {
# Specifies the number of task groups that can be migrated at the same
@@ -135,7 +135,7 @@ job "countdash" {
# For more information and examples on the "group" block, please see
# the online documentation at:
#
# https://www.nomadproject.io/docs/job-specification/group.html
# https://developer.hashicorp.com/nomad/docs/job-specification/group.html
#
group "api" {
# The "count" parameter specifies the number of the task groups that should
@@ -149,7 +149,7 @@ job "countdash" {
# For more information and examples on the "restart" block, please see
# the online documentation at:
#
# https://www.nomadproject.io/docs/job-specification/restart.html
# https://developer.hashicorp.com/nomad/docs/job-specification/restart.html
#
restart {
# The number of attempts to run the job within the specified interval.
@@ -175,7 +175,7 @@ job "countdash" {
# For more information and examples on the "ephemeral_disk" block, please
# see the online documentation at:
#
# https://www.nomadproject.io/docs/job-specification/ephemeral_disk.html
# https://developer.hashicorp.com/nomad/docs/job-specification/ephemeral_disk.html
#
ephemeral_disk {
# When sticky is true and the task group is updated, the scheduler
@@ -199,7 +199,7 @@ job "countdash" {
# For more information and examples on the "affinity" block, please
# see the online documentation at:
#
# https://www.nomadproject.io/docs/job-specification/affinity.html
# https://developer.hashicorp.com/nomad/docs/job-specification/affinity.html
#
# affinity {
# # attribute specifies the name of a node attribute or metadata
@@ -222,7 +222,7 @@ job "countdash" {
# For more information and examples on the "spread" block, please
# see the online documentation at:
#
# https://www.nomadproject.io/docs/job-specification/spread.html
# https://developer.hashicorp.com/nomad/docs/job-specification/spread.html
#
# spread {
# # attribute specifies the name of a node attribute or metadata
@@ -302,7 +302,7 @@ job "countdash" {
# For more information and examples on the "task" block, please see
# the online documentation at:
#
# https://www.nomadproject.io/docs/job-specification/task.html
# https://developer.hashicorp.com/nomad/docs/job-specification/task.html
#
task "web" {
# The "driver" parameter specifies the task driver that should be used to
@@ -331,7 +331,7 @@ job "countdash" {
# For more information and examples on the "artifact" block, please see
# the online documentation at:
#
# https://www.nomadproject.io/docs/job-specification/artifact.html
# https://developer.hashicorp.com/nomad/docs/job-specification/artifact.html
#
# artifact {
# source = "http://foo.com/artifact.tar.gz"
@@ -349,7 +349,7 @@ job "countdash" {
# For more information and examples on the "logs" block, please see
# the online documentation at:
#
# https://www.nomadproject.io/docs/job-specification/logs.html
# https://developer.hashicorp.com/nomad/docs/job-specification/logs.html
#
# logs {
# max_files = 10
@@ -372,7 +372,7 @@ job "countdash" {
# For more information and examples on the "resources" block, please see
# the online documentation at:
#
# https://www.nomadproject.io/docs/job-specification/resources.html
# https://developer.hashicorp.com/nomad/docs/job-specification/resources.html
#
resources {
cpu = 500 # 500 MHz

View File

@@ -9,7 +9,7 @@
# For more information and examples on the "job" block, please see
# the online documentation at:
#
# https://www.nomadproject.io/docs/job-specification/job
# https://developer.hashicorp.com/nomad/docs/job-specification/job
#
job "example" {
# The "region" parameter specifies the region in which to execute the job.
@@ -28,7 +28,7 @@ job "example" {
#
# For more information, please see the online documentation at:
#
# https://www.nomadproject.io/docs/schedulers
# https://developer.hashicorp.com/nomad/docs/schedulers
#
type = "service"
@@ -39,7 +39,7 @@ job "example" {
# For more information and examples on the "constraint" block, please see
# the online documentation at:
#
# https://www.nomadproject.io/docs/job-specification/constraint
# https://developer.hashicorp.com/nomad/docs/job-specification/constraint
#
# constraint {
# attribute = "${attr.kernel.name}"
@@ -56,7 +56,7 @@ job "example" {
# For more information and examples on the "update" block, please see
# the online documentation at:
#
# https://www.nomadproject.io/docs/job-specification/update
# https://developer.hashicorp.com/nomad/docs/job-specification/update
#
update {
# The "max_parallel" parameter specifies the maximum number of updates to
@@ -106,7 +106,7 @@ job "example" {
# For more information on the "migrate" block, please see
# the online documentation at:
#
# https://www.nomadproject.io/docs/job-specification/migrate
# https://developer.hashicorp.com/nomad/docs/job-specification/migrate
#
migrate {
# Specifies the number of task groups that can be migrated at the same
@@ -135,7 +135,7 @@ job "example" {
# For more information and examples on the "group" block, please see
# the online documentation at:
#
# https://www.nomadproject.io/docs/job-specification/group
# https://developer.hashicorp.com/nomad/docs/job-specification/group
#
group "cache" {
# The "count" parameter specifies the number of the task groups that should
@@ -149,7 +149,7 @@ job "example" {
# For more information and examples on the "network" block, please see
# the online documentation at:
#
# https://www.nomadproject.io/docs/job-specification/network
# https://developer.hashicorp.com/nomad/docs/job-specification/network
#
network {
port "db" {
@@ -165,7 +165,7 @@ job "example" {
# For more information and examples on the "service" block, please see
# the online documentation at:
#
# https://www.nomadproject.io/docs/job-specification/service
# https://developer.hashicorp.com/nomad/docs/job-specification/service
#
service {
name = "redis-cache"
@@ -193,7 +193,7 @@ job "example" {
# For more information and examples on the "restart" block, please see
# the online documentation at:
#
# https://www.nomadproject.io/docs/job-specification/restart
# https://developer.hashicorp.com/nomad/docs/job-specification/restart
#
restart {
# The number of attempts to run the job within the specified interval.
@@ -219,7 +219,7 @@ job "example" {
# For more information and examples on the "ephemeral_disk" block, please
# see the online documentation at:
#
# https://www.nomadproject.io/docs/job-specification/ephemeral_disk
# https://developer.hashicorp.com/nomad/docs/job-specification/ephemeral_disk
#
ephemeral_disk {
# When sticky is true and the task group is updated, the scheduler
@@ -243,7 +243,7 @@ job "example" {
# For more information and examples on the "affinity" block, please
# see the online documentation at:
#
# https://www.nomadproject.io/docs/job-specification/affinity
# https://developer.hashicorp.com/nomad/docs/job-specification/affinity
#
# affinity {
# attribute specifies the name of a node attribute or metadata
@@ -268,7 +268,7 @@ job "example" {
# For more information and examples on the "spread" block, please
# see the online documentation at:
#
# https://www.nomadproject.io/docs/job-specification/spread
# https://developer.hashicorp.com/nomad/docs/job-specification/spread
#
# spread {
# attribute specifies the name of a node attribute or metadata
@@ -292,7 +292,7 @@ job "example" {
# For more information and examples on the "task" block, please see
# the online documentation at:
#
# https://www.nomadproject.io/docs/job-specification/task
# https://developer.hashicorp.com/nomad/docs/job-specification/task
#
task "redis" {
# The "driver" parameter specifies the task driver that should be used to
@@ -322,7 +322,7 @@ job "example" {
# For more information and examples on the "artifact" block, please see
# the online documentation at:
#
# https://www.nomadproject.io/docs/job-specification/artifact
# https://developer.hashicorp.com/nomad/docs/job-specification/artifact
#
# artifact {
# source = "http://foo.com/artifact.tar.gz"
@@ -339,7 +339,7 @@ job "example" {
# For more information and examples on the "logs" block, please see
# the online documentation at:
#
# https://www.nomadproject.io/docs/job-specification/logs
# https://developer.hashicorp.com/nomad/docs/job-specification/logs
#
# logs {
# max_files = 10
@@ -362,7 +362,7 @@ job "example" {
# For more information and examples on the "resources" block, please see
# the online documentation at:
#
# https://www.nomadproject.io/docs/job-specification/resources
# https://developer.hashicorp.com/nomad/docs/job-specification/resources
#
resources {
cpu = 500 # 500 MHz
@@ -377,7 +377,7 @@ job "example" {
# For more information and examples on the "template" block, please see
# the online documentation at:
#
# https://www.nomadproject.io/docs/job-specification/template
# https://developer.hashicorp.com/nomad/docs/job-specification/template
#
# template {
# data = "---\nkey: {{ key \"service/my-key\" }}"
@@ -406,7 +406,7 @@ job "example" {
# For more information and examples on the "vault" block, please see
# the online documentation at:
#
# https://www.nomadproject.io/docs/job-specification/vault
# https://developer.hashicorp.com/nomad/docs/job-specification/vault
#
# vault {
# policies = ["cdn", "frontend"]

View File

@@ -24,7 +24,7 @@ Usage: nomad license <subcommand> [options] [args]
This command has subcommands for managing the Nomad Enterprise license.
For more detailed examples see:
https://www.nomadproject.io/docs/commands/license/
https://developer.hashicorp.com/nomad/docs/commands/license
Retrieve the server's license:

View File

@@ -22,7 +22,7 @@ Usage: nomad namespace <subcommand> [options] [args]
This command groups subcommands for interacting with namespaces. Namespaces
allow jobs and their associated objects to be segmented from each other and
other users of the cluster. For a full guide on namespaces see:
https://learn.hashicorp.com/tutorials/nomad/namespaces
https://developer.hashicorp.com/nomad/tutorials/manage-clusters/namespaces
Create or update a namespace:

View File

@@ -30,7 +30,7 @@ Usage: nomad operator autopilot <subcommand> [options]
This command groups subcommands for interacting with Nomad's Autopilot
subsystem. Autopilot provides automatic, operator-friendly management of Nomad
servers. The command can be used to view or modify the current Autopilot
configuration. For a full guide see: https://www.nomadproject.io/guides/autopilot.html
configuration. For a full guide see: https://developer.hashicorp.com/nomad/tutorials/manage-clusters/autopilot
Get the current Autopilot configuration:

View File

@@ -930,7 +930,7 @@ func (c *OperatorDebugCommand) collectAgentHost(path, id string, client *api.Cli
if strings.Contains(err.Error(), api.PermissionDeniedErrorContent) {
// Drop a hint to help the operator resolve the error
c.Ui.Warn("Agent host retrieval requires agent:read ACL or enable_debug=true. See https://www.nomadproject.io/api-docs/agent#host for more information.")
c.Ui.Warn("Agent host retrieval requires agent:read ACL or enable_debug=true. See https://developer.hashicorp.com/nomad/api-docs/agent#host for more information.")
}
return // exit on any error
}
@@ -1024,7 +1024,7 @@ func (c *OperatorDebugCommand) collectPprof(path, id string, client *api.Client,
// one permission failure before we bail.
// But lets first drop a hint to help the operator resolve the error
c.Ui.Warn("Pprof retrieval requires agent:write ACL or enable_debug=true. See https://www.nomadproject.io/api-docs/agent#agent-runtime-profiles for more information.")
c.Ui.Warn("Pprof retrieval requires agent:write ACL or enable_debug=true. See https://developer.hashicorp.com/nomad/api-docs/agent#agent-runtime-profiles for more information.")
return // only exit on 403
}
} else {

View File

@@ -23,7 +23,7 @@ Usage: nomad quota <subcommand> [options] [args]
quotas allow operators to restrict the aggregate resource usage of namespaces.
Users can inspect existing quota specifications, create new quotas, delete and
list existing quotas, and more. For a full guide on resource quotas see:
https://www.nomadproject.io/guides/quotas.html
https://developer.hashicorp.com/nomad/tutorials/governance-and-policy/quotas
Examine a quota's status:

View File

@@ -24,7 +24,7 @@ Usage: nomad sentinel <subcommand> [options] [args]
Sentinel integration builds on the ACL System. Users can read existing
Sentinel policies, create new policies, delete and list existing policies, and
more. For a full guide on Sentinel policies see:
https://www.nomadproject.io/guides/sentinel-policy.html
https://developer.hashicorp.com/nomad/tutorials/governance-and-policy/sentinel
Read an existing policy:

View File

@@ -38,7 +38,7 @@ Usage: nomad var <subcommand> [options] [args]
Users can create new variables; list, inspect, and delete existing
variables, and more. For a full guide on variables see:
https://www.nomadproject.io/docs/concepts/variables
https://developer.hashicorp.com/nomad/docs/concepts/variables
Create a variable specification file: