Preetha Appan
31b2102055
Fix scoring logic for uneven spread to incorporate current alloc count
...
Also addressed other small code review comments
2018-09-04 16:10:11 -05:00
Preetha Appan
1ac696da56
more cleanup
2018-09-04 16:10:11 -05:00
Preetha Appan
f881c4f266
comment and formatting cleanup
2018-09-04 16:10:11 -05:00
Preetha Appan
fa7e3a3f35
Allow empty spread targets, and validate target percentages.
2018-09-04 16:10:11 -05:00
Preetha Appan
ffab506f84
validate spread from job/task group validate methods
2018-09-04 16:10:11 -05:00
Preetha Appan
e2ce63e489
Fix warnings
2018-09-04 16:10:11 -05:00
Preetha Appan
a6d309c005
Validate method, and rename ratio field to percent
2018-09-04 16:10:11 -05:00
Preetha Appan
43c6337a25
Structs and validation for spread
2018-09-04 16:10:11 -05:00
Preetha Appan
f907c42ba5
More review comments
2018-09-04 16:10:11 -05:00
Preetha Appan
9aa07bd1f5
Fail validation if system job has affinities
2018-09-04 16:10:11 -05:00
Preetha Appan
25ad4643c3
Treat set_contains as a synonym of set_contains_all
2018-09-04 16:10:11 -05:00
Preetha Appan
09544f640c
Include affinities in job and task diff, and more test cases
2018-09-04 16:10:11 -05:00
Preetha Appan
8895f0c1f8
Fix Copy method for job and task to include affinities
2018-09-04 16:10:11 -05:00
Preetha Appan
8f2d5742c4
Affinity parsing, api and structs
2018-09-04 16:10:11 -05:00
Chelsea Holland Komlo
781b9c640d
add simple getter for certificate
2018-08-10 12:37:21 -04:00
Alex Dadgar
bc48fc33b5
remove structs + bump version
2018-06-11 13:52:19 -07:00
Alex Dadgar
dbee1d7d05
bump version + generated files
2018-06-11 13:39:42 -07:00
Nick Ethier
304b752a50
nomad/structs: fix job diff test
2018-06-11 13:06:49 -04:00
Nick Ethier
8e453d0b8f
nomad: add 'Dispatch' field to Job
...
New -bash: Dispatch: command not found field is used to denote if the Job is a child dispatched job of
a parameterized job.
2018-06-11 11:59:03 -04:00
Chelsea Holland Komlo
3de3b47829
fix for dynamically reloading vault
2018-06-07 15:34:18 -04:00
Alex Dadgar
ab5ee4be9e
remove generated structs
2018-06-01 16:11:28 -07:00
Alex Dadgar
97ad9dfc92
bump version/lint/generated files
2018-06-01 15:23:10 -07:00
Alex Dadgar
269ad04c08
Merge pull request #4354 from hashicorp/b-job-modify
...
Deployment adds JobSpecModifyIndex
2018-05-31 17:57:38 +00:00
Alex Dadgar
a5d0fe6574
code review fixes
2018-05-31 10:57:08 -07:00
Alex Dadgar
b683439b0d
Deployment adds JobSpecModifyIndex
...
Deployment tracks the Job.JobModifyIndex so that PUTS against /v1/jobs
can be more easily coorelated with the created deployment.
Fixes https://github.com/hashicorp/nomad/issues/4301
2018-05-30 11:33:56 -07:00
Chelsea Holland Komlo
25896ddf3c
add support for tls PreferServerCipherSuites
...
add further tests for tls configuration
2018-05-25 13:20:00 -04:00
Chelsea Holland Komlo
6733d768f0
refactor NewTLSConfiguration to pass in verifyIncoming/verifyOutgoing
...
add missing fields to TLS merge method
2018-05-23 18:35:30 -04:00
Alex Dadgar
cfc9d1fbbd
Register events
2018-05-22 14:06:33 -07:00
Alex Dadgar
f01c0d72c6
node heartbeat missed event
2018-05-22 14:05:46 -07:00
Alex Dadgar
3a2829b4fc
Emit events based on eligibility
2018-05-22 14:04:59 -07:00
Alex Dadgar
b9d9b44013
Merge pull request #4284 from hashicorp/f-drain-event
...
Emit Node Events for draining
2018-05-22 21:04:18 +00:00
Preetha
447527ab2b
Merge pull request #4274 from hashicorp/f-force-rescheduling
...
Add CLI and API support for forcing rescheduling of failed allocs
2018-05-21 16:24:22 -07:00
Chelsea Komlo
31c21988b8
Merge pull request #4269 from hashicorp/f-tls-remove-weak-standards
...
Configurable TLS cipher suites and versions; disallow weak ciphers
2018-05-11 08:11:46 -04:00
Alex Dadgar
200e4b3cab
Add node event when draining is set/removed/updated
2018-05-10 16:54:43 -07:00
Alex Dadgar
6c35eb5134
Plumb event via FSM
2018-05-10 16:30:54 -07:00
Chelsea Holland Komlo
509180ee00
add support for configurable TLS minimum version
2018-05-09 18:07:12 -04:00
Chelsea Holland Komlo
0f46208cc1
allow configurable cipher suites
...
disallow 3DES and RC4 ciphers
add documentation for tls_cipher_suites
2018-05-09 17:15:31 -04:00
Preetha Appan
1bad719612
Added CLI for evaluating job given ID, and modified client API for evaluate to take a request payload
2018-05-09 15:04:27 -05:00
Chelsea Holland Komlo
eab7a1f7d3
Add driver health information to node list stub
2018-05-09 11:21:54 -04:00
Preetha Appan
242cc191a1
Work in progress - force rescheduling of failed allocs
2018-05-08 17:26:57 -05:00
Michael Schurter
64240e476e
consul: change hashed canary bytes
2018-05-07 14:55:01 -05:00
Alex Dadgar
0e1fb91189
Reschedule when we have canaries properly
2018-05-07 14:55:01 -05:00
Michael Schurter
17c6eb8629
consul: support canary tags for services
...
Also refactor Consul ServiceClient to take a struct instead of a massive
set of arguments. Meant updating a lot of code but it should be far
easier to extend in the future as you will only need to update a single
struct instead of every single call site.
Adds an e2e test for canary tags.
2018-05-07 14:55:01 -05:00
Alex Dadgar
20df5aea5b
Canary tags structs
2018-05-07 14:50:01 -05:00
Alex Dadgar
8be599af94
Mark canaries on creation, and unmark on promotion
2018-05-07 14:50:01 -05:00
Alex Dadgar
c240e021cc
change default to 10m and docs
2018-05-07 14:50:01 -05:00
Alex Dadgar
91402ed0d1
Set Reschedule from deployment watcher
2018-05-07 14:50:01 -05:00
Alex Dadgar
1050b89ac3
small review feedback fixes
2018-05-07 14:50:01 -05:00
Alex Dadgar
c3b9a9c94e
Small test fix
2018-05-07 14:50:01 -05:00
Alex Dadgar
e424a11223
Pass through timestamp
2018-05-07 14:50:01 -05:00