open-nomad/nomad/structs
Tim Gross 19a2c065f4
System and sysbatch jobs always have zero index (#16030)
Service jobs should have unique allocation Names, derived from the
Job.ID. System jobs do not have unique allocation Names because the index is
intended to indicated the instance out of a desired count size. Because system
jobs do not have an explicit count but the results are based on the targeted
nodes, the index is less informative and this was intentionally omitted from the
original design.

Update docs to make it clear that NOMAD_ALLOC_INDEX is always zero for 
system/sysbatch jobs

Validate that `volume.per_alloc` is incompatible with system/sysbatch jobs.
System and sysbatch jobs always have a `NOMAD_ALLOC_INDEX` of 0. So
interpolation via `per_alloc` will not work as soon as there's more than one
allocation placed. Validate against this on job submission.
2023-02-02 16:18:01 -05:00
..
config renamed stanza to block for consistency with other projects (#15941) 2023-01-30 15:48:43 +01:00
acl.go acl: fix a bug in token creation when parsing expiration TTLs. (#15999) 2023-02-01 17:43:41 +01:00
acl_test.go sso: allow binding rules to create management ACL tokens. (#15860) 2023-01-26 09:57:44 +01:00
alloc.go Add Namespace, Job and Group to envoy stats (#14311) 2022-09-22 10:38:21 -04:00
alloc_test.go client: fixed a problem calculating a service namespace. (#13493) 2022-06-28 09:47:28 +02:00
autopilot.go migrate autopilot implementation to raft-autopilot (#14441) 2022-09-01 14:27:10 -04:00
batch_future.go
batch_future_test.go
bitmap.go
bitmap_test.go
check_test.go cleanup: use constants for on_update values 2022-07-21 13:09:47 -05:00
checks.go cleanup: use constants for on_update values 2022-07-21 13:09:47 -05:00
connect.go
connect_test.go
consul.go cleanup: rename Equals to Equal for consistency (#14759) 2022-10-10 09:28:46 -05:00
consul_oss.go
consul_oss_test.go
consul_test.go cleanup: rename Equals to Equal for consistency (#14759) 2022-10-10 09:28:46 -05:00
csi.go renamed stanza to block for consistency with other projects (#15941) 2023-01-30 15:48:43 +01:00
csi_test.go
devices.go scheduler: stopped-yet-running allocs are still running (#10446) 2022-09-13 12:52:47 -07:00
devices_test.go scheduler: stopped-yet-running allocs are still running (#10446) 2022-09-13 12:52:47 -07:00
diff.go Add option to expose workload token to task (#15755) 2023-02-02 10:59:14 -08:00
diff_test.go Add option to expose workload token to task (#15755) 2023-02-02 10:59:14 -08:00
encoding.go
errors.go Pre forwarding authentication (#15417) 2022-12-06 14:44:03 -05:00
errors_test.go
eval.go eval delete: move batching of deletes into RPC handler and state (#15117) 2022-11-14 14:08:13 -05:00
event.go events: add ACL binding rules to core events stream topics. (#15544) 2022-12-14 14:49:49 +01:00
extensions.go keyring: wrap root key in key encryption key (#14388) 2022-08-30 10:59:25 -04:00
funcs.go cleanup more helper updates (#14638) 2022-09-21 14:53:25 -05:00
funcs_test.go scheduler: stopped-yet-running allocs are still running (#10446) 2022-09-13 12:52:47 -07:00
generate.sh workload identity (#13223) 2022-07-11 13:34:05 -04:00
handlers.go
job.go servicedisco: implicit constraint for nomad v1.4 when using nsd checks (#14868) 2022-10-11 08:21:42 -05:00
job_test.go servicedisco: implicit constraint for nomad v1.4 when using nsd checks (#14868) 2022-10-11 08:21:42 -05:00
keyring.go keyring: safely handle missing keys and restore GC (#15092) 2022-11-01 15:00:50 -04:00
network.go renamed stanza to block for consistency with other projects (#15941) 2023-01-30 15:48:43 +01:00
network_test.go scheduler: stopped-yet-running allocs are still running (#10446) 2022-09-13 12:52:47 -07:00
node.go cleanup more helper updates (#14638) 2022-09-21 14:53:25 -05:00
node_class.go
node_class_test.go build: run gofmt on all go source files 2022-08-16 11:14:11 -05:00
node_test.go
operator.go renamed stanza to block for consistency with other projects (#15941) 2023-01-30 15:48:43 +01:00
search.go rename SecureVariables to Variables throughout 2022-08-26 16:06:24 -04:00
service_identities.go
service_registration.go cleanup: rename Equals to Equal for consistency (#14759) 2022-10-10 09:28:46 -05:00
service_registration_test.go cleanup: rename Equals to Equal for consistency (#14759) 2022-10-10 09:28:46 -05:00
services.go Rename fields on proxyConfig (#15541) 2023-01-30 09:31:16 -06:00
services_test.go renamed stanza to block for consistency with other projects (#15941) 2023-01-30 15:48:43 +01:00
streaming_rpc.go
structs.go System and sysbatch jobs always have zero index (#16030) 2023-02-02 16:18:01 -05:00
structs_codegen.go
structs_oss.go
structs_periodic_test.go build: run gofmt on all go source files 2022-08-16 11:14:11 -05:00
structs_test.go Add option to expose workload token to task (#15755) 2023-02-02 10:59:14 -08:00
testing.go
uuid.go core: allow deleting of evaluations (#13492) 2022-07-06 16:30:11 +02:00
variables.go [feat] Nomad Job Templates (#15746) 2023-02-02 10:37:40 -05:00
variables_test.go [feat] Nomad Job Templates (#15746) 2023-02-02 10:37:40 -05:00
vault.go
volume_test.go System and sysbatch jobs always have zero index (#16030) 2023-02-02 16:18:01 -05:00
volumes.go System and sysbatch jobs always have zero index (#16030) 2023-02-02 16:18:01 -05:00
workload_id.go Add option to expose workload token to task (#15755) 2023-02-02 10:59:14 -08:00
workload_id_test.go Add option to expose workload token to task (#15755) 2023-02-02 10:59:14 -08:00