Commit Graph

104 Commits (d5aac284d91ddd35942ecff373237013c5147092)

Author SHA1 Message Date
Seth Vargo d5aac284d9 Switch to Docker-based website build process (#2448)
This has been working really well on Nomad and hashicorp.com, so I am
ready to port it out to Consul as a beta. This moves the local
development to a Docker container, which is the same container that we
use to publish the website in production. The result is much faster and
more consistent deploys.
2016-10-31 12:49:52 -07:00
Seth Vargo bfa0c3bc4c Add security page (#2447) 2016-10-29 12:44:20 -07:00
James Phillips c01a3871c9 Adds support for snapshots and restores. (#2396)
* 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
Seth Vargo 297a22383f
Add kv delete command 2016-09-26 16:06:53 -07:00
Seth Vargo 82bddd7f9b
Add kv put command 2016-09-26 16:06:53 -07:00
Seth Vargo c8fdc5c50d
Add kv get 2016-09-26 16:06:53 -07:00
James Phillips e5850d8a26
Adds new consul operator endpoint, CLI, and ACL and some basic Raft commands. 2016-08-30 00:02:50 -07:00
James Phillips c1c1a340e0
Sorts the guides (redux). 2016-08-25 16:47:54 -07:00
James Phillips 7b8837f46e Sorts the guides. 2016-08-25 16:44:52 -07:00
James Phillips 57db4bcce6
Adds performance tuning capability for Raft, detuned defaults, and supplemental docs. 2016-08-24 21:58:37 -07:00
James Phillips 17cd0ac4ec Adds documentation for the transaction endpoint. 2016-05-11 14:18:47 -07:00
Seth Vargo 8baadf332a
Track enhanced links 2016-05-02 15:55:04 -04:00
captainill 542b04558f refactor to encapsulate all side affects of displaying announcement bnr in one file 2016-03-08 14:59:06 -08:00
Kevin Fishner 272c9fae1c fix UTMs 2016-03-03 15:20:24 -08:00
Kevin Fishner b71b0e7d0b update copyedit to add the word build 2016-03-03 15:19:05 -08:00
captainill 293aba329f add announcement banner for Consul Enterprise launch 2016-03-03 12:23:30 -08:00
Seth Vargo 40707934d2 Add structured data 2016-01-24 13:27:30 -05:00
Seth Vargo cae0ff354a Use HTTPS + www. where appropriate 2016-01-13 17:44:01 -05:00
captainill 8bd56dd3be fix consul logo position in safari 2016-01-12 11:58:30 -08:00
captainill 5b54dacf64 position edit this page link to bottom of page 2015-12-19 22:29:11 -08:00
captainill 5d1b3a9ab0 capital C in header by hashicorp lockup 2015-12-19 22:05:17 -08:00
captainill f6af74a432 Merge branch 'master' into new_header 2015-12-19 21:39:34 -08:00
captainill 86c87432bd cleanup 2015-12-19 21:39:03 -08:00
James Phillips 800e946bf1 Adds and updates docs for prepared queries. 2015-11-15 17:06:00 -08:00
captainill b79afeb349 edit page link does not belong in footer appearing like a nav link. should be associated with page content. updated 2015-11-09 15:39:34 -08:00
captainill 17b3910152 refactor styles to be more atomic for header/footer usage 2015-11-09 15:34:32 -08:00
captainill 45b1d47fab use method terraform uses to keep footer at bottom of page 2015-11-09 13:18:24 -08:00
captainill f96c4d0b50 footer redesign 2015-11-08 23:16:24 -08:00
captainill a624546993 most styles 2015-11-06 23:38:43 -08:00
captainill e792606519 basic structure of redesign 2015-11-06 23:17:00 -08:00
James Phillips cef9402ab9 Updates docs for network coordinates. 2015-10-23 15:23:01 -07:00
Sam Handler d25e6390b6 Add edit this page link in footer 2015-10-12 18:44:22 -04:00
Kevin Fishner 8ec5a0b5ba update analytics 2015-07-28 15:59:05 -07:00
Ryan Uber 8f79a964cd website: link and formatting adjustments for configtest command 2015-05-11 09:42:06 -07:00
Kevin Fishner 5279ffe6aa add consul and the hc ecosystem 2015-04-20 16:29:21 -07:00
Ryan Uber 87bdbdbb98 website: first pass at anti-entropy docs 2015-03-03 14:13:59 -08:00
Armon Dadgar d9121a8d89 website: Upgrading 0.5 docs 2015-02-19 11:03:02 -08:00
Armon Dadgar 05ac51ca26 website: Adding Atlas docs 2015-02-18 15:15:01 -08:00
Jack Pearkes d00d1b0b09 website: fix white bar
fixes #690
2015-02-11 17:49:17 -08:00
Ryan Uber 6995e74d94 website: document maint command 2015-01-21 14:07:54 -08:00
Ryan Uber f247ec0551 fix space/tab mixing in docs.erb 2015-01-20 22:50:33 -08:00
Ryan Uber 99b92a6fb0 website: beginning http docs update 2015-01-20 22:49:41 -08:00
Armon Dadgar d6d1f19f1b website: Document the lock command 2015-01-19 16:43:38 -10:00
Armon Dadgar 3af280213c website: Document a distributed semaphore 2015-01-19 16:43:24 -10:00
Emil Hessman bf0e284756 website: fix typo, casing and links
Fix typo in Leader Election guide: s/blog/blob/

Also fix various casing issues and prefer HTTPS links
for HashiCorp projects.
2015-01-04 12:58:58 +01:00
Seth Vargo 9f8b46b828 Move IE compat into middleman-hashicorp 2014-12-30 13:45:15 -05:00
Seth Vargo 49d29bc937 Update titles to be consistent with other sites 2014-12-30 13:18:25 -05:00
Ryan Uber 67d78628a3 command: renamed keys to keyring to disambiguate usage 2014-11-19 16:31:06 -08:00
Ryan Uber 6b41e98964 website: document keys command 2014-11-19 16:30:22 -08:00
Seth Vargo cb4b11e899 Create unified "Consul Tools" page to showcase our tools and the communities 2014-10-21 18:22:53 -04:00