Commit Graph

207 Commits

Author SHA1 Message Date
Kyle Havlovitz 440611f9f7 Add snapshot inspect subcommand (#2451) 2016-10-31 19:37:27 -04:00
Kyle Havlovitz 72412237fd Revert "Added website docs for snapshot inspect command"
This reverts commit 7d0318252ca8fd81192b1bdc45a4c37407aecd37.
2016-10-31 17:06:47 -04:00
Kyle Havlovitz c97c59b070
Added website docs for snapshot inspect command 2016-10-31 17:01:27 -04:00
Seth Vargo 2d29c510dc 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 863821b665 Add security page (#2447) 2016-10-29 12:44:20 -07:00
James Phillips bc29610124 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 ce5c820c4a
Add kv delete command 2016-09-26 16:06:53 -07:00
Seth Vargo d5dd8ef7a1
Add kv put command 2016-09-26 16:06:53 -07:00
Seth Vargo a8dc0f86b6
Add kv get 2016-09-26 16:06:53 -07:00
James Phillips 1b7a16b7d3
Adds new consul operator endpoint, CLI, and ACL and some basic Raft commands. 2016-08-30 00:02:50 -07:00
James Phillips 757cbce708
Sorts the guides (redux). 2016-08-25 16:47:54 -07:00
James Phillips ff4dd5e590 Sorts the guides. 2016-08-25 16:44:52 -07:00
James Phillips b339b0d2fc
Adds performance tuning capability for Raft, detuned defaults, and supplemental docs. 2016-08-24 21:58:37 -07:00
James Phillips 6daf26ada4 Adds documentation for the transaction endpoint. 2016-05-11 14:18:47 -07:00
Seth Vargo cf9d243240
Track enhanced links 2016-05-02 15:55:04 -04:00
captainill a46acfeb25 refactor to encapsulate all side affects of displaying announcement bnr in one file 2016-03-08 14:59:06 -08:00
Kevin Fishner bcbf906ebd fix UTMs 2016-03-03 15:20:24 -08:00
Kevin Fishner 1c07280c38 update copyedit to add the word build 2016-03-03 15:19:05 -08:00
captainill 95337b7211 add announcement banner for Consul Enterprise launch 2016-03-03 12:23:30 -08:00
Seth Vargo b7c502c15a Add structured data 2016-01-24 13:27:30 -05:00
Seth Vargo dc9131a732 Use HTTPS + www. where appropriate 2016-01-13 17:44:01 -05:00
captainill b161727711 fix consul logo position in safari 2016-01-12 11:58:30 -08:00
captainill 3fa4451d05 position edit this page link to bottom of page 2015-12-19 22:29:11 -08:00
captainill b276b8f06c capital C in header by hashicorp lockup 2015-12-19 22:05:17 -08:00
captainill 3ac1b7321d Merge branch 'master' into new_header 2015-12-19 21:39:34 -08:00
captainill 2573f15882 cleanup 2015-12-19 21:39:03 -08:00
James Phillips 9e29bb4238 Adds and updates docs for prepared queries. 2015-11-15 17:06:00 -08:00
captainill 88c96bbc62 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 88f86c6255 refactor styles to be more atomic for header/footer usage 2015-11-09 15:34:32 -08:00
captainill f3f4e0cf0a use method terraform uses to keep footer at bottom of page 2015-11-09 13:18:24 -08:00
captainill 3509649a0c footer redesign 2015-11-08 23:16:24 -08:00
captainill d083c1c651 most styles 2015-11-06 23:38:43 -08:00
captainill 6c9f2df73c basic structure of redesign 2015-11-06 23:17:00 -08:00
James Phillips b3b1c6940b Updates docs for network coordinates. 2015-10-23 15:23:01 -07:00
Sam Handler 6a27884e25 Add edit this page link in footer 2015-10-12 18:44:22 -04:00
Kevin Fishner 19b7099af3 update analytics 2015-07-28 15:59:05 -07:00
Ryan Uber b082d2f529 website: link and formatting adjustments for configtest command 2015-05-11 09:42:06 -07:00
Kevin Fishner abbbe683fb add consul and the hc ecosystem 2015-04-20 16:29:21 -07:00
Ryan Uber 7f40698666 website: first pass at anti-entropy docs 2015-03-03 14:13:59 -08:00
Armon Dadgar ab18b0fc32 website: Upgrading 0.5 docs 2015-02-19 11:03:02 -08:00
Armon Dadgar 52bdbdade9 website: Adding Atlas docs 2015-02-18 15:15:01 -08:00
Jack Pearkes b93e2f6425 website: fix white bar
fixes #690
2015-02-11 17:49:17 -08:00
Ryan Uber 61322641ea website: document maint command 2015-01-21 14:07:54 -08:00
Ryan Uber 4c83c6917d fix space/tab mixing in docs.erb 2015-01-20 22:50:33 -08:00
Ryan Uber 65b41b9236 website: beginning http docs update 2015-01-20 22:49:41 -08:00
Armon Dadgar b92b09cd19 website: Document the lock command 2015-01-19 16:43:38 -10:00
Armon Dadgar 8698d9bdb3 website: Document a distributed semaphore 2015-01-19 16:43:24 -10:00
Emil Hessman 4461c750bb 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 f718da8df6 Move IE compat into middleman-hashicorp 2014-12-30 13:45:15 -05:00
Seth Vargo b62eb18b38 Update titles to be consistent with other sites 2014-12-30 13:18:25 -05:00
Ryan Uber 8dc53447a3 command: renamed keys to keyring to disambiguate usage 2014-11-19 16:31:06 -08:00
Ryan Uber c0f1b5f8c8 website: document keys command 2014-11-19 16:30:22 -08:00
Seth Vargo dd72095659 Create unified "Consul Tools" page to showcase our tools and the communities 2014-10-21 18:22:53 -04:00
Seth Vargo e702810774 Add Consul Template to the download list 2014-10-21 16:24:00 -04:00
Seth Vargo 36a14019d1 Use a description attribute for HTML descriptions 2014-10-19 19:41:12 -04:00
Seth Vargo dc9295fc3f Move more javascript into the footer 2014-10-19 19:41:12 -04:00
Seth Vargo 74c981e0c6 Cleanup header HTML 2014-10-19 19:41:12 -04:00
Armon Dadgar 6755044e02 website: Adding FAQ page. Fixes #363. 2014-10-13 17:46:41 -07:00
Seth Vargo 9a40bc0e54 Include one javascript file and use sprockets 2014-10-06 19:13:08 -04:00
Seth Vargo 179d960003 Remove Gruntfile 2014-10-06 19:11:52 -04:00
Armon Dadgar ea20cabc0f website: Updating docs 2014-09-01 15:03:37 -07:00
Armon Dadgar 2f8948fe89 website: Adding docs 2014-08-28 17:22:56 -07:00
Armon Dadgar 60a50301db website: Document watches 2014-08-21 17:25:42 -07:00
Armon Dadgar ea0a1dca2e website: ACL internals 2014-08-18 15:46:59 -07:00
Armon Dadgar 5378542b1c website: Document the new reload command 2014-06-11 11:01:36 -07:00
Armon Dadgar 3af3f40434 website: Documenting DNS settings 2014-06-08 17:26:41 -07:00
Armon Dadgar 1e861114c7 website: Adding guide on leader election 2014-05-20 16:25:30 -07:00
Armon Dadgar 2748dcd4c6 website: Starting to document sessions 2014-05-20 16:25:30 -07:00
Jack Pearkes be8b976451 website: remove some serf stuff, old js files 2014-05-02 14:13:48 -04:00
Mitchell Hashimoto b581edf087 website: getting started UI page 2014-05-01 11:19:42 -07:00
Mitchell Hashimoto c184fb31db website: pages for UI download 2014-05-01 10:49:30 -07:00
Armon Dadgar 4e1ea046af website: Adding links to demo 2014-05-01 10:23:13 -07:00
Jack Pearkes 050302ece8 website: add a favicon and seo description 2014-04-17 11:49:13 -04:00
Armon Dadgar f104336fd2 website: Adding page on Jepsen testing 2014-04-16 17:03:48 -07:00
Armon Dadgar 1aa1359f3e website: Google analytics 2014-04-14 15:35:09 -07:00
Mitchell Hashimoto 4d42a81f24 website: creating a cluster 2014-04-14 12:47:55 -07:00
Mitchell Hashimoto 2a5e35866d website: getting started registeringa service changes 2014-04-14 12:38:40 -07:00
Armon Dadgar fe7d82287b website: Fixing link to github 2014-04-14 11:56:13 -07:00
Mitchell Hashimoto c0c4c2f7cb website: it is 2014 2014-04-14 11:53:40 -07:00
Jack Pearkes 8e071eb28d website: don't use compiled CSS 2014-04-14 11:14:59 -04:00
Jack Pearkes 4465a3a6a7 website: update middleman, use asset pipeline 2014-04-14 11:13:28 -04:00
Armon Dadgar 37bd90f09d website: Adding guide on outage recovery 2014-04-11 12:55:02 -07:00
Armon Dadgar 668255784c website: Guide for adding/removing servers 2014-04-11 12:32:34 -07:00
Armon Dadgar d6bccb8905 website: Adding multiple datacenter guide 2014-04-11 12:03:12 -07:00
Armon Dadgar 361d858f05 website: Working on getting started guide 2014-04-10 17:41:49 -07:00
Armon Dadgar e1286d7ad2 website: Remove event handlers and user events pages 2014-04-10 17:39:00 -07:00
Armon Dadgar 4f78755856 website: Adding the vs nagios/sensu page 2014-04-10 14:49:12 -07:00
Armon Dadgar 81abe725f9 website: remove use cases 2014-04-10 13:35:22 -07:00
Armon Dadgar 6369772619 website: Filling in the vs ZooKeeper 2014-04-09 12:53:35 -07:00
Armon Dadgar ab48a06bde website: Move the comparisons to sub-dir 2014-04-09 12:16:11 -07:00
Armon Dadgar e2d45b5eb0 website: Doc cleanup 2014-04-09 11:40:52 -07:00
Armon Dadgar 4ed6972862 Merge pull request #31 from captainill/master
Subpages and more responsive tweaks
2014-04-09 10:21:49 -07:00
JT 7fffbc23f7 responsive/finishing touches 2014-04-08 21:00:59 -07:00
JT b5683db078 footer responsive nav 2014-04-08 19:54:54 -07:00
JT 20f058733c responsive cleanup 2014-04-08 19:44:14 -07:00
JT 358b925efe add layout class names and subpage class 2014-04-08 14:01:49 -07:00
Armon Dadgar 37a7a4400e website: Remove roadmap 2014-04-07 15:11:58 -07:00
JT a6e681dbe6 homepage 2014-04-05 02:03:01 -07:00
Armon Dadgar 65df8cedf2 website: document registering of external services 2014-02-25 12:22:25 -08:00
Armon Dadgar 38317d4890 website: Documenting the info command 2014-02-23 17:09:59 -08:00
Armon Dadgar 5b5b3f1189 website: adding guide on bootstrapping a DC. Fixes #5. 2014-02-22 21:08:36 -08:00
Armon Dadgar 5101cf88df website: document the high level architecture 2014-02-19 16:58:15 -08:00
Armon Dadgar 4b490b3a83 website: working on documenting http api 2014-02-19 12:05:18 -08:00
Armon Dadgar 1924f73449 website: document the DNS interface 2014-02-19 11:05:42 -08:00
Armon Dadgar 1eb51ee663 website: document checks and services 2014-02-18 18:05:18 -08:00
Armon Dadgar c200b63204 website: updating documentation on commands 2014-02-18 17:32:13 -08:00
Armon Dadgar 0611db496a website: bulk copy from serf 2014-02-07 16:41:03 -08:00