Commit graph

7019 commits

Author SHA1 Message Date
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
Alex Dadgar fcdefca1bf Display Disk resources on CLI
Fixes https://github.com/hashicorp/nomad/issues/2401
2017-03-06 12:53:24 -08:00
Alex Dadgar 87d971a6b8 Double the anti-affinity for placing same task group on node 2017-03-06 11:52:53 -08:00
Alex Dadgar c1d4927088 Debug lines 2017-03-06 10:25:26 -08:00
Sergey Mezentsev 0078af8b08 Remove 'disk space' from docs 2017-03-04 22:54:49 +03:00
Alex Dadgar c24e87c443 Merge branch 'master' of github.com:hashicorp/nomad 2017-03-03 18:27:53 -08:00
Alex Dadgar 634cb3365f Remove dead code 2017-03-03 18:27:49 -08:00
Michael Schurter e36f2b6842 Merge pull request #2396 from hashicorp/f-smoke-test
Small init and validate smoke test
2017-03-03 16:20:39 -08:00
Michael Schurter 2caa219352 Small init and validate smoke test 2017-03-03 16:13:25 -08:00
Alex Dadgar 7d7debdb94
Release v0.5.5-rc2 2017-03-03 16:06:44 -08:00
Alex Dadgar 9f65ca42cc auto release 2017-03-03 16:06:31 -08:00