Kyle Havlovitz
8130f9b1c1
Cleaned up and reorganized some autopilot-related code
2017-03-09 18:21:40 -08:00
Kyle Havlovitz
a5cbee0e99
Add AutopilotPolicy interface and BasicAutopilot
2017-03-08 12:26:58 -08:00
Kyle Havlovitz
a7de1e2a3b
Move RaftStats to Status endpoint
2017-03-07 13:58:06 -08:00
Kyle Havlovitz
0606133b75
Merge branch 'master' into f-autopilot-2
2017-03-06 16:02:19 -08:00
Kyle Havlovitz
8bcab6c6d7
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
b06ca7e5c8
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
c6feba6ab7
Revert "Change ClientAddr
to default to BindAddr
when not present."
2017-03-06 13:32:43 -08:00
Sean Chittenden
aa3086c147
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
17ccae59f4
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
e1ced1de30
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
233795704c
Moves raft_protocol config out into its own top-level item.
2017-03-04 09:20:23 -08:00
James Phillips
53ed9bb84f
Update CHANGELOG.md
2017-03-02 14:51:28 -08:00
James Phillips
aba567273e
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
27e2a326b4
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
de2b400a4e
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
d2e8eccbc3
Re-enable soft purging, stale-if-error
2017-03-01 12:37:48 -05:00
Kyle Havlovitz
44f0b08db7
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
c85fc60c6c
Update CHANGELOG.md
2017-02-28 15:03:03 -08:00
Kyle Havlovitz
77785778bf
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
23c492a74e
Rename DeadServerCleanup and make wording adjustments
2017-02-28 14:45:21 -08:00
Kyle Havlovitz
01fe3fb399
Fix up command and api tests
2017-02-28 14:12:55 -08:00
Kyle Havlovitz
3b67c50c1d
Remove the RPC client interface and update docs
2017-02-28 13:41:09 -08:00
James Phillips
db94d336af
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
28a7d0bd67
Cache for a longer time on Fastly
2017-02-28 15:59:01 -05:00
Sean Chittenden
63402c6eaa
Follow the lead in 6fc901a8f3
and set the default DisplayName
to Consul
2017-02-26 12:26:14 -08:00
Kyle Havlovitz
953baed324
Convert agent command to use base.Command
2017-02-24 18:11:05 -08:00
Kyle Havlovitz
308f5c4782
Add CLI RPC deprecation notice to docs
2017-02-24 18:10:46 -08:00
Kyle Havlovitz
f7b6d776f4
Add cli docs and minor test/comment tweaks
2017-02-24 16:55:44 -08:00
Kyle Havlovitz
1e24ec51a7
Use BoolValue for flag type
2017-02-24 16:00:39 -08:00
Kyle Havlovitz
459e72b011
Merge branch 'master' into f-autopilot
2017-02-24 15:55:18 -08:00
Kyle Havlovitz
6168911200
Added operator autopilot subcommands
2017-02-24 15:54:49 -08:00
Kyle Havlovitz
c9ddee1a79
Add CAS capability to autopilot config endpoint
2017-02-24 13:08:49 -08:00
James Phillips
3887c52cb2
Reserves an RPC selector byte for Consul Enterprise.
2017-02-24 09:54:33 -08:00
James Phillips
e92def21e1
Exports config functions from base.
2017-02-23 21:08:43 -08:00
James Phillips
b59d136820
Exports visit function from base.
2017-02-23 21:01:06 -08:00
Kyle Havlovitz
7d514a7ef6
Add docs and api client methods for autopilot config
2017-02-23 21:00:15 -08:00
Kyle Havlovitz
56e22a719f
Add state store table and endpoints for autopilot
2017-02-23 20:32:13 -08:00
James Phillips
b07f916cbb
Merge pull request #2764 from hashicorp/website-typography-updates
...
Website typography updates
2017-02-23 15:01:09 -08:00
Kyle Havlovitz
ae9fce0ae0
Move raft_protocol out of autopilot config
2017-02-23 13:08:40 -08:00
Kyle Havlovitz
af1bc4fa27
Add config section to docs for autopilot
2017-02-22 13:11:01 -08:00
Kyle Havlovitz
f9588b8d7f
Add raft version 2/3 compatibility
2017-02-22 12:53:32 -08:00
Jason Costello
da2602def1
Mobile tweak
2017-02-21 16:31:17 -08:00
Jason Costello
0d5902b767
Docs typographic tweaks
2017-02-21 16:23:23 -08:00
Jason Costello
e5667f583d
Remove redundant declarations
2017-02-21 16:07:57 -08:00
Jason Costello
16162c0411
Beef up lead paragraph in Jumbotron
2017-02-21 15:57:24 -08:00
Jason Costello
1f6be611c4
Adjustments to <a>, and general letter-spacing
2017-02-21 15:57:05 -08:00
Jason Costello
9fc594bbf1
Improved mono declaration scope
2017-02-21 15:34:59 -08:00
Jason Costello
0c87077287
Update logo, remove old assets
2017-02-21 15:31:39 -08:00
Jason Costello
72d666acaf
Various adjustments
2017-02-21 15:11:57 -08:00
Jason Costello
f1a74ad675
Remove refs to Museo
2017-02-21 14:37:51 -08:00