Charlie Voiselle
fb5091678b
Changed nomad.rocks
to localhost:4646
to align with defaults
...
Should provide cut and paste example for most users. Advanced users should be able to correct URLs to something appropriate.
2018-01-29 11:27:52 -05:00
Indradhanush Gupta
7db4ee1122
rkt_test.go: Remove underscore from variable names
2018-01-29 11:39:50 +01:00
Filip Ochnik
80a17ee8dd
Add ReadonlyRootfs option to the Docker driver
2018-01-27 14:38:29 +01:00
Chelsea Holland Komlo
7c19de797c
create safe getters and setters for fingerprint response
2018-01-26 11:22:05 -05:00
John Cowen
98bd72a44e
Remove vaultError
, failedSibling
and messagePassthru
...
1. `vaultError` and `failedSibling` are safe to remove see
https://github.com/hashicorp/nomad/blob/64e9cf9/nomad/structs/structs.go#L3979-L3986
2018-01-26 13:37:20 +00:00
Chelsea Holland Komlo
896d6f8058
fixups from code review
2018-01-26 07:04:32 -05:00
Simarpreet Singh
ac720b84f0
qemu: Make the driver debugging output more indicative
...
Signed-off-by: Simarpreet Singh <simar@linux.com>
2018-01-25 16:40:16 -08:00
Simarpreet Singh
8b058f7570
qemu: Fix unintentional shadowing of monitorPath variable
...
Signed-off-by: Simarpreet Singh <simar@linux.com>
2018-01-25 16:24:10 -08:00
Simarpreet Singh
3dacd0171f
Merge pull request #1 from hashicorp/master
...
merging from upstream
2018-01-25 16:17:52 -08:00
Michael McCracken
09c9ca23f5
lxc: move lxc log file out of container-visible alloc dir
...
The LXC runtime's log file is currently written to TaskDir.LogDir,
which is mounted as alloc/logs inside the containers in the task
group.
This file is not intended to be visible to containers, and depending
on the log level, may have information about the host that a container
should not be allowed to see.
Signed-off-by: Michael McCracken <mikmccra@cisco.com>
2018-01-25 14:41:37 -08:00
Michael McCracken
88e3063717
fix speling in log
...
Signed-off-by: Michael McCracken <mikmccra@cisco.com>
2018-01-25 13:56:14 -08:00
Chelsea Holland Komlo
3d38868b88
add test case for available cgroups
2018-01-25 06:08:07 -05:00
Preetha
cd490958fc
Merge pull request #3795 from hashicorp/f-next-alloc
...
Track next allocation
2018-01-24 18:12:21 -06:00
Preetha Appan
288ff0b6f0
Add test case to verify setting next alloc id correctly
2018-01-24 17:55:29 -06:00
Preetha Appan
fd2fbefa4c
Add a field to track the next allocation during a replacement
2018-01-24 17:55:05 -06:00
Alex Dadgar
1fc6f2fb01
Link sentinel docs
2018-01-24 14:17:57 -08:00
Chelsea Holland Komlo
9a8344333b
refactor Fingerprint to request/response construct
2018-01-24 11:54:02 -05:00
Kyle Havlovitz
c807fc5b86
Merge pull request #3787 from hashicorp/server-health-loop
...
Move server health loop into autopilot leader actions
2018-01-23 15:22:25 -08:00
Michael McCracken
f8fe2ea8cb
review cleanup
...
don't export an internal function, and simplify some code
Signed-off-by: Michael McCracken <mikmccra@cisco.com>
2018-01-23 15:03:09 -08:00
Alex Dadgar
22f27aae00
changelog
2018-01-23 14:39:19 -08:00
Alex Dadgar
5b52fc95a9
Merge pull request #3788 from hashicorp/f-entrypoint
...
Allow overriding an image's entrypoint in Docker
2018-01-23 14:38:19 -08:00
Alex Dadgar
a43e0a7b08
Allow overriding an image's entrypoint in Docker
...
Fixes https://github.com/hashicorp/nomad/issues/2219
2018-01-23 14:05:00 -08:00
Kyle Havlovitz
a162b9ce14
Move server health loop into autopilot leader actions
2018-01-23 12:57:02 -08:00
Alex Dadgar
06ae7681bc
changelog
2018-01-23 12:04:53 -08:00
Alex Dadgar
98a03ad689
Merge pull request #3754 from filipochnik/docker-caps
...
Add an option to add and drop capabilities in the Docker driver
2018-01-23 12:02:50 -08:00
Nicolas Corrarello
d30bc34a27
Introducing @schmichael suggestions
2018-01-23 13:26:34 +01:00
Chelsea Komlo
d09cc2a69f
Merge pull request #3492 from hashicorp/f-client-tls-reload
...
Client/Server TLS dynamic reload
2018-01-23 05:51:32 -05:00
Filip Ochnik
2f670b1b2a
Document the ALL value for docker.caps.whitelist
2018-01-23 11:30:44 +01:00
Chelsea Holland Komlo
bc8f0da635
add changelog
2018-01-23 05:00:26 -05:00
Nicolas Corrarello
088a247310
Merge branch 'master' of github.com:/hashicorp/nomad into f-vault-acl
2018-01-23 06:37:46 +00:00
Michael Schurter
694b547a6b
Merge pull request #3682 from hashicorp/b-3681-always-set-driver-ip
...
Always advertise driver IP when in driver mode
2018-01-22 16:41:34 -08:00
Michael Schurter
e5cddc80e4
Merge pull request #3760 from angrycub/f-allow-dot-envvar
...
Allow `.` in Environment Variable Names
2018-01-22 14:53:05 -08:00
Michael Schurter
839e4ce903
Update changelog for dot env vars
2018-01-22 14:06:40 -08:00
Michael Schurter
2fb69d33c4
Update go-envparse to allow dots in env vars
...
Includes hashicorp/go-envparse#2
2018-01-22 14:02:39 -08:00
Charlie Voiselle
0f782acfda
Allow .
in Environment Variable Names
...
From [https://github.com/appc/spec/blob/master/spec/aci.md ](https://github.com/appc/spec/blob/master/spec/aci.md ):
>environment (list of objects, optional) represents the app's environment variables (ACE can append). The listed objects must have two key-value pairs: name and value. The name must consist solely of letters, digits, and underscores '_' as outlined in IEEE Std 1003.1-2008, 2016 Edition, with practical considerations dictating that the name may also include periods '.' and hyphens '-'. The value is an arbitrary string. These values are not evaluated in any way, and no substitutions are made.
Dotted environment variables are frequently used as a part of the Spring Boot pattern. (re: ZD-6116)
This PR specifically doesn't address the conversion of hyphens (`-`) due to an issue with rkt [[Nomad GH # 2358]](https://github.com/hashicorp/nomad/issues/2358 ).
2018-01-22 13:59:37 -08:00
Alex Dadgar
d4d5a38032
Merge pull request #3765 from kinvolk/indradhanush/developing-docs
...
Docs: Add command consul agent & fix nomad command
2018-01-22 10:41:56 -08:00
Chelsea Holland Komlo
db83b203e7
specified version of raft should be master
2018-01-22 09:02:26 -05:00
Indradhanush Gupta
0062b9cb21
Docs: Add command consul agent & fix nomad command
...
`sudo` is required to enable other drivers like rkt and java while the
`-dev` flag enables the agent to run in a standalone mode.
2018-01-22 13:23:42 +01:00
Filip Ochnik
ab7e104db5
Fix moby package location
2018-01-21 12:35:41 +01:00
Filip Ochnik
fd11b02751
Merge branch 'master' into docker-caps
2018-01-21 12:24:37 +01:00
Filip Ochnik
4abd269a68
Merge branch 'master' into docker-caps
2018-01-21 12:18:22 +01:00
Filip Ochnik
558812350d
Finish implementation of the capabilities whitelist
2018-01-21 12:14:24 +01:00
Chelsea Holland Komlo
7d3c240871
swap raft layer tls wrapper
2018-01-19 17:00:15 -05:00
Chelsea Holland Komlo
d86bee57da
vendor raft to master branch
2018-01-19 17:00:15 -05:00
Kyle Havlovitz
7bea4b392c
Update CHANGELOG.md
2018-01-19 12:59:25 -08:00
Kyle Havlovitz
901c8791f4
Merge pull request #3670 from hashicorp/autopilot
...
Add Autopilot feature from Consul
2018-01-19 12:52:56 -08:00
Michael Lange
0cbc0da12d
Merge pull request #3769 from johncowen/f-componentize-placement-failures
...
Component-ize UI for placement failures
2018-01-19 12:40:29 -08:00
John Cowen
c7c465fb78
Make task-events use the message
from the API rather than hardcoded
...
The api has changed to send through a message for task-events. Use that
instead of rendering a message from within js dependent on the task
event type
2018-01-19 15:38:57 +00:00
John Cowen
abaae90be7
Address PR feedback
...
1. Extra whitespace
2. Remove redundant code
3. Remove redundant markup from test
4. placement-failure should be used as an inline component
5. Prefer `assign` polyfill
6. Use new `@ember' org style imports
2018-01-19 13:59:19 +00:00
John Cowen
56890fbc6b
Add more assertions for basic message checking
2018-01-19 13:59:19 +00:00