2
0
mirror of https://github.com/status-im/consul.git synced 2025-03-02 14:20:39 +00:00

1036 Commits

Author SHA1 Message Date
James Phillips
5f796f8128 Tweaks formatting of example JSON. 2016-11-17 16:43:47 -08:00
James Phillips
e1e43dec7a
Adds a draft of the snapshot agent docs. 2016-11-16 21:38:02 -08:00
Cameron Stokes
74cfcd3014 ~ docs: Typo in agent options page. 2016-11-16 07:58:24 -08:00
Benjamin Farley
58fa50e06d Small change to how operator docs read 2016-11-16 09:01:51 +00:00
Brian Shumate
df51fde7b0 Docs: Web UI config updates ()
* Updates around Web UI directory configuration

* consistent terms
2016-11-12 13:08:15 -08:00
James Phillips
a819fd0e83 Update upgrade-specific.html.markdown 2016-11-10 13:38:36 -08:00
James Phillips
ffc05ace69 Update dns-cache.html.markdown 2016-11-10 13:37:44 -08:00
Brian Shumate
486fa06eec Updated broken Extended Key Usage link () 2016-11-10 08:09:39 -08:00
Sumit Gupta
2f97f65ed9 Remove Extra > () 2016-11-10 08:09:17 -08:00
James Phillips
16f8e04bfe
Revert "Updates Circonus metrics library and adds support for display name and tags."
This reverts commit bd490ec937a5859ba43b07d9103b3cb8f037e9e5 from .
2016-11-09 16:21:02 -08:00
matt maier
bd490ec937 Updates Circonus metrics library and adds support for display name and tags.
* Update circonus-gometrics

`vendor circonus-labs/circonus-gometrics`
`vendor circonus-labs/circonus-gometrics/api`
`vendor circonus-labs/circonus-gometrics/checkmgr`
`vendor circonus-labs/circonusllhist`
`vendor hashicorp/go-retryablehttp`

* Update Circonus integration expose Check Display Name and Check Tags configuration options.

* Adds version info to docs for new Circonus options.
2016-11-09 13:26:43 -08:00
James Phillips
08448015b1 Adds version info to docs for new Circonus options. 2016-11-09 13:26:20 -08:00
matt maier
91a8b43d5a Update Circonus integration expose Check Display Name and Check Tags configuration options. 2016-11-09 15:33:37 -05:00
James Phillips
a61252b324 Update upgrade-specific.html.markdown 2016-11-08 12:12:57 -08:00
Kyle Havlovitz
8e621eb9c8 Set MaxStale default to 10 years and add a stale counter ()
Default MaxStale to 10 years and add a counter at `consul.dns.stale_queries` that tracks when an agent serves a query that's stale by at least 5 seconds. Previously, MaxStale defaulted to 5 seconds and DNS would become unavailable after a short period of time with no leader. This new default allows DNS requests to still be served in the event of a long outage.

Fixes .
2016-11-08 14:45:12 -05:00
Cameron Stokes
e6e35d9013 Clarify -retry-join docs. () 2016-11-03 14:22:46 -07:00
Kyle McCullough
73b281a27c Add setting to skip ssl certificate verification for HTTP checks ()
* http check: add setting to skip ssl certificate verification

* update http check documentation

* fix typo in documentation

* Add TLSSkipVerify to agent api
2016-11-03 13:17:30 -07:00
James Phillips
233a3a101b Supports WAN and LAN Serf Bind Addresses. ()
* * adding cli config and config file support for specifying the serf wan and lan bind addresses
* updating documentation for serf wan and lan options
Fixes 

* Cleans up some small things from .

* Uses the bind default for the agent test for Serf WAN and LAN.
2016-11-03 12:58:58 -07:00
Kyle Havlovitz
1de39d23d1
Small tweaks to docs and syntax 2016-11-03 13:04:42 -04:00
Kyle Havlovitz
f3efab5f84
Add support for ECS task roles as an auth mechanism 2016-11-02 18:48:15 -04:00
Kyle Havlovitz
d4d6e2b482
Move EC2 discovery logic into retryJoin for robustness 2016-11-02 14:35:37 -04:00
Ustun Ozgur
fb7c03cbb1 Typo fix () 2016-11-01 06:11:20 -07:00
Kyle Havlovitz
606662c502 Add snapshot inspect subcommand () 2016-10-31 19:37:27 -04:00
Kyle Havlovitz
4be39290e5 Revert "Added website docs for snapshot inspect command"
This reverts commit 7d0318252ca8fd81192b1bdc45a4c37407aecd37.
2016-10-31 17:06:47 -04:00
Kyle Havlovitz
7d0318252c
Added website docs for snapshot inspect command 2016-10-31 17:01:27 -04:00
Kyle Havlovitz
3be132863f Enable snapshots in dev mode () 2016-10-31 14:39:47 -04:00
James Phillips
c01a3871c9 Adds support for snapshots and restores. ()
* Updates Raft library to get new snapshot/restore API.

* Basic backup and restore working, but need some cleanup.

* Breaks out a snapshot module and adds a SHA256 integrity check.

* Adds snapshot ACL and fills in some missing comments.

* Require a consistent read for snapshots.

* Make sure snapshot works if ACLs aren't enabled.

* Adds a bit of package documentation.

* Returns an empty response from restore to avoid EOF errors.

* Adds API client support for snapshots.

* Makes internal file names match on-disk file snapshots.

* Adds DC and token coverage for snapshot API test.

* Adds missing documentation.

* Adds a unit test for the snapshot client endpoint.

* Moves the connection pool out of the client for easier testing.

* Fixes an incidental issue in the prepared query unit test.

I realized I had two servers in bootstrap mode so this wasn't a good setup.

* Adds a half close to the TCP stream and fixes panic on error.

* Adds client and endpoint tests for snapshots.

* Moves the pool back into the snapshot RPC client.

* Adds a TLS test and fixes half-closes for TLS connections.

* Tweaks some comments.

* Adds a low-level snapshot test.

This is independent of Consul so we can pull this out into a library
later if we want to.

* Cleans up snapshot and archive and completes archive tests.

* Sends a clear error for snapshot operations in dev mode.

Snapshots require the Raft snapshots to be readable, which isn't supported
in dev mode. Send a clear error instead of a deep-down Raft one.

* Adds docs for the snapshot endpoint.

* Adds a stale mode and index feedback for snapshot saves.

This gives folks a way to extract data even if the cluster has no
leader.

* Changes the internal format of a snapshot from zip to tgz.

* Pulls in Raft fix to cancel inflight before a restore.

* Pulls in new Raft restore interface.

* Adds metadata to snapshot saves and a verify function.

* Adds basic save and restore snapshot CLI commands.

* Gets rid of tarball extensions and adds restore message.

* Fixes an incidental bad link in the KV docs.

* Adds documentation for the snapshot CLI commands.

* Scuttle any request body when a snapshot is saved.

* Fixes archive unit test error message check.

* Allows for nil output writers in snapshot RPC handlers.

* Renames hash list Decode to DecodeAndVerify.

* Closes the client connection for snapshot ops.

* Lowers timeout for restore ops.

* Updates Raft vendor to get new Restore signature and integrates with Consul.

* Bounces the leader's internal state when we do a restore.
2016-10-25 19:20:24 -07:00
James Phillips
104b12040a Merge pull request from hashicorp/jbs-1462
Clarify retry_join addresses for 
2016-10-20 11:40:03 -07:00
Brian Shumate
17dfb0b196
Reworded and applied to -retry-join also 2016-10-20 14:14:55 -04:00
James Phillips
41f1764434 Adds a version note for the consul kv command.
Closes .
2016-10-13 08:02:20 -07:00
Michel Lebeau
2397c75856 Fix typo
The double "to" was distracting
2016-10-11 15:51:49 +01:00
sdinakar85
bb08378059 Multiple Datacenter Documentation
Updated the slightly confusing documentation on how to join the clusters over WAN. Also the inputs from  is taken in account in this documentation update.
2016-10-07 14:12:37 +05:30
James Phillips
b073ec72f3 Adds a note about child process reaping going away. 2016-10-06 21:38:29 -07:00
Adrián López Gómez
e25efedcc2 Doc fix - allow_stale enabled by default in v0.7 2016-10-06 15:00:28 +02:00
Andreas Böttger
cb8deabdc3 json syntax corrected 2016-10-04 15:40:53 +02:00
Brian Shumate
320b07c025
Clarify retry_join addresses for
- Initial pass at adding note about address formats for retry_join;
  IPv4 is a list of IPs only, whereas IPv6 are bracketed IPs + port
2016-10-03 12:15:24 -04:00
Brian Shumate
ba5bbf8ca2
Update variable value information as port must also be specified, fixes 2016-09-29 12:50:00 -04:00
Brian Shumate
775c32539f
Finalize update for -bind 2016-09-27 18:36:19 -04:00
Brian Shumate
59a90d68a9
Clarification 2016-09-27 12:38:32 -04:00
Brian Shumate
49a410a2da
Correct inaccurate bind reference, closes 2016-09-27 12:05:22 -04:00
James Phillips
4dc526afed Merge pull request from mckennajones/cliflagformatting
Making CLI flag formatting consistent in the docs
2016-09-27 07:51:56 -07:00
James Phillips
1e318db830 Update operator.html.markdown 2016-09-27 06:25:51 -07:00
McKenna Jones
34043357da cli flag formatting for agent docs and one guide 2016-09-26 21:22:01 -07:00
Seth Vargo
f381d19221
Update cas docs 2016-09-26 16:15:27 -07:00
Seth Vargo
28de64c7f0
Remove base64 comment entirely 2016-09-26 16:10:22 -07:00
Seth Vargo
39fb70ff67
Fix CAS operations for put 2016-09-26 16:06:56 -07:00
Seth Vargo
85350a4329
Update kv get docs 2016-09-26 16:06:56 -07:00
Seth Vargo
c7496c5652
Change delete CAS behavior to require ModifyIndex 2016-09-26 16:06:55 -07:00
Seth Vargo
a6262c863b
Add top-level docs command 2016-09-26 16:06:54 -07:00
Seth Vargo
297a22383f
Add kv delete command 2016-09-26 16:06:53 -07:00