Commit Graph

1579 Commits

Author SHA1 Message Date
James Phillips bdffcbfbe8 Fixes a typo in the snapshot docs. 2017-03-08 19:49:07 -08:00
Jack Pearkes 4a5499fad0 website: middleman-hashicorp bump to 0.3.13 2017-03-08 16:37:58 -08:00
Jason Costello 944c6d5936 Small optical adjustment to center Jumbotron logo mark 2017-03-08 16:36:38 -08:00
Jason Costello 4155ca9f6b Fix font-scoping 2017-03-08 16:36:38 -08:00
Jason Costello 910c2ce998 Update middleman-hashicorp to 0.3.11 2017-03-08 16:36:38 -08:00
Jason Costello 26576c6ca5 Remove 'by hashicorp" 2017-03-08 16:36:30 -08:00
Jason Costello b26affb22d Remove announcement banner 2017-03-08 16:36:30 -08:00
Jason Costello c87b2c313a Update middleman-hashicorp 2017-03-08 16:36:30 -08:00
Jason Costello efdea4e081 Add meganav 2017-03-08 16:35:02 -08:00
Jason Costello 8ca1a93f16 Remove unnecessary font 2017-03-08 16:34:26 -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 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 a791de3ecf Revert "Change `ClientAddr` to default to `BindAddr` when not present." 2017-03-06 13:32:43 -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 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
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 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 9221aed856
Remove the RPC client interface and update docs 2017-02-28 13:41:09 -08:00
Seth Vargo 090aff0338
Cache for a longer time on Fastly 2017-02-28 15:59:01 -05: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 2ea36d7bd4
Merge branch 'master' into f-autopilot 2017-02-24 15:55:18 -08:00
Kyle Havlovitz 1c24c5d8d6
Add docs and api client methods for autopilot config 2017-02-23 21:00:15 -08:00
Kyle Havlovitz 0023454ccc
Add config section to docs for autopilot 2017-02-22 13:11:01 -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
Jason Costello bb62ea2c87 Various adjustments 2017-02-21 15:11:57 -08:00
Jason Costello fece7708f3 Remove refs to Museo 2017-02-21 14:37:51 -08:00
Jason Costello ce058b6a4a Wire up Klavika, remove Museo declarations 2017-02-21 10:45:56 -08:00
Ellery Addington-White 47ee5edefc Adds missing double quote 2017-02-16 13:38:55 -08:00
Kyle Havlovitz 1eb33e58c9 Merge pull request #2748 from hashicorp/f-operator-rework
Split operator raft command into subcommands
2017-02-16 12:07:53 -08:00
Kyle Havlovitz c8d0273f1b
Condense raft subcommand into one doc page 2017-02-16 11:44:14 -08:00
Hadi 6a5151d8ec Update downloads_tools.html.erb
add link to clojure client for consul http catalog api
2017-02-16 16:38:31 +02:00
Kyle Havlovitz e85b401eb9
Split operator raft command into subcommands 2017-02-15 13:53:34 -08:00
James Phillips 9103e77f57
Bumps website to Consul version 0.7.5. 2017-02-15 07:00:51 -08:00
Nathan Dataguake Basanese 428567c9be // , Add another way to update config
// , I got this from the `consul --help` output, and it seemed like a useful detail for people unfamiliar with the system.
2017-02-14 16:09:38 -08:00
Kyle Havlovitz 466e39d27a Merge pull request #2732 from hashicorp/f-validate-command
Deprecate configtest and add validate command
2017-02-10 20:34:09 -05:00
Kyle Havlovitz c9abafab92
Update docs and give better error for unknown client scheme 2017-02-10 19:55:54 -05:00
Kyle Havlovitz eee5eb3fb8
Update website docs for validate command 2017-02-10 19:38:38 -05:00
Kyle Havlovitz 93853340f0 Merge pull request #2726 from hashicorp/f-cli-rework-3
Centralize command-line parsing part 3
2017-02-10 13:42:01 -05:00
James Phillips 7e52e95c47 Adds clarifying note about the wakeup jitter.
Closes #2727.
2017-02-09 20:28:38 -08:00
Kyle Havlovitz 55ee1b0aed
Merge branch 'master' into f-cli-rework-3 2017-02-09 21:24:27 -05:00
Kyle Havlovitz 8ecbd91341 Merge pull request #2723 from hashicorp/f-cli-rework-2
Centralize command-line parsing part 2
2017-02-09 21:09:35 -05:00
Kyle Havlovitz bad037fb58
Cleanup and formatting adjustments 2017-02-09 20:49:17 -05:00
Kyle Havlovitz ea66375063
Convert watch command to use base.Command 2017-02-09 20:36:01 -05:00
Kyle Havlovitz edbb0ce0b8
Add missing doc page for version command 2017-02-09 20:08:25 -05:00
Kyle Havlovitz aa0d2502f8
Convert snapshot command to use base.Command 2017-02-09 20:00:38 -05:00
Kyle Havlovitz 8236af47ba
Convert rtt command to use base.Command 2017-02-09 19:38:06 -05:00
Kyle Havlovitz 8c14f93fb1
Convert reload command to use base.Command 2017-02-09 19:32:22 -05:00
Kyle Havlovitz 369b4b6d73
Convert operator command to use base.Command 2017-02-09 18:19:34 -05:00
Kyle Havlovitz be17779c42
Convert monitor command to use base.Command 2017-02-09 17:31:52 -05:00
Kyle Havlovitz 14415741a3
Convert members command to use base.Command 2017-02-09 17:12:47 -05:00
Kyle Havlovitz 6c4d4f9a32
Convert maint command to use base.Command 2017-02-09 17:06:19 -05:00
Kyle Havlovitz ccb193f77f
Convert leave command to use base.Command 2017-02-09 16:48:12 -05:00
Seth Vargo 997bd4aa94 Cache assets longer 2017-02-09 14:39:51 -05:00
Seth Vargo 854b0b021a Change cache to 4h 2017-02-09 14:36:28 -05:00
Kyle Havlovitz abdf1fbab3
Convert keyring command to use base.Command 2017-02-08 18:25:47 -05:00
Kyle Havlovitz 8775b031d3
Convert join command to use base.Command 2017-02-08 17:14:02 -05:00
Kyle Havlovitz a3d02a4cbc
Convert info command to use base.Command 2017-02-08 16:58:04 -05:00
Kyle Havlovitz aa1c464961
Convert exec command to use base.Command 2017-02-08 16:57:46 -05:00
Kyle Havlovitz 8985398c7e
Convert event command to use base.Command 2017-02-08 16:56:58 -05:00
Rob Genova a8d8683b46 remove `https://consul.io` from join links; remove UI link to `downloads.html` 2017-02-08 21:05:07 +00:00
Rob Genova fcaf2f52ee remove Atlas references from getting-started pages 2017-02-08 19:01:53 +00:00
James Phillips eb99212b83 Merge pull request #2669 from legendtkl/master
Fix consul kv example with flag separator
2017-02-07 20:17:42 -08:00
James Phillips 242cef5ac8 Removes broken WriteRequest ACL reference for catalog endpoints.
Fixes #1034.
2017-02-07 19:02:18 -08:00
Kyle Havlovitz a4cb414e58 Merge pull request #2717 from hashicorp/f-cli-rework
Begin centralizing command-line parsing
2017-02-07 21:15:06 -05:00
Kyle Havlovitz 49d2ce1c3d
Move command Meta to base.Command and split http options 2017-02-07 19:16:41 -05:00
Jonathan Crane 64bc86b87a fix grammatical error in 2nd paragraph 2017-02-07 10:20:40 -05:00
James Phillips 97dbfb8b32
Points at new release and puts tree in 0.8.0 dev mode. 2017-02-06 11:08:30 -08:00
Andrey Upadyshev 1ec69ba1d2 Fix `acquire` parameter nesting 2017-02-03 00:20:35 +01:00
Kyle Havlovitz 5b8049075e Merge pull request #2704 from hashicorp/f-relay-query-responses
Add relay-factor arg to keyring operations
2017-02-02 12:15:19 -05:00
James Phillips a5c8ccadd4 Merge pull request #2572 from hashicorp/jbs-2535
Notes about memory usage (helps with #2535)
2017-02-02 09:08:58 -08:00
Kyle Havlovitz 5d888f5303
Added -relay-factor param to keyring operations 2017-02-01 21:53:29 -05:00
Kyle Havlovitz a533e255ab Merge pull request #2699 from hashicorp/f-tls-min-version
Add TLSMinVersion to config options
2017-02-01 16:31:53 -05:00
Kyle Havlovitz 07ba3ddb6e
Add TLSMinVersion to config options 2017-02-01 16:20:33 -05:00
Chris Becker 1025ded3d5 Add consul kv import/export links to sidebar 2017-02-01 15:11:39 -05:00
James Phillips 9ef05bd759 Merge pull request #2692 from Toady00/patch-1
Specify PUT for agent maintenance endpoint
2017-02-01 06:58:20 -08:00
James Phillips 5f5680cfda Merge pull request #2666 from hashicorp/sethvargo-patch-1
Say which ec2 perms to use
2017-02-01 06:57:07 -08:00
Brandon Dennis 7f9649b6af Specify PUT for agent maintenance endpoint
Through most of the documentation if the method isn't specified it should be a `GET` request, but here it should be a `PUT`.
2017-01-31 16:00:27 -05:00
Patrick Sodré c135c08fb2 Simple RFC 2782 support with optional .service tag
Add support for SRV queries of names matching:
_<service>._<protocol>.[.service][.datacenter]<.domain>
2017-01-30 19:46:02 -05:00
Ryon Coleman 2f111f2e4d Add Google Tag Manager #GTM-NR2SD7C 2017-01-27 15:41:42 -05:00
vishalnayak 4fc92300f3 docs: Added 'vault' to ecosystem page 2017-01-27 13:19:19 -05:00
James Phillips 3da73be55c Updates to Consul 0.7.3. 2017-01-26 10:16:11 -08:00
Andrey Upadyshev f6c6a9ff3e Fix missing query parameters formatting in HTTP API documentation 2017-01-25 14:34:56 +01:00
legendtkl a2ff72b6ce Fix consul kv example with flag separator
1. fix consul kv example with flag separator
2017-01-24 17:03:12 +08:00
Kyle Havlovitz a55968f009
Merge branch 'master' into f-prepared-query-nodemeta 2017-01-23 20:17:48 -05:00
Kyle Havlovitz 3f3d7f9891
Add tests for node meta in prepared queries and update docs 2017-01-23 19:17:30 -05:00
Seth Vargo 748e308ac4 Say which ec2 perms to use 2017-01-20 17:13:28 -05:00
Cameron Stokes 07b91d9d20 Typo in docs/upgrade-specific page. 2017-01-19 12:28:30 -08:00
James Phillips 432540f918 Fixes a paste-o in the docs. 2017-01-18 16:02:04 -08:00
James Phillips 6ca0173907
Adds catalog support for node IDs. 2017-01-18 14:26:42 -08:00
James Phillips bd605e330c
Adds basic support for node IDs. 2017-01-17 22:47:59 -08:00
Mikhail Zholobov 7753627b52
website: Fix nesting for "raft_multiplier" option 2017-01-17 14:59:18 +02:00
Kyle Havlovitz 9e696220a8
Add support for multiple metadata filters to remaining endpoints
Enabled multiple meta filters for /v1/catalog/nodes and /v1/catalog/services
2017-01-13 20:49:13 -05:00
Kyle Havlovitz 5acd69b4fc
Add node metadata filtering to remaining health/catalog endpoints 2017-01-13 20:08:43 -05:00
needkane 0eccb354fa occasionally->occasionally 2017-01-13 15:34:44 +08:00
Kyle Havlovitz 4e87e5f47c Merge pull request #2570 from vancluever/f-gce-discovery
command/agent: Google Compute Engine host discovery
2017-01-12 18:27:36 -05:00
Ben Abrams fa514bf439
fixing typo in documentaion 2017-01-11 21:08:20 -08:00
Kyle Havlovitz 5ddea8a5df
Merge branch 'master' into f-gce-discovery 2017-01-11 22:57:07 -05:00
Kyle Havlovitz dbc72eaac0
Condense gce discovery logging a bit 2017-01-11 22:37:22 -05:00
Kyle Havlovitz 23ce10f889 Merge pull request #2643 from hashicorp/f-node-metadata
Node metadata
2017-01-11 20:29:24 -05:00
Kyle Havlovitz 87c0283bb1
Update client api and docs for node metadata 2017-01-11 19:28:58 -05:00
Kyle Havlovitz d44f3ea5d4
Update website docs for node metadata 2017-01-11 17:52:31 -05:00
Brian Shumate 1eaeb13a9c
DOCS: update environment variables
- Move environment variables to section of CLI page
- Remove environment variables page
- Remove environment variables nagivation menu entry
2017-01-09 12:02:06 -05:00
Brian Shumate f5e76a7125
DOCS: update environment variables page
- Relocate Environment Variables page to Agent section
- Correct front matter newlines issue
2017-01-06 09:42:49 -05:00
James Phillips 5500009ae4 Merge pull request #2573 from hashicorp/jbs-envvars
Add a page for CLI environment variables
2017-01-05 12:42:29 -08:00
James Phillips 6c2462e309 Merge pull request #2611 from amiryal/patch-1
Correct heading level in encryption documentation
2017-01-05 12:13:13 -08:00
James Phillips 4cb00746fb Merge pull request #2615 from ruslansennov/master
update `/v1/agent/service/register` endpoint doc
2017-01-05 12:08:50 -08:00
James Phillips ffaef1dfc9 Merge pull request #2627 from legendtkl/master
fix typo Check-And_set to Check-And-Set
2017-01-05 11:55:02 -08:00
James Phillips 63ad16fe02 Merge pull request #2628 from jippi/patch-1
Adding hashi-ui to community tools
2017-01-05 11:51:21 -08:00
James Phillips 06e1e525e0 Merge pull request #2629 from Ashald/f-website/add-consul-announcer
Add consul-announcer to Community Tools
2017-01-05 11:50:48 -08:00
James Nugent d4e8c8a2c1 cli: Add KV `export` and `import`
This commit adds two new commands to the Consul KV CLI, which export and
import a JSON formatted representation of the Consul KV tree. It is
useful to migrate parts of the KV tree between unrelated Consul
clusters, and could also be used for initial data population of the KV
store.
2017-01-05 07:57:38 -06:00
James Nugent 2e8f440ac7 cli: Add -base64 option to `consul kv put`
This commit adds a -base64 option to the consul kv put command, which
base 64 decodeds the data prior to writing it. This can be used in
conjunction with `consul kv get -base64 key`.
2017-01-04 16:12:21 -06:00
James Nugent 5334649355 Merge pull request #2631 from hashicorp/kv-get-base64
cli: Add -base64 option to `consul kv get`
2017-01-04 16:00:27 -06:00
James Nugent b79296ac70 cli: Add -base64 option to `consul kv get`
This commit adds a `-base64` option to the `consul kv get` command,
which base 64 encodes the output such that it can be processed by
terminal tools in the event that the data is binary. The flag defaults
to false.
2017-01-04 15:41:40 -06:00
Borys Pierov d98f847919 Add consul-announcer to Community Tools 2017-01-04 11:03:19 -05:00
Christian Winther 62f2e493be Update downloads_tools.html.erb 2017-01-03 21:14:39 +01:00
legendtkl 713bf8654a fix typo Check-And_set to Check-And-Set 2017-01-04 00:46:16 +08:00
Ruslan Sennov 8e86ebd9db update `/v1/agent/service/register` endpoint doc 2016-12-26 23:32:20 +03:00
Amir Yalon 2932648c05 Correct heading level in encryption documentation
The ‘RPC Encryption’ heading is semantically at the same level as ‘Gossip Encryption’.
2016-12-22 10:51:20 +02:00
James Phillips dc2a54a77b
Updates downloads page link to 0.7.2. 2016-12-21 05:20:54 -08:00
Bradley Falzon 5a0b824ae0 Fix typo in command/kv/put doc 2016-12-21 14:02:26 +10:30
James Phillips 4956a66638 Adds session policy example to ACL internals doc. 2016-12-14 21:31:59 -08:00
James Phillips 03a4b09c1d
Fixes a typo in the agent options docs. 2016-12-14 21:03:16 -08:00
James Phillips a67d308175 Merge pull request #2594 from hashicorp/acl-complete
Adds complete ACL support for /v1/agent endpoints.
2016-12-14 20:49:00 -08:00
James Phillips 3a44d46126
Adds some basic documentation about the new ACL changes. 2016-12-14 20:32:44 -08:00
Kyle Havlovitz 7f5f1fed81
Add a notice about deprecation of atlas features 2016-12-14 15:13:51 -05:00
James Phillips ca7a243b70
Adds ACL management support to the agent. 2016-12-14 07:07:41 -08:00
James Phillips 0139bbb963
Adds support for a new "acl_agent_token" which is used for internal
catalog operations.
2016-12-12 14:52:27 -08:00
James Phillips 8aef91473f Merge pull request #2590 from hashicorp/acl-complete-catalog
Adds new node ACL policy and applies it to catalog endpoints.
2016-12-12 14:52:10 -08:00
James Phillips 17db4a5722 Merge pull request #2575 from bradleyfalzon/patch-1
Link to consensus.html#deployment-table not #toc_4
2016-12-08 14:02:52 -08:00
Seth Vargo bdb318a3ef
Switch to KV CLI in getting started 2016-12-07 14:01:51 -08:00
Seth Vargo 2beb18c0ab
Update homepage to use KV CLI instead of curl 2016-12-07 11:32:35 -08:00
Chris Marchesi 6500d1afaa command/agent: Google Compute Engine host discovery
This commit adds several command-line and config options that facilitate
host discovery through Google Compute Engine (GCE), much like the
recently added EC2 host discovery options. This should assist with
bootstrapping and joining servers within GCE when non-static addresses
are used, such as when using managed instance groups.

Documentation has also been added. It should be noted that if running
from within a GCE instance, the only option that should be necessary is
-retry-join-gce-tag-value.
2016-12-06 17:46:40 -08:00
Brian Shumate 92cf10a8c7
Overlooked saving a couple changes 2016-12-06 18:01:43 -05:00
Brian Shumate 418c76d8bb
updates based on feedback 2016-12-06 14:46:26 -05:00
Brian Shumate 9570120749
Address feedback 2016-12-06 14:12:05 -05:00
James Phillips 8ae9e17dff
Adds an opt-in for new ACL policies and features coming in Consul 0.8. 2016-12-06 11:06:14 -08:00
Bradley Falzon 839fdc64b3 Link to consensus.html#deployment-table not #toc_4 2016-12-06 15:40:40 +10:30
James Phillips fba22f997e
Fixes broken link in options doc. 2016-12-05 18:53:51 -08:00
James Phillips a3dc0965a8 Clarifies ACL replication token. 2016-12-05 18:43:05 -08:00
Brian Shumate 291ea643d2
Some examples where sockets are possible as well 2016-12-05 16:56:31 -05:00
Brian Shumate fbd074b7e7
Add a table of CLI environment variables 2016-12-05 12:35:44 -05:00
Brian Shumate cb33bcbeb8
Notes about memory usage (helps with #2535) 2016-12-05 12:28:49 -05:00
shantanugadgil f8febd94b8 Update kv.html.markdown 2016-12-03 13:35:55 +05:30
Mike Zupan fc352d7a62 Needs to be moved
This took 2 hours from my life. The near has to be inside a service and not in the main block.
2016-12-01 22:47:02 -08:00
William Lord 4d1f56a287 Update snapshot.html.markdown 2016-12-01 10:11:35 +00:00
James Phillips c07bdb173b Merge pull request #2555 from hashicorp/pr-2497-slackpad
Updates Circonus library and adds support for custom display name and tags.
2016-11-30 21:42:01 -08:00
James Phillips 859dbfd72a
Changes Consul version number for new Circonus options. 2016-11-30 21:35:54 -08:00
Kyle Havlovitz bd69c6d871 Add reload/leave http endpoints (#2516) 2016-11-30 13:29:42 -05:00
Brian Shumate cd75445dd5
Update compatibility table for #2540 2016-11-30 11:17:52 -05:00
James Phillips 2dea48193c Merge pull request #2532 from jamtur01/docspass
Documentation pass
2016-11-29 15:15:04 -08:00
James Phillips 214fbbbad2 Update dns.html.markdown 2016-11-29 15:01:38 -08:00
anatoly 53d4f0f51c [website]: Clojure client to SDK
in the "Download Consul Tools" list
2016-11-29 02:12:14 -05:00
Kyle Havlovitz 124f907063 Add monitor http endpoint 2016-11-28 18:36:26 -05:00
James Turnbull 8d29224d5c Fix to watch command docs 2016-11-25 13:34:08 -05:00
James Turnbull db13340633 Final dc pass 2016-11-25 13:29:55 -05:00
James Turnbull 8a145d50a3 Removed two space after period exceptions 2016-11-25 13:25:09 -05:00
James Turnbull edeb7e405a Another catch 2016-11-25 13:14:09 -05:00
James Turnbull 90a83d1329 And a handful more 2016-11-25 12:39:08 -05:00
James Turnbull 9e5184fca3 More consistency 2016-11-25 12:34:07 -05:00
James Turnbull 23a4a96ad3 Documentation pass
I was reviewing some docs and found a few issues.

1. Fixed some spelling mistakes.
2. Re-formatted some paragraphs.
3. Changed some potentially loaded language.
4. Fixed some grammar issues.
5. Tried to consistently use syntax-highlighting.
6. Fixed post-period spacing.
7. Fixed some formatting issues and inconsistency.
8. All "notes" are either proper notes or re-written.
2016-11-25 12:02:32 -05:00
Kyle Havlovitz dcdadd012f Fix keyring doc method wording 2016-11-22 20:10:43 -05:00
Kyle Havlovitz 6bd65c668b Combine keyring endpoints into one 2016-11-22 20:10:43 -05:00
Kyle Havlovitz 31453c7dbd Add version specific note to keyring http docs 2016-11-22 20:10:43 -05:00
Kyle Havlovitz 345e2366eb Add keyring api website doc sections 2016-11-22 20:10:43 -05:00
James Phillips 4ed6770cfa Makes addresses blank in service definition. 2016-11-22 08:29:29 -08:00
James Phillips ea58d6795d Tweaks title of snapshot link. 2016-11-21 09:02:19 -08:00
James Phillips fb27534dc1 Merge pull request #2515 from hashicorp/f-snapshot-agent-docs
Adds a draft of the snapshot agent docs.
2016-11-20 22:42:22 -08:00
James Phillips 66b61e68a0
Adds details about config files. 2016-11-20 22:41:33 -08:00
James Phillips 3a63638cd7
Tweaks local option name. 2016-11-19 18:23:37 -08:00
Brian Shumate 940232890e
tweaks 2016-11-18 10:53:59 -05:00
Brian Shumate 3871c4810e
Attempt to describe entire response (for #2393)
Describe fields returned by /v1/catalog/service/<service>
2016-11-18 10:33:37 -05:00
James Phillips dabb08de51 Merge pull request #2504 from tolitius/envoy
[website]: adding a Clojure client
2016-11-17 16:56:38 -08:00
James Phillips 5ce301d322 Merge pull request #2501 from Drawaes/master
[Website] Update community tools page to add condenserdotnet
2016-11-17 16:55:39 -08:00
James Phillips 695c128f1b Tweaks markup on community page. 2016-11-17 16:55:27 -08:00
James Phillips 70ad430fd2 Merge pull request #2397 from sdinakar85/patch-1
Multiple Datacenter Documentation
2016-11-17 16:43:55 -08:00
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 (#2411)
* Updates around Web UI directory configuration

* consistent terms
2016-11-12 13:08:15 -08:00
anatoly a0f87c742c [website]: adding a Clojure client
to the "Download Consul Tools" list
2016-11-10 22:02:00 -05:00
Tim Seaward 451f850ab1 Update downloads_tools.html.erb
Added condenserdotnet
2016-11-10 22:29:44 +00: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
James Phillips 10d4e1ff54
Points web at 0.7.1 release. 2016-11-10 12:54:10 -08:00
Brian Shumate 486fa06eec Updated broken Extended Key Usage link (#2500) 2016-11-10 08:09:39 -08:00
Sumit Gupta 2f97f65ed9 Remove Extra > (#2499) 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 bd490ec937 from #2491.
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 (#2481)
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 #2460.
2016-11-08 14:45:12 -05:00
Cameron Stokes e6e35d9013 Clarify -retry-join docs. (#2469) 2016-11-03 14:22:46 -07:00
Kyle McCullough 73b281a27c Add setting to skip ssl certificate verification for HTTP checks (#1984)
* 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. (#2468)
* * 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 #2007

* Cleans up some small things from #2380.

* 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 (#2457) 2016-11-01 06:11:20 -07:00
Kyle Havlovitz 606662c502 Add snapshot inspect subcommand (#2451) 2016-10-31 19:37:27 -04:00
Kyle Havlovitz 4be39290e5 Revert "Added website docs for snapshot inspect command"
This reverts commit 7d0318252c.
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
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
Kyle Havlovitz 3be132863f Enable snapshots in dev mode (#2453) 2016-10-31 14:39:47 -04:00
Seth Vargo bfa0c3bc4c Add security page (#2447) 2016-10-29 12:44:20 -07:00
Rick van de Loo 757a45ed7f Add Python 3 KV store client to community tools (#2431) 2016-10-26 17:15:24 -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
James Phillips 104b12040a Merge pull request #2383 from hashicorp/jbs-1462
Clarify retry_join addresses for #1462
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 fa8cd7f833 Merge pull request #2381 from bluefeet/master
Add the Perl Consul client library to the list of SDKs on the web site.
2016-10-20 09:39:39 -07:00
James Phillips 41f1764434 Adds a version note for the consul kv command.
Closes #2410.
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 #1656 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
James Phillips 55a00d4d1b Update community.html.erb 2016-10-06 17:38:34 -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 #1462
- 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
Aran Deltac 28277d35e7 Add the Perl Consul client library to the list of SDKs on the web site. 2016-10-01 17:52:45 -07:00
James Phillips 9fc0c0ede2 Merge pull request #2369 from hashicorp/jbs-2204
Update getting started/join to address #2204
2016-09-30 07:51:30 -07:00
Brian Shumate ba5bbf8ca2
Update variable value information as port must also be specified, fixes #2210 2016-09-29 12:50:00 -04:00
Brian Shumate d8080c27d5
correction 2016-09-29 12:42:22 -04:00
Brian Shumate 38e45f9641
Update getting started/join to address #2204 2016-09-28 12:20:36 -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 #2234 2016-09-27 12:05:22 -04:00
James Phillips 4dc526afed Merge pull request #2362 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
McKenna Jones 865e9ea5c3 updating cli formatting for intro docs 2016-09-26 19:28:39 -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 b3c280772f
Gemfile was wonky 2016-09-26 16:06:54 -07:00
Seth Vargo de7fc2c7ac
Fix styles 2016-09-26 16:06:54 -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
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
Seth Vargo afd0e58c24
Update middleman 2016-09-26 16:06:52 -07:00
JF Bibeau ee008bcc2d Docs: Update command to create sample service
Since the previous command creates /etc/consul.d with sudo, a regular user won't have permission to echo and redirect a file to the directory. Switch to using tee with sudo to ensure the file gets created.
2016-09-26 16:36:10 -04:00
James Phillips cfa66a62ab
Updates middleman-hashicorp. 2016-09-23 16:13:12 -07:00
James Phillips c4c409be44 Update keyring.html.markdown 2016-09-23 16:00:05 -07:00
Seth Vargo e1c8b14a6b
Clarify that hostname defaults to localhost for tcp 2016-09-21 12:20:36 -04:00
Brian Shumate 2c9501a1b0
Remove references to the 'unknown' state.
- Remove reference to 'unknown' state in catalog endpoint docs
- Remove reference to 'unknown' state in health endpoint docs
2016-09-21 09:50:12 -04:00
James Phillips b2e867454a Updates getting started to remove broken links.
Fixes #2293.
2016-09-16 15:58:01 -07:00
James Phillips 6f0a3b9bf5 Adds Operator endpoint link. 2016-09-15 13:13:09 -07:00
Brian Shumate 1ee4ba2db6
Restore command line. 2016-09-15 10:37:08 -04:00
Brian Shumate 1654de6184
Command output updates.
- Updated starting agent example to show new output/timestamps
- Updated curl example to show TaggedAddresses
- Updated dig example to return 127.0.0.1
2016-09-15 10:25:23 -04:00
James Phillips f57b84b807 Tweaks wording in lifeguard section. 2016-09-14 10:17:23 -07:00
James Phillips c591d86dd5
Adds a section about lifeguard. 2016-09-14 10:09:23 -07:00
James Phillips d60c985f8f Updates website to version 0.7.0. 2016-09-14 09:27:31 -07:00
Pawel Szymczyk d97f389805 remove reference to localhost in operator.html.markdown 2016-09-14 12:12:27 +02:00
James Phillips 0a34741d72 Adds version note to near parameter. 2016-09-06 07:50:06 -07:00
James Phillips 08d6bfbc9b Tweaks options doc after latest merges. 2016-09-01 22:18:34 -07:00
James Phillips f686d34483 Merge pull request #2263 from sweeneyb/dnsPort
Add support for dns port as a command line option
2016-09-01 22:16:15 -07:00
James Phillips d19995c067 Merge pull request #2322 from hashicorp/pr-2321-slackpad
Adds a configurable timeout for DNS recursor client.
2016-09-01 22:11:54 -07:00
James Phillips 951f597cde
Tweaks documentation. 2016-09-01 21:50:46 -07:00
James Phillips 7369875cf7 Merge pull request #2320 from hashicorp/f-leave
Changes default for `leave_on_terminate` based on server or client mode.
2016-09-01 09:08:10 -07:00
Pivotal DX129 fe61650ef0 Merge remote-tracking branch 'upstream/master' 2016-09-01 10:15:32 -04:00
James Phillips d5191741a1
Cleans up the upgrade guide. 2016-09-01 00:22:09 -07:00
James Phillips 55ef6c54a6
Changes default for `leave_on_terminate` based on server or client mode. 2016-08-31 23:39:11 -07:00
James Phillips 4fd419d609 Adds a note about stale reads to the performance guide. 2016-08-30 18:11:05 -07:00
James Phillips ed7356dd5c
Changes default DNS allow_stale to true. 2016-08-30 13:55:19 -07:00
James Phillips 2c9885d10d
Updates documentation with details on the Consul operator actions. 2016-08-30 13:15:37 -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
Pierre Delagrave 578602f248 Added website documentation for the new recursor_timeout parameter 2016-08-29 14:41:30 -04:00
James Phillips 970bb771f9
Tweaks formatting of Consul version. 2016-08-25 17:12:55 -07:00
James Phillips 8b19364964 Adds top-level link to performance guide. 2016-08-25 16:54:29 -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 e1f9f2fd87 Fixes a typo in the performance guide. 2016-08-25 16:13:54 -07:00
James Phillips a9dcaa0ac9 Adds a note about 2 CPU cores. 2016-08-25 15:59:18 -07:00
James Phillips 17b70c7efd
Adds a max raft multiplier and tweaks documentation. 2016-08-25 15:36:05 -07:00
James Phillips c432aa540d
Tweaks wording in performance guide. 2016-08-24 22:10:59 -07:00
James Phillips 57db4bcce6
Adds performance tuning capability for Raft, detuned defaults, and supplemental docs. 2016-08-24 21:58:37 -07:00
Brian Shumate 3d71951c97 Fix typo 2016-08-18 09:14:15 -04:00
James Phillips 3c2a73e670 Update outage.html.markdown 2016-08-17 18:41:56 -07:00
James Phillips 861efcc8c8 Merge pull request #2235 from robwdux/patch-1
update ca tutorial to one more recent and relevant
2016-08-17 18:00:03 -07:00
James Phillips bedd0c5a9e
Makes protocol version a little clearer. 2016-08-17 11:29:09 -07:00
James Phillips 9d154a55ad Update acl.html.markdown 2016-08-17 10:21:59 -07:00
kyhavlov c0b5e0ee06 Fix links for ACL replication status 2016-08-17 12:41:04 -04:00
James Phillips 2af4ee0928 Update outage.html.markdown 2016-08-16 15:48:22 -07:00