Commit Graph

8980 Commits

Author SHA1 Message Date
Alex Dadgar ce118ab3a4 Merge pull request #3263 from anubhavmishra/patch-1
update consul version to 0.9.3
2017-09-25 10:21:18 -07:00
Chelsea Holland Komlo b26454cf99 Move setGaugeForAllocationStats to emitClientMetrics 2017-09-25 16:05:49 +00:00
Chelsea Holland Komlo 3966a27c87 update acl token 2017-09-25 15:54:06 +00:00
Anubhav Mishra 3167a0110a update consul version to 0.9.3 2017-09-23 20:38:32 -07:00
Wim Fournier 139ef5e745 Update network.html.md
Fixing #3259
2017-09-22 10:24:05 +02:00
Charlie Voiselle 6c0836c40a Merge pull request #3258 from DavidCalvert/patch-1
Minor typo on consul.html.md
2017-09-21 09:06:06 -05:00
David Calvert f6894e3655 Minor typo on consul.html.md 2017-09-21 11:06:39 +02:00
Lasse Dalegaard cbcbe0da2e Expose rkt DriverNetwork
Currently the rkt driver does not expose a DriverNetwork instance after
starting the container, which means that address_mode = 'driver' does
not work.

To get the container network information, we can call `rkt status` on
the UUID of the container and grab the container IP from there.

For the port map, we need to grab the pod manifest as it will tell us
which ports the container exposes. We then cross-reference the
configured port name with the container port names, and use that to
create a correct port mapping.

To avoid doing a (bad) reimplementation of the appc schema(which rkt
uses for its manifest) and rkt apis, we pull those in as vendored
dependencies. The versions used are the same ones that rkt use in their
glide dependency configuration for version 1.28.0.
2017-09-21 00:34:22 +02:00
Lasse Dalegaard 7ac599d509 Use rkt prepare + run-prepared instead of run.
The rkt driver currently executes run and asks that the pod UUID is
written to a file that is then polled for changes for up to five
seconds. Many container fetches will take longer than this, so this
method will often not be able to track the pod UUID reliably.

To avoid this problem, rkt allows pods to be first prepared, which will
return their UUID, and then run as a second invocation.

Here we convert the rkt driver's Start method to use this method
instead. This way, the UUID will always be tracked correctly.
2017-09-21 00:17:31 +02:00
Michael Schurter 1e0be8150e Merge pull request #3253 from hashicorp/b-make-shellcheck-happy
Fix shellcheck's complaints about find loop
2017-09-20 14:48:06 -05:00
Michael Schurter a3a0102780 Fix shellcheck's complaints about find loop 2017-09-19 17:41:20 -05:00
Alex Dadgar caa75460fa
Release v0.7.0-beta1 2017-09-19 12:56:28 -05:00
Alex Dadgar fb1ceabad6 generated code 2017-09-19 12:17:16 -05:00
Alex Dadgar c485e3fc8c bump version 2017-09-19 12:13:00 -05:00
Alex Dadgar 62519cd5d1 changelog 2017-09-19 12:06:52 -05:00
Alex Dadgar bc775861cc fix metalinter checking ui dir 2017-09-19 11:49:34 -05:00
Alex Dadgar 855e167789 Merge pull request #3250 from hashicorp/b-logs
Fix gzip encoding
2017-09-19 11:34:31 -05:00
Alex Dadgar fce29e44e8 vendor gzip 2017-09-19 11:31:42 -05:00
Alex Dadgar f16167b5e1 always gzip 2017-09-19 10:37:49 -05:00
Alex Dadgar 2a09c51840 handle errors when streaming logs 2017-09-19 10:37:49 -05:00
Alex Dadgar c84faa7a00 Merge pull request #3249 from hashicorp/b-07-upgrade
Upgrade path fixes
2017-09-19 10:29:05 -05:00
Alex Dadgar 460815f27c fix test 2017-09-19 10:28:23 -05:00
Alex Dadgar 828c4abc44 Fix upgrading from 0.6.x to 0.7.0 2017-09-19 10:28:14 -05:00
Alex Dadgar a67ecd61b0 Merge pull request #3248 from hashicorp/f-sync
Sync
2017-09-19 10:17:48 -05:00
Alex Dadgar e5ec915ac3 sync 2017-09-19 10:08:23 -05:00
Michael Lange b85f15ead1 Merge pull request #3232 from hashicorp/d-ui-api-doc
Document each route in the UI for the API docs
2017-09-18 19:52:04 -05:00
Michael Lange 5ee4cbcdde Merge pull request #3233 from hashicorp/d-ui-guide
New UI Guide for learning the Nomad UI
2017-09-18 19:51:53 -05:00
Michael Schurter f92ffe5af5 Merge pull request #3105 from hashicorp/f-876-restart-unhealthy
Restart unhealthy tasks
2017-09-17 19:38:32 -07:00
Michael Lange f5fb790de8 New UI Guide for learning the Nomad UI 2017-09-17 18:13:53 -05:00
Michael Lange c6e2d1722a Document each route in the UI for the API docs 2017-09-17 18:12:15 -05:00
Chelsea Komlo 8f64847652 Merge pull request #3240 from hashicorp/d-metrics-guide-fix
Metrics guide fix
2017-09-17 18:54:03 -04:00
Chelsea Holland Komlo a10f2dd050 add circonus as a metric tool 2017-09-17 22:51:19 +00:00
Chelsea Holland Komlo be1987f330 enumerate data tools nomad supports 2017-09-17 21:30:25 +00:00
Chelsea Holland Komlo 97e5b39113 update links for github 2017-09-17 21:15:58 +00:00
Chelsea Komlo 54b17c5074 Merge pull request #3226 from hashicorp/f-acl-cli-info
Add ACL token info
2017-09-17 15:03:25 -04:00
Chelsea Holland Komlo c69cf5807e update documentation 2017-09-17 18:47:06 +00:00
Chelsea Holland Komlo e8cc152828 add documentation for token info 2017-09-17 18:45:32 +00:00
Chelsea Holland Komlo c0f490988a add command to cli
add extra verification test
2017-09-17 18:45:32 +00:00
Chelsea Holland Komlo eac317e2aa add acl token info 2017-09-17 18:45:32 +00:00
Chelsea Komlo 4009bde055 Merge pull request #3235 from hashicorp/f-acl_policy_info
ACL policy info
2017-09-17 14:37:58 -04:00
Chelsea Holland Komlo 6a1f289be6 add missing command 2017-09-17 18:22:07 +00:00
Chelsea Holland Komlo 8f6a697834 add policy with rules for documentation 2017-09-17 18:17:53 +00:00
Chelsea Holland Komlo 8c04423c63 small fixups 2017-09-17 18:17:53 +00:00
Chelsea Holland Komlo 7b8c4557b9 documentation; add to existing commands 2017-09-17 18:17:53 +00:00
Chelsea Holland Komlo 2561f17669 acl policy info 2017-09-17 18:17:17 +00:00
Alex Dadgar 3fc1231c62 Changelog 2017-09-17 10:58:40 -07:00
Alex Dadgar 33cf006671 Merge pull request #3229 from epipho/fix-stats
Fix incorrect docker stats
2017-09-17 10:51:25 -07:00
Alex Dadgar 8c73da3053 Merge pull request #3237 from hashicorp/d-metrics-documentation
WIP: Guide to nomad metrics integrations
2017-09-17 10:50:43 -07:00
Chelsea Komlo e4fe506113 Merge pull request #3234 from hashicorp/acl_policy_delete
Add ACL policy delete command
2017-09-17 13:45:05 -04:00
Chelsea Holland Komlo eb4f30d535 guide to nomad metrics with integrations 2017-09-17 17:29:25 +00:00