open-nomad/website/content/docs/job-specification
Seth Hoenig 69ced2a2bd
services: remove assertion on 'task' field being set (#14864)
This PR removes the assertion around when the 'task' field of
a check may be set. Starting in Nomad 1.4 we automatically set
the task field on all checks in support of the NSD checks feature.

This is causing validation problems elsewhere, e.g. when a group
service using the Consul provider sets 'task' it will fail
validation that worked previously.

The assertion of leaving 'task' unset was only about making sure
job submitters weren't expecting some behavior, but in practice
is causing bugs now that we need the task field for more than it
was originally added for.

We can simply update the docs, noting when the task field set by
job submitters actually has value.
2022-10-10 13:02:33 -05:00
..
hcl2 website: content updates for developer (#14473) 2022-09-16 10:38:39 -05:00
affinity.mdx docs: fix examples for set_contains_all and set_contains_any (#12093) 2022-03-07 13:55:57 -05:00
artifact.mdx docs: rename Internals to Concepts (#13696) 2022-07-11 16:55:33 -04:00
change_script.mdx docs: template change script example correction (#14368) 2022-08-30 12:09:55 +02:00
check.mdx services: remove assertion on 'task' field being set (#14864) 2022-10-10 13:02:33 -05:00
check_restart.mdx docs: update docs for NSD check restart 2022-09-13 09:59:02 -05:00
connect.mdx website: content updates for developer (#14473) 2022-09-16 10:38:39 -05:00
constraint.mdx core: numeric operands comparisons in constraints (#14722) 2022-09-27 11:07:07 -05:00
csi_plugin.mdx Add stage_publish_base_dir field to csi_plugin stanza of a job (#13919) 2022-08-02 09:42:44 -04:00
device.mdx feat(website): migrates to new nav data format (#10264) 2021-03-31 08:43:17 -05:00
dispatch_payload.mdx feat(website): migrates to new nav data format (#10264) 2021-03-31 08:43:17 -05:00
env.mdx docs: note env and meta map assignment syntax (#11095) 2021-08-29 14:35:09 -04:00
ephemeral_disk.mdx Update ephemeral_disk.mdx (#14356) 2022-08-31 20:17:41 -04:00
expose.mdx docker: update images to reference hashicorpdev Docker organization (#12903) 2022-06-08 15:06:00 -04:00
gateway.mdx website: content updates for developer (#14473) 2022-09-16 10:38:39 -05:00
group.mdx heartbeat_grace is a server parameter (#13288) 2022-06-08 10:49:23 -04:00
index.mdx feat(website): migrates to new nav data format (#10264) 2021-03-31 08:43:17 -05:00
job.mdx docs: job-specification: Explain that priority has no effect on run order (#13835) 2022-07-19 08:55:29 -04:00
lifecycle.mdx website: content updates for developer (#14473) 2022-09-16 10:38:39 -05:00
logs.mdx feat(website): migrates to new nav data format (#10264) 2021-03-31 08:43:17 -05:00
meta.mdx docs: add some extra documentation around client host environment variables (#11208) 2021-09-21 17:23:30 -04:00
migrate.mdx feat(website): migrates to new nav data format (#10264) 2021-03-31 08:43:17 -05:00
multiregion.mdx link from dispatch command 2022-09-28 08:30:22 -04:00
network.mdx docs/job-spec: Fix formatting in network page (#13228) 2022-06-06 10:14:12 -04:00
parameterized.mdx Apply suggestions from code review 2022-09-28 08:18:56 -04:00
periodic.mdx Docs(job-specification/periodic): Add enabled toggle (#14767) 2022-10-03 15:08:24 -04:00
proxy.mdx connect: interpolate task env in config values (#14445) 2022-09-02 15:00:28 -04:00
reschedule.mdx core: implement system batch scheduler 2021-08-03 10:30:47 -04:00
resources.mdx add a section about memory oversubscription (#10573) 2021-05-13 13:35:51 -04:00
restart.mdx Sweep of docs for repeated words; minor edits (#14032) 2022-08-05 16:45:30 -04:00
scaling.mdx docs: fix placement for scaling and csi_plugin (#13892) 2022-07-25 10:06:59 -04:00
service.mdx website: content updates for developer (#14473) 2022-09-16 10:38:39 -05:00
sidecar_service.mdx docker: update images to reference hashicorpdev Docker organization (#12903) 2022-06-08 15:06:00 -04:00
sidecar_task.mdx connect: interpolate task env in config values (#14445) 2022-09-02 15:00:28 -04:00
spread.mdx Sweep of docs for repeated words; minor edits (#14032) 2022-08-05 16:45:30 -04:00
task.mdx docs: update task leader to explain shutdown sequence. (#13498) 2022-06-29 05:13:45 -04:00
template.mdx website: content updates for developer (#14473) 2022-09-16 10:38:39 -05:00
update.mdx docs: clarify that a default update strategy is used when update strategy is omitted 2021-05-10 08:27:22 -04:00
upstreams.mdx website: content updates for developer (#14473) 2022-09-16 10:38:39 -05:00
vault.mdx website: content updates for developer (#14473) 2022-09-16 10:38:39 -05:00
volume.mdx cli: update default redis and use nomad service discovery 2022-05-17 10:24:19 -05:00
volume_mount.mdx feat(website): migrates to new nav data format (#10264) 2021-03-31 08:43:17 -05:00