Commit graph

6929 commits

Author SHA1 Message Date
Alex Dadgar 9c71e48eae Merge pull request #2428 from hashicorp/telemetry-docs
Added docs for the collection_interval option in the telemetry block
2017-03-11 13:52:24 -08:00
Alex Dadgar 5716eee753 remove escape 2017-03-10 16:46:22 -08:00
Diptanu Choudhury 53d7ec02fd Added docs for the collection_interval option in the telemetry block 2017-03-10 16:33:25 -08:00
Alex Dadgar 70e4feb045 Limit parallelism during garbage collection
This PR introduces a parallelism limit during garbage collection. This
is used to avoid large resource usage spikes if garbage collecting many
allocations at once.
2017-03-10 16:27:00 -08:00
Michael Schurter 1f1fd47172 Add changelog entry for #2426 2017-03-10 12:20:22 -08:00
Michael Schurter 71783e8e41 Add NOMAD_{IP,PORT}_<task>_<label> env vars 2017-03-10 12:17:43 -08:00
Alex Dadgar d066657174 changelog 2017-03-09 22:16:50 -08:00
Alex Dadgar 33263ca085 Merge pull request #2418 from hashicorp/f-distinct-property
`distinct_property` constraint
2017-03-09 22:15:52 -08:00
Alex Dadgar bb12ff69a6 Fix in-place update 2017-03-09 22:03:10 -08:00
Alex Dadgar 601cbd7784 Feedback addressed 2017-03-09 21:36:27 -08:00
Alex Dadgar 9da0256dad Changelog 2017-03-09 21:06:38 -08:00
Alex Dadgar a60127b72e Merge pull request #2425 from hashicorp/f-client-metrics
Add metrics to show allocations on the client
2017-03-09 21:05:53 -08:00
Alex Dadgar 8238a8601e Address comment 2017-03-09 21:05:34 -08:00
Michael Schurter 7080148599 Merge pull request #2416 from hashicorp/b-clean-env-var-2
Round two of env var cleaning
2017-03-09 17:14:45 -08:00
Michael Schurter 9cb743bd31 Update documentation now that cleaning is more extensive 2017-03-09 17:12:10 -08:00
Alex Dadgar 1b6bca7db0 Merge pull request #2423 from jen20/dep-update-go-ps
deps: Update github.com/mitchellh/go-ps
2017-03-09 16:50:35 -08:00
Alex Dadgar b65d248dee Fix filtering issue and add a test that would catch it 2017-03-09 16:20:39 -08:00
Alex Dadgar 7945e4564c Refactor 2017-03-09 15:26:46 -08:00
Alex Dadgar 9011a7984c Add metrics to show allocations on the client
This PR adds the following metrics to the client:
client.allocations.migrating
client.allocations.blocked
client.allocations.pending
client.allocations.running
client.allocations.terminal

Also adds some missing fields to the API version of the evaluation.
2017-03-09 12:37:41 -08:00
James Nugent b3d1ef0af6 client/allocdir: Add missing functions on Solaris
This commit adds Solaris versions of the following functions:

- `linkDir`
- `unlinkDir`
- `createSecretDir`
- `removeSecretDir`

I believe this requires Go 1.8 in order to compile, as the unlink
syscall was previously missing.
2017-03-09 13:49:14 -05:00
James Nugent a69b3b0952 deps: Update github.com/mitchellh/go-ps
This update pulls in a commit adding support for Solaris.
2017-03-09 08:39:46 -05:00
Alex Dadgar 60c42f745a Split distinct property and host iterator and add iterator to system stack 2017-03-08 19:00:10 -08:00
Alex Dadgar ee0be46c49 Merge pull request #2410 from barnardb/service-name-error-message
Correct error message re length of service name
2017-03-08 18:06:56 -08:00
Alex Dadgar 1108210539 Merge pull request #2413 from barnardb/remove-duplicate-check
Remove duplicate check
2017-03-08 18:04:32 -08:00
Alex Dadgar 319b24081f cleanup 2017-03-08 17:57:31 -08:00
Jack Pearkes b1e5da430b Merge pull request #2414 from hashicorp/website-add-meganav
Website: Add Mega Nav
2017-03-08 17:55:00 -08:00
Alex Dadgar a439bf709d Property Set 2017-03-08 17:50:40 -08:00
Michael Schurter 1f6090371b make bin creates a release binary for the host arch
make dev properly copies the binary into bin/ again.

make release still creates binaries for as many archs as possible.

Fixes #2407
2017-03-08 17:42:28 -08:00
Jack Pearkes 37e13ce6d0 website: update version of middleman-hashicorp to 0.3.13 2017-03-08 16:59:45 -08:00
Michael Schurter 16adc44358 Round two of env var cleaning
Should bring us into conformance with IEEE Std 1003.1, 2004 Edition:
http://pubs.opengroup.org/onlinepubs/009695399/basedefs/xbd_chap08.html

1 alloc/op and ~80ns/op on my machine.
2017-03-08 16:46:13 -08:00
Jason Costello 84c10783a6 Remove announcement banner and assets 2017-03-08 16:41:44 -08:00
Jason Costello a34615f118 Remove "by" hashicorp 2017-03-08 16:41:44 -08:00
Jason Costello 7a7d5bcaa9 Add mega nav 2017-03-08 16:40:38 -08:00
Diptanu Choudhury 62a3dad2b8 Updated version of website 2017-03-08 16:38:54 -08:00
Alex Dadgar a4d4bbc6c4 turbolinks 2017-03-08 11:52:21 -08:00
Seth Vargo 3e6134b5f0
Update license 2017-03-08 11:38:59 -08:00
Seth Vargo 182a842715
Update middleman-hashicorp 2017-03-08 11:30:05 -08:00
Seth Vargo bd450fee49
Update middleman-hashicorp 2017-03-08 11:29:34 -08:00
Ben Barnard 4ab0f4b932 Remove duplicate check 2017-03-08 16:19:38 +01:00
Ben Barnard 372303f4c6 Return AgentSelf struct from Agent.Self() instead of map
api.AgentSelf mirrors command.agent.agentSelf, and makes it easier to
work with the results of a call to Agent.Self()
2017-03-08 15:59:10 +01:00
Ben Barnard abefe537ba Correct error message re length of service name
The error message had an off-by-one error :)
2017-03-08 15:12:30 +01:00
Alex Dadgar d83a8fe9f2 Unoptimized implementation + testing 2017-03-07 14:48:54 -08:00
Michael Schurter a724779720 Replace _ with - in task names for rkt volumes
Fixes #2358
2017-03-07 14:34:57 -08:00
Michael Schurter 0dc80712ad Merge pull request #2406 from hashicorp/b-2405-dashes-in-env-vars
Replace "-" in port labels with "_" for env vars
2017-03-07 11:32:38 -08:00
Michael Schurter 7d099b952e Draw attention to env var sanitizing 2017-03-07 08:55:37 -08:00
Michael Schurter ca0b19a050 Add documentation and changelog entry 2017-03-06 20:05:05 -08:00
Michael Schurter 518e4f75a6 Replace "-" in env var keys with "_"
Fixes #2405
2017-03-06 19:57:44 -08:00
Alex Dadgar fa413b66f9 Merge pull request #2398 from TheBits/master
Remove 'disk space' from docs
2017-03-06 14:52:12 -08:00
Alex Dadgar 0c18ccdacd Changelog 2017-03-06 12:55:11 -08:00
Alex Dadgar 50dfc7b795 Merge pull request #2404 from hashicorp/b-disk
Display Disk resources on CLI
2017-03-06 12:54:13 -08:00