Commit Graph

5353 Commits

Author SHA1 Message Date
Kyle Havlovitz ab0e412db4
Add AutopilotPolicy interface and BasicAutopilot 2017-03-08 12:26:58 -08:00
Seth Vargo bd13913e6d
Update license 2017-03-08 11:40:06 -08:00
Seth Vargo fa6cba1f3e
Update license 2017-03-08 11:37:33 -08:00
Seth Vargo 2b6f6af939
Update middleman-hashicorp 2017-03-08 11:26:11 -08:00
Kyle Havlovitz c3d638e2c5
Move RaftStats to Status endpoint 2017-03-07 13:58:06 -08:00
Kyle Havlovitz fb259e3d04
Merge branch 'master' into f-autopilot-2 2017-03-06 16:02:19 -08:00
Kyle Havlovitz 2eefe3ca5b
Add autopilot server health tracking
This adds two goroutines to perform autopilot tasks on the leader - one
to monitor the health of servers and another to periodically clean up
dead servers with a limit on removal count. Also adds a new http endpoint,
`/v1/operator/autopilot/health`, for querying this information through an
operator RPC endpoint.
2017-03-06 16:00:10 -08:00
Sean Chittenden e7434d027b Merge pull request #2787 from hashicorp/revert-2786-f-client-addr-fallback
Revert "Change `ClientAddr` to default to `BindAddr` when not present."
2017-03-06 13:33:32 -08:00
Sean Chittenden a791de3ecf Revert "Change `ClientAddr` to default to `BindAddr` when not present." 2017-03-06 13:32:43 -08:00
Sean Chittenden db4f40f6f0 Merge pull request #2786 from hashicorp/f-client-addr-fallback
Change `ClientAddr` to default to `BindAddr` when not present.
2017-03-06 12:31:11 -08:00
Sean Chittenden df50950600
Note the default value prior to 0.8 for `-client` was `127.0.0.1`. 2017-03-06 12:26:35 -08:00
Sean Chittenden beae5c6bba
Change `ClientAddr` to default to `BindAddr` when not present.
With this change, it is now possible to only specify the `-bind` or
`bind_addr` attributes and get a functioning consul agent.
2017-03-04 20:52:52 -08:00
James Phillips ed2e700ab9 Moves raft_protocol config out into its own top-level item. 2017-03-04 09:20:23 -08:00
James Phillips 5ea69e483b Update CHANGELOG.md 2017-03-02 14:51:28 -08:00
James Phillips 3103f7f673 Merge pull request #2690 from zeroae/f-simple-rfc2782
RFC 2782 support with optional .service tag
2017-03-02 14:49:36 -08:00
James Phillips 5a083488fb Merge pull request #2781 from hashicorp/jbs-demo-update
Demo: install latest version by default
2017-03-01 10:52:20 -08:00
Brian Shumate 7593a48cb2
Install latest version by default
- Query Checkpoint to determine latest Consul version and install that
  (can override installed version with CONSUL_DEMO_VERSION variable)
- Update README
2017-03-01 13:19:59 -05:00
Seth Vargo 4f67e80a2a
Re-enable soft purging, stale-if-error 2017-03-01 12:37:48 -05:00
Kyle Havlovitz ab6c49ab4c Merge pull request #2771 from hashicorp/f-autopilot
Autopilot dead server cleanup, config, and raft version compatibility
2017-02-28 15:04:16 -08:00
Kyle Havlovitz 41025a59f6 Update CHANGELOG.md 2017-02-28 15:03:03 -08:00
Kyle Havlovitz 5f125324db Merge pull request #2774 from hashicorp/f-cli-deprecation-docs
Add CLI RPC deprecation section to docs
2017-02-28 14:59:48 -08:00
Kyle Havlovitz 92c8b9c3a0
Rename DeadServerCleanup and make wording adjustments 2017-02-28 14:45:21 -08:00
Kyle Havlovitz f389b59fd5
Fix up command and api tests 2017-02-28 14:12:55 -08:00
Kyle Havlovitz 9221aed856
Remove the RPC client interface and update docs 2017-02-28 13:41:09 -08:00
James Phillips 87f70c1543 Merge pull request #2777 from hashicorp/sethvargo/cache
Cache for a longer time on Fastly
2017-02-28 13:25:48 -08:00
Seth Vargo 090aff0338
Cache for a longer time on Fastly 2017-02-28 15:59:01 -05:00
Sean Chittenden cbbbf5ee39
Follow the lead in 6fc901a8f3 and set the default `DisplayName` to `Consul` 2017-02-26 12:26:14 -08:00
Kyle Havlovitz 211995bc3c
Convert agent command to use base.Command 2017-02-24 18:11:05 -08:00
Kyle Havlovitz 1eef639403
Add CLI RPC deprecation notice to docs 2017-02-24 18:10:46 -08:00
Kyle Havlovitz 5429e8ce66
Add cli docs and minor test/comment tweaks 2017-02-24 16:55:44 -08:00
Kyle Havlovitz bf735aa008
Use BoolValue for flag type 2017-02-24 16:00:39 -08:00
Kyle Havlovitz 2ea36d7bd4
Merge branch 'master' into f-autopilot 2017-02-24 15:55:18 -08:00
Kyle Havlovitz c1f776c78b
Added operator autopilot subcommands 2017-02-24 15:54:49 -08:00
Kyle Havlovitz c2e7f45002
Add CAS capability to autopilot config endpoint 2017-02-24 13:08:49 -08:00
James Phillips f5fe659497 Reserves an RPC selector byte for Consul Enterprise. 2017-02-24 09:54:33 -08:00
James Phillips e37f66d0b2
Exports config functions from base. 2017-02-23 21:08:43 -08:00
James Phillips a48ecf56a9
Exports visit function from base. 2017-02-23 21:01:06 -08:00
Kyle Havlovitz 1c24c5d8d6
Add docs and api client methods for autopilot config 2017-02-23 21:00:15 -08:00
Kyle Havlovitz 81c7a0299e
Add state store table and endpoints for autopilot 2017-02-23 20:32:13 -08:00
James Phillips ec7598f261 Merge pull request #2764 from hashicorp/website-typography-updates
Website typography updates
2017-02-23 15:01:09 -08:00
Kyle Havlovitz 950a9d2212
Move raft_protocol out of autopilot config 2017-02-23 13:08:40 -08:00
Kyle Havlovitz 0023454ccc
Add config section to docs for autopilot 2017-02-22 13:11:01 -08:00
Kyle Havlovitz b20fd222f6
Add raft version 2/3 compatibility 2017-02-22 12:53:32 -08:00
Jason Costello 5237581634 Mobile tweak 2017-02-21 16:31:17 -08:00
Jason Costello 98d6152ab4 Docs typographic tweaks 2017-02-21 16:23:23 -08:00
Jason Costello 58807f924b Remove redundant declarations 2017-02-21 16:07:57 -08:00
Jason Costello e31ad1adf7 Beef up lead paragraph in Jumbotron 2017-02-21 15:57:24 -08:00
Jason Costello 3e5b45bd28 Adjustments to <a>, and general letter-spacing 2017-02-21 15:57:05 -08:00
Jason Costello dbed54ee3b Improved mono declaration scope 2017-02-21 15:34:59 -08:00
Jason Costello 31cefff104 Update logo, remove old assets 2017-02-21 15:31:39 -08:00