Commit graph

7333 commits

Author SHA1 Message Date
Alex Dadgar 9faa98e13b Fix tests 2017-05-03 12:38:49 -07:00
Michael Schurter c4ab8211b6 Skip https health check if verify_https_client is true 2017-05-03 12:19:02 -07:00
Alex Dadgar 730e49a598 Helpful comment 2017-05-03 11:27:33 -07:00
Alex Dadgar 1d8444bc1e Fix tests 2017-05-03 11:15:30 -07:00
Michael Schurter 269894aab5 Merge pull request #2609 from DAXaholic/fix-typo
Fix typo
2017-05-03 10:47:47 -07:00
Aaron Kunz 455ef8a8f5 Fix typo 2017-05-03 19:45:03 +02:00
Alex Dadgar 23de02ba05 Merge pull request #2599 from DAXaholic/fix-sidebar-item-text
Fix wrong text for 'Guides' item in sidebar
2017-05-02 20:28:15 -07:00
Alex Dadgar e00f9c9413 Restore state + upgrade path 2017-05-02 18:21:49 -07:00
Michael Schurter 66aea59650 Fix error check for consul skip tls verify support 2017-05-02 17:38:18 -07:00
Michael Schurter f85ad65530 Document verify_https_client 2017-05-02 17:38:12 -07:00
Michael Schurter d42bad098a Extensively test verify_https_client behavior
verify_https_client support added in #2587
2017-05-02 16:48:16 -07:00
Michael Schurter b6e97d8523 Merge pull request #2587 from weargoggles/patch-1
Verification options for TLS
2017-05-02 10:36:41 -07:00
Michael Schurter 0691ed857e Merge pull request #2596 from weargoggles/deregister-before-kill
Clean up consul earlier when destroying a task
2017-05-02 10:31:35 -07:00
Alex Dadgar ec101b4760 Revert "metrics"
This reverts commit 4d6a012c6fb6f1fba6c62985d091b1a20c3198e7.
2017-05-02 09:28:11 -07:00
Alex Dadgar 109b71d495 Merge pull request #2602 from devth/patch-1
Update K8S max nodes
2017-05-02 09:25:53 -07:00
Alex Dadgar de6ab0c479 Merge pull request #2603 from DAXaholic/fix-sidebar-project-link
Fix wrong link to GitHub project in sidebar
2017-05-02 09:25:37 -07:00
Trevor Hartman bde2e10ce7 Update K8S max nodes
According to http://blog.kubernetes.io/2017/03/scalability-updates-in-kubernetes-1.6.html
2017-05-02 07:54:46 -06:00
Aaron Kunz e481d295cd Fix wrong link to GitHub project in sidebar 2017-05-02 07:27:11 +02:00
Alex Dadgar d9f83658b4 fix old arch 2017-05-01 17:36:20 -07:00
Alex Dadgar 8e516b5dc2 Async and sync saving of client state 2017-05-01 16:16:53 -07:00
Alex Dadgar a7fd08d42a perf 2017-05-01 16:01:50 -07:00
Alex Dadgar e010fdf8c0 metrics 2017-05-01 14:51:27 -07:00
Alex Dadgar d779defe65 Use batching 2017-05-01 14:50:34 -07:00
Alex Dadgar b94f855326 boltDB database for client state 2017-05-01 14:50:34 -07:00
Alex Dadgar bddedd7aba Don't deepcopy job when retrieving copy of Alloc
This PR removes deepcopying of the job attached to the allocation in the
alloc runner. This operation is called very often so removing reflect
from the code path and the potentially large number of mallocs need to
create a job reduced memory and cpu pressure.
2017-05-01 14:50:34 -07:00
Alex Dadgar b67c40f717 Proper denormalization in optimistic state store 2017-05-01 14:49:57 -07:00
Alex Dadgar e8351ae825 Changelog 2017-05-01 13:55:37 -07:00
Alex Dadgar aed852782f Merge pull request #2592 from hashicorp/b-gc-race
Protect against nil job in new allocation
2017-05-01 13:54:43 -07:00
Alex Dadgar 8169590d76 Fix tests 2017-05-01 13:54:26 -07:00
Pete Wildsmith f64f37317e update test 2017-04-30 15:40:04 +01:00
Aaron Kunz f12c7ad6c7 Fix wrong text for 'Guides' item in sidebar 2017-04-30 09:42:17 +02:00
Pete Wildsmith 642fbd2f56 address feedback 2017-04-29 08:26:12 +01:00
Pete Wildsmith 1b8a1614ca reduce to one configuration option
There should be just one option, verify_https_client, which
controls incoming and outgoing validation for the HTTPS wrapper
2017-04-28 10:45:09 +01:00
Pete Wildsmith 6a09d5300f address feedback 2017-04-28 10:27:37 +01:00
Pete Wildsmith 418d59fd00 clean up consul earlier when destroying a task 2017-04-27 23:29:30 +01:00
Alex Dadgar 7276e24763 changelog 2017-04-27 10:56:08 -07:00
Alex Dadgar d7e36304e1 Merge pull request #2575 from hashicorp/f-job-revert
Job revert
2017-04-27 10:54:29 -07:00
Alex Dadgar 490601f9d6 Swap validation checks 2017-04-27 10:51:28 -07:00
Alex Dadgar efa91c3d89 Protect against nil job in new allocation 2017-04-26 18:27:27 -07:00
Pete Wildsmith 829d9e60b9 fix config parse test 2017-04-26 21:13:54 +01:00
Michael Schurter cafefa049b Properly interpolate services on updated tasks
Previously was interpolating the original task's services again.

Fixes #2180

Also fixes a slight memory leak in the new consul agent. Script check
handles weren't being deleted after cancellation.
2017-04-26 11:22:01 -07:00
Pete Wildsmith c948d2ee27 apply gofmt 2017-04-26 18:58:19 +01:00
Pete Wildsmith 1e6694c5c1 Verification options allowed in TLS config 2017-04-25 23:35:47 +01:00
Pete Wildsmith 3070d5ab9d Copy TLSConfig verification flags in server create 2017-04-25 23:33:12 +01:00
Pete Wildsmith 56b122c501 Add verification options to TLS config struct 2017-04-25 23:29:43 +01:00
Michael Schurter 3027335099 Merge pull request #2586 from mgagliardo/vagrant_nomad_version
Bumping up Vagrantfile's nomad version
2017-04-25 14:11:12 -07:00
Miguel Gagliardo bf1ab0a321 Bumping up NOMAD version to 0.5.6 and adding version as ENV variable 2017-04-25 18:02:33 -03:00
Michael Schurter 20322a5e92 Test pre-0.6 script check upgrade path 2017-04-25 11:41:03 -07:00
Michael Schurter b965708c51 Test env+cgroups for exec driver checks 2017-04-25 11:13:06 -07:00
Michael Schurter a7e913ee78 Use Go 1.8.1 in Vagrant 2017-04-25 09:24:53 -07:00