Commit Graph

1741 Commits

Author SHA1 Message Date
James Phillips 0d4baea1d2 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 8d83ac4771 Merge pull request #2628 from jippi/patch-1
Adding hashi-ui to community tools
2017-01-05 11:51:21 -08:00
James Phillips 9da1d8704c 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 3b1f523b85 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 c32fe92eee 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 a24e5041ac 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 2bb6121e54 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 5a620246f4 Add consul-announcer to Community Tools 2017-01-04 11:03:19 -05:00
Christian Winther 452ab68f9d Update downloads_tools.html.erb 2017-01-03 21:14:39 +01:00
legendtkl b3e0702ab8 fix typo Check-And_set to Check-And-Set 2017-01-04 00:46:16 +08:00
Ruslan Sennov e81502babb update `/v1/agent/service/register` endpoint doc 2016-12-26 23:32:20 +03:00
Amir Yalon 58ee61c3c7 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
Bradley Falzon 5acd28c506 Fix typo in command/kv/put doc 2016-12-21 14:02:26 +10:30
James Phillips 8a64bb6445 Adds session policy example to ACL internals doc. 2016-12-14 21:31:59 -08:00
James Phillips fe07574220
Fixes a typo in the agent options docs. 2016-12-14 21:03:16 -08:00
James Phillips b617e54ff0 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 90cd498ea6
Adds some basic documentation about the new ACL changes. 2016-12-14 20:32:44 -08:00
Kyle Havlovitz 398f4a04ef
Add a notice about deprecation of atlas features 2016-12-14 15:13:51 -05:00
James Phillips 927aa3789a
Adds ACL management support to the agent. 2016-12-14 07:07:41 -08:00
James Phillips 67f1fe8d0b
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 4bb56b83ea 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 b7daa87ec7 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 52637b1125
Switch to KV CLI in getting started 2016-12-07 14:01:51 -08:00
Seth Vargo 6f24588b8f
Update homepage to use KV CLI instead of curl 2016-12-07 11:32:35 -08:00
Chris Marchesi 1b4e26d005 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 5a26a906cd
Overlooked saving a couple changes 2016-12-06 18:01:43 -05:00
Brian Shumate c5b68467c6
updates based on feedback 2016-12-06 14:46:26 -05:00
Brian Shumate c509815493
Address feedback 2016-12-06 14:12:05 -05:00
James Phillips eb07e77c1c
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 de851480c5 Link to consensus.html#deployment-table not #toc_4 2016-12-06 15:40:40 +10:30
James Phillips c5ca72c5a5
Fixes broken link in options doc. 2016-12-05 18:53:51 -08:00
James Phillips 7c0f6bd742 Clarifies ACL replication token. 2016-12-05 18:43:05 -08:00
Brian Shumate bcec3b3eb4
Some examples where sockets are possible as well 2016-12-05 16:56:31 -05:00
Brian Shumate cd2b3ed193
Add a table of CLI environment variables 2016-12-05 12:35:44 -05:00
Brian Shumate e507dc108b
Notes about memory usage (helps with #2535) 2016-12-05 12:28:49 -05:00
shantanugadgil 09f30bc375 Update kv.html.markdown 2016-12-03 13:35:55 +05:30
Mike Zupan 492d39fbb3 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 67a84e0e20 Update snapshot.html.markdown 2016-12-01 10:11:35 +00:00
James Phillips bd5adea5ba 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 7d67346f42
Changes Consul version number for new Circonus options. 2016-11-30 21:35:54 -08:00
Kyle Havlovitz dd05afb32e Add reload/leave http endpoints (#2516) 2016-11-30 13:29:42 -05:00
Brian Shumate b59ca6bd4d
Update compatibility table for #2540 2016-11-30 11:17:52 -05:00
James Phillips ee16675eda Merge pull request #2532 from jamtur01/docspass
Documentation pass
2016-11-29 15:15:04 -08:00
James Phillips f4f96c180d Update dns.html.markdown 2016-11-29 15:01:38 -08:00
anatoly 62921541ec [website]: Clojure client to SDK
in the "Download Consul Tools" list
2016-11-29 02:12:14 -05:00
Kyle Havlovitz d91854f3b0 Add monitor http endpoint 2016-11-28 18:36:26 -05:00
James Turnbull b7566cd0e8 Fix to watch command docs 2016-11-25 13:34:08 -05:00
James Turnbull edd5739e90 Final dc pass 2016-11-25 13:29:55 -05:00
James Turnbull 25566a292b Removed two space after period exceptions 2016-11-25 13:25:09 -05:00
James Turnbull 39364aa937 Another catch 2016-11-25 13:14:09 -05:00
James Turnbull 38be465b7d And a handful more 2016-11-25 12:39:08 -05:00
James Turnbull 51bc365377 More consistency 2016-11-25 12:34:07 -05:00
James Turnbull dd4918fd16 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 66dea6951a Fix keyring doc method wording 2016-11-22 20:10:43 -05:00
Kyle Havlovitz 79f339b5dc Combine keyring endpoints into one 2016-11-22 20:10:43 -05:00
Kyle Havlovitz b13c9dc5d3 Add version specific note to keyring http docs 2016-11-22 20:10:43 -05:00
Kyle Havlovitz 86ae45c78b Add keyring api website doc sections 2016-11-22 20:10:43 -05:00
James Phillips 2319624f69 Makes addresses blank in service definition. 2016-11-22 08:29:29 -08:00
James Phillips a34d968aeb Tweaks title of snapshot link. 2016-11-21 09:02:19 -08:00
James Phillips 6814a3754e 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 ef4168cd53
Adds details about config files. 2016-11-20 22:41:33 -08:00
James Phillips 01541fefd1
Tweaks local option name. 2016-11-19 18:23:37 -08:00
Brian Shumate 71e00601ec
tweaks 2016-11-18 10:53:59 -05:00
Brian Shumate e7b21b6876
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 4ee62afff3 Merge pull request #2504 from tolitius/envoy
[website]: adding a Clojure client
2016-11-17 16:56:38 -08:00
James Phillips c2561804fc 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 59da99db62 Tweaks markup on community page. 2016-11-17 16:55:27 -08:00
James Phillips 916d0aa133 Merge pull request #2397 from sdinakar85/patch-1
Multiple Datacenter Documentation
2016-11-17 16:43:55 -08:00
James Phillips cafd59a45a Tweaks formatting of example JSON. 2016-11-17 16:43:47 -08:00
James Phillips 645c9f85d2
Adds a draft of the snapshot agent docs. 2016-11-16 21:38:02 -08:00
Cameron Stokes 17bc5a80ba ~ docs: Typo in agent options page. 2016-11-16 07:58:24 -08:00
Benjamin Farley e52e0b2a5a Small change to how operator docs read 2016-11-16 09:01:51 +00:00
Brian Shumate a487aec803 Docs: Web UI config updates (#2411)
* Updates around Web UI directory configuration

* consistent terms
2016-11-12 13:08:15 -08:00
anatoly d6aed1d3b2 [website]: adding a Clojure client
to the "Download Consul Tools" list
2016-11-10 22:02:00 -05:00
Tim Seaward 2c28bd47a3 Update downloads_tools.html.erb
Added condenserdotnet
2016-11-10 22:29:44 +00:00
James Phillips 267e2f9f4c Update upgrade-specific.html.markdown 2016-11-10 13:38:36 -08:00
James Phillips 3e5916181e Update dns-cache.html.markdown 2016-11-10 13:37:44 -08:00
Brian Shumate 1d6917fa9f Updated broken Extended Key Usage link (#2500) 2016-11-10 08:09:39 -08:00
Sumit Gupta 14cfeb8f7c Remove Extra > (#2499) 2016-11-10 08:09:17 -08:00
James Phillips 60d0c66be0
Revert "Updates Circonus metrics library and adds support for display name and tags."
This reverts commit bd490ec937a5859ba43b07d9103b3cb8f037e9e5 from #2491.
2016-11-09 16:21:02 -08:00
matt maier c7f98fe988 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 dbf6232238 Adds version info to docs for new Circonus options. 2016-11-09 13:26:20 -08:00
matt maier 62fe94b3d6 Update Circonus integration expose Check Display Name and Check Tags configuration options. 2016-11-09 15:33:37 -05:00
James Phillips 7336de4bb9 Update upgrade-specific.html.markdown 2016-11-08 12:12:57 -08:00
Kyle Havlovitz 1ffdf04bd7 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 f4e34397ac Clarify -retry-join docs. (#2469) 2016-11-03 14:22:46 -07:00
Kyle McCullough 697ea0f8eb 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 18926728d4 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 1e2ca107c2
Small tweaks to docs and syntax 2016-11-03 13:04:42 -04:00
Kyle Havlovitz a3af480c42
Add support for ECS task roles as an auth mechanism 2016-11-02 18:48:15 -04:00
Kyle Havlovitz b9aa912e4c
Move EC2 discovery logic into retryJoin for robustness 2016-11-02 14:35:37 -04:00
Ustun Ozgur cd2194a56d Typo fix (#2457) 2016-11-01 06:11:20 -07:00
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
Kyle Havlovitz c6f461aa25 Enable snapshots in dev mode (#2453) 2016-10-31 14:39:47 -04:00
Seth Vargo 863821b665 Add security page (#2447) 2016-10-29 12:44:20 -07:00
Rick van de Loo 5552a36d5e Add Python 3 KV store client to community tools (#2431) 2016-10-26 17:15:24 -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
James Phillips 1adbcff059 Merge pull request #2383 from hashicorp/jbs-1462
Clarify retry_join addresses for #1462
2016-10-20 11:40:03 -07:00
Brian Shumate fd794ec0b4
Reworded and applied to -retry-join also 2016-10-20 14:14:55 -04:00
James Phillips 03f121faf3 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 51f0d91efb Adds a version note for the consul kv command.
Closes #2410.
2016-10-13 08:02:20 -07:00
Michel Lebeau 4ea1f2e613 Fix typo
The double "to" was distracting
2016-10-11 15:51:49 +01:00
sdinakar85 f0cc4ae8a3 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 78815ea44d Adds a note about child process reaping going away. 2016-10-06 21:38:29 -07:00
James Phillips 69eb0f75e5 Update community.html.erb 2016-10-06 17:38:34 -07:00
Adrián López Gómez 6e41d53871 Doc fix - allow_stale enabled by default in v0.7 2016-10-06 15:00:28 +02:00
Andreas Böttger 13c1315916 json syntax corrected 2016-10-04 15:40:53 +02:00
Brian Shumate 7fbec39f1f
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 fb48da4558 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 4053bd3dea 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 df41000a94
Update variable value information as port must also be specified, fixes #2210 2016-09-29 12:50:00 -04:00
Brian Shumate 86db05c973
correction 2016-09-29 12:42:22 -04:00
Brian Shumate dae5b932da
Update getting started/join to address #2204 2016-09-28 12:20:36 -04:00
Brian Shumate a470c4901a
Finalize update for -bind 2016-09-27 18:36:19 -04:00
Brian Shumate bd43bd9981
Clarification 2016-09-27 12:38:32 -04:00
Brian Shumate ac9e1d6a10
Correct inaccurate bind reference, closes #2234 2016-09-27 12:05:22 -04:00
James Phillips 0c8add2a1f 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 9910cbfa0a Update operator.html.markdown 2016-09-27 06:25:51 -07:00
McKenna Jones 3390063ec6 cli flag formatting for agent docs and one guide 2016-09-26 21:22:01 -07:00
McKenna Jones 0f181fd0b5 updating cli formatting for intro docs 2016-09-26 19:28:39 -07:00
Seth Vargo 784b45a5b6
Update cas docs 2016-09-26 16:15:27 -07:00
Seth Vargo e3430e6806
Remove base64 comment entirely 2016-09-26 16:10:22 -07:00
Seth Vargo 70fd7efde9
Fix CAS operations for put 2016-09-26 16:06:56 -07:00
Seth Vargo 9cd78ea4d4
Update kv get docs 2016-09-26 16:06:56 -07:00
Seth Vargo 46f4093f14
Change delete CAS behavior to require ModifyIndex 2016-09-26 16:06:55 -07:00
Seth Vargo 819d87918e
Fix styles 2016-09-26 16:06:54 -07:00
Seth Vargo 533e4b3168
Add top-level docs command 2016-09-26 16:06:54 -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
JF Bibeau a50eba7805 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 8a5d6f4d00 Update keyring.html.markdown 2016-09-23 16:00:05 -07:00
Seth Vargo 6a6d169ace
Clarify that hostname defaults to localhost for tcp 2016-09-21 12:20:36 -04:00
Brian Shumate af45d3463a
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 8479d0c987 Updates getting started to remove broken links.
Fixes #2293.
2016-09-16 15:58:01 -07:00
James Phillips daa8a40993 Adds Operator endpoint link. 2016-09-15 13:13:09 -07:00
Brian Shumate a9c305113e
Restore command line. 2016-09-15 10:37:08 -04:00
Brian Shumate 497c40bcd1
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 27061563ea Tweaks wording in lifeguard section. 2016-09-14 10:17:23 -07:00
James Phillips b7cf261f38
Adds a section about lifeguard. 2016-09-14 10:09:23 -07:00
Pawel Szymczyk 4c82447726 remove reference to localhost in operator.html.markdown 2016-09-14 12:12:27 +02:00
James Phillips 3b1f368fe5 Adds version note to near parameter. 2016-09-06 07:50:06 -07:00
James Phillips 6db4aea4c4 Tweaks options doc after latest merges. 2016-09-01 22:18:34 -07:00
James Phillips aed72ccc60 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 1924eccf71 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 ca71911eed
Tweaks documentation. 2016-09-01 21:50:46 -07:00
James Phillips d623366201 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 2682410059 Merge remote-tracking branch 'upstream/master' 2016-09-01 10:15:32 -04:00
James Phillips 6036f855a9
Cleans up the upgrade guide. 2016-09-01 00:22:09 -07:00
James Phillips d419a0ae0d
Changes default for `leave_on_terminate` based on server or client mode. 2016-08-31 23:39:11 -07:00
James Phillips 2deda0c65b Adds a note about stale reads to the performance guide. 2016-08-30 18:11:05 -07:00
James Phillips 3304352272
Changes default DNS allow_stale to true. 2016-08-30 13:55:19 -07:00
James Phillips c063a1a8d0
Updates documentation with details on the Consul operator actions. 2016-08-30 13:15:37 -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
Pierre Delagrave a5fccc45db Added website documentation for the new recursor_timeout parameter 2016-08-29 14:41:30 -04:00
James Phillips 6f030a1167
Tweaks formatting of Consul version. 2016-08-25 17:12:55 -07:00
James Phillips 1e5c4b4bcb Adds top-level link to performance guide. 2016-08-25 16:54:29 -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 668cf9cea2 Fixes a typo in the performance guide. 2016-08-25 16:13:54 -07:00
James Phillips 07df993129 Adds a note about 2 CPU cores. 2016-08-25 15:59:18 -07:00
James Phillips 2f4c237cff
Adds a max raft multiplier and tweaks documentation. 2016-08-25 15:36:05 -07:00
James Phillips 69bcf86535
Tweaks wording in performance guide. 2016-08-24 22:10:59 -07:00
James Phillips b339b0d2fc
Adds performance tuning capability for Raft, detuned defaults, and supplemental docs. 2016-08-24 21:58:37 -07:00
Brian Shumate b1164d256e Fix typo 2016-08-18 09:14:15 -04:00
James Phillips 18701c5019 Update outage.html.markdown 2016-08-17 18:41:56 -07:00
James Phillips 1820de27fc 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 5f5e0b3e76
Makes protocol version a little clearer. 2016-08-17 11:29:09 -07:00
James Phillips db4666c7e4 Update acl.html.markdown 2016-08-17 10:21:59 -07:00
kyhavlov 5bd32c0316 Fix links for ACL replication status 2016-08-17 12:41:04 -04:00
James Phillips a6b925521c Update outage.html.markdown 2016-08-16 15:48:22 -07:00
James Phillips ac3935249e
Updates the 0.7-specific upgrade notes. 2016-08-16 15:10:52 -07:00
James Phillips cfd5e1ba6a
Updates the outage docs with details about new Raft behavior. 2016-08-16 15:10:37 -07:00
James Phillips 1f171a0aac
Updates version documentation. 2016-08-16 14:15:13 -07:00
James Phillips db9a72dde1
Merge branch 'master' into f-deregister-critical 2016-08-16 12:53:21 -07:00
James Phillips 607595f99e
Cleans up based on code review feedback. 2016-08-16 12:52:30 -07:00
James Phillips bc333335be
Adds an `X-Consul-Translate-Addresses` to signal translation is enabled. 2016-08-16 11:31:41 -07:00
James Phillips 817d7e93e4
Adds an "lan" tagged address so we have a way to get them all.
If we didn't have this, then there would be no way to know the LAN
address if address translation was turned on.
2016-08-16 10:49:03 -07:00
James Phillips f517f9ed0d
Fixes a typo and adds an admonition about only being in Consul 0.7+. 2016-08-16 09:27:20 -07:00
James Phillips b4f981c837
Adds ability to deregister a service based on critical check state longer than a timeout. 2016-08-16 01:00:26 -07:00
James Phillips 4ca26f68fd Tweaks translate_wan_addr documentation.
Adds a note about HTTP being 0.7 and later only.
2016-08-15 16:23:01 -07:00
James Phillips 3af9257cb8 Merge pull request #2275 from hashicorp/pr-2118-slackpad
Translates node addresses to WAN addresses where appropriate.
2016-08-15 16:16:56 -07:00
James Phillips ee2e161dfe
Updates docs for WAN address translation and tweaks some nearby unrelated docs. 2016-08-15 16:12:01 -07:00
Brian Shumate dc7824b0cd Add anchor 2016-08-15 16:48:54 -04:00
James Phillips 64ff915823 Merge pull request #2241 from io41/patch-1
Update upgrading.html.markdown
2016-08-12 16:46:30 -07:00
James Phillips 31ad878324 Merge pull request #2246 from atomicpirate/patch-1
Minor fix: "lookup up" -> "looking up"
2016-08-12 16:45:41 -07:00
James Phillips 9afac9e2c3 Merge pull request #2266 from hashicorp/pr-2096-slackpad
Compresses all DNS responses by default.
2016-08-11 16:28:51 -07:00
James Phillips 086a5af5ff
Finishes up DNS compression by adding opt-out, tests, and documentation. Fixes trim routine. 2016-08-11 16:27:08 -07:00
James Phillips 35d9a3ea4c Merge pull request #2122 from pszymczyk/master
Add embedded-consul to download_tools page
2016-08-10 17:57:10 -07:00
James Phillips 8f789d11fc Merge pull request #2006 from fusiondog/patch-1
Adds documentation about DNS forwarding with iptables.
2016-08-10 16:52:32 -07:00
James Phillips f471c6e2ad Merge pull request #2264 from hashicorp/pr-2045-slackpad
Enables stale mode for watchers.
2016-08-10 15:58:34 -07:00
James Phillips 32cf81e59c
Fixes a typo and adds stale documentation to website. 2016-08-10 15:46:28 -07:00
sweeneyb e8117ba622 Add support for dns port as a command line option 2016-08-10 04:05:56 +00:00
James Phillips 359587f70e
Removes support for muxado and protocol version 1. 2016-08-09 18:10:04 -07:00
James Phillips ff64833b4a Adds a note about HTTP telemetry. 2016-08-09 16:03:59 -07:00
James Phillips 3585b5a4cb Merge pull request #2237 from hashicorp/f-acl-replication
Adds ACL replication.
2016-08-09 11:42:16 -07:00
James Phillips 80d4d231eb Removes brew info callout. 2016-08-09 08:18:15 -07:00
James Phillips f27aec6df0 Merge pull request #2104 from jpartain89/patch-1
Update install.html.markdown OS X Instructions
2016-08-09 08:12:05 -07:00
Seth Vargo dee626c6f2
Update links to serf 2016-08-08 12:44:27 -04:00
atomicpirate d1493cd9ca Minor fix: "lookup up" -> "looking up" 2016-08-05 10:18:13 -04:00
James Phillips 5577b8ef66
Updates documentation for ACL replication. 2016-08-05 00:23:28 -07:00
James Phillips 661f36ecdf Update upgrade-specific.html.markdown 2016-08-04 06:39:50 -07:00
Tim Kersten d56c316f07 Update upgrading.html.markdown
The change fixes a minor bug in the document that says consul supports back to version 0 when the example output says version 1, and makes the document less ambiguous by having a different "current" protocol and earliest supported protocol.
2016-08-03 21:11:02 +01:00
rob dux 3bd9be7151 update ca tutorial to one more recent and relevant 2016-08-02 21:24:02 -05:00
Seth Vargo 1b2586abd4
Update arch diagram 2016-08-02 13:13:43 +05:30
Andrei Burd 06c0663082 Added missing comma 2016-08-01 18:46:43 +03:00
James Phillips 63ff6ebc2c Adds a cautionary note about the stats in the self API. 2016-07-29 13:45:25 -07:00
Brian Shumate c9005797e8 Updated FAQ entry 2016-07-29 14:43:51 -04:00
Brian Shumate 05ebb9db6f Network ports.
- Added a table of protocols an ports used by Consul to FAQ.
2016-07-29 13:42:30 -04:00
James Phillips 36b2ef619e Tweaks the agent docs for `EnableTagOverride`. 2016-07-23 14:48:54 -07:00
shalev67 0763f1a9f5 Added api agent docs enableTagOverride var 2016-07-22 20:21:07 +03:00
Jason Martin bda170a872
Escape verify_server_hostname angle-brackets 2016-07-20 15:57:07 -07:00
matt maier 9c3f14ce1b Change circonus_broker_search_tag to circonus_broker_select_tag to match same change to command/agent/config.go 2016-07-20 11:44:38 -04:00
James Phillips 51fbad91fd Merge pull request #2193 from hashicorp/pr-2188-slackpad
Adds Circonus support for telemetry metrics.
2016-07-19 17:15:29 -07:00
James Phillips ca5f42d61d Tweaks the docs a bit. 2016-07-19 15:54:52 -07:00
akbarahmed 99c1e0051d Merge remote-tracking branch 'upstream/master' 2016-07-19 11:01:55 -07:00
akbarahmed 25f6bc9d56 Unnest TaggedAddresses. Add sentence to mention that multiple Checks may
be specified as an array. Closes hashicorp/consul#2176
2016-07-19 10:55:46 -07:00
matt maier 53936f336d Documentation for Circonus Telemetry integration 2016-07-18 16:24:49 -04:00
Stu Small 6a664a4669 Fixing minor punctuation mistake. 2016-07-13 16:50:19 -06:00
Daniel Carbone 076292ba0a Adding my lib to list of downloads 2016-07-13 08:28:44 -05:00
James Phillips 76afbf5c96 Merge pull request #2144 from janisz/add_marathon-consul
Added allegor/marathon-consul in community tools
2016-07-06 10:54:05 -07:00
James Phillips 920a638599 Merge pull request #2159 from myENA/website/consul-backinator
Add link to consul-backinator utility
2016-07-06 10:50:49 -07:00
Ryan Uber 62d0edbdd4 Merge pull request #1847 from mssola/dc-to-datacenter
[proposal] command: deprecated the -dc flag in the agent CLI
2016-07-05 13:01:51 -07:00
Aaron Hurt 4c5686cdf7 Alter instructions for adding tools to the list 2016-07-02 15:37:43 -05:00
Aaron Hurt 89d26df41a Add link to consul-backinator utility 2016-07-02 15:33:47 -05:00
Sean Macdonald c24fe9f8b5 small typo 2016-07-02 01:29:00 -04:00
Ryan Uber e9960e6c85 Merge pull request #2137 from hashicorp/f-pq-near
Support "near" parameter in prepared query service block
2016-07-01 12:28:48 -07:00
Ryan Uber c5c0f225b5 website: add upgrading note for Near param in PQ's 2016-07-01 12:26:14 -07:00
Ryan Uber 53dc58ff27 website: document near parameter of prepared queries 2016-07-01 11:50:09 -07:00
James Phillips 2dc98dee32 Adds a note about prepared queries to the coordinates internals guide. 2016-06-28 23:02:00 -07:00
janisz 05539d91b5 Added allegor/marathon-consul in community tools
With @dankraw we authored https://github.com/allegro/marathon-consul/ this is fork of https://github.com/CiscoCloud/marathon-consul that is no longer developed (see this comment https://github.com/CiscoCloud/marathon-consul/issues/17#issuecomment-161678453).
2016-06-24 23:42:07 +02:00
James Phillips 055b6973f6 Merge pull request #2123 from hashicorp/f-key-metrics
Adds a key metrics section to the telemetry guide.
2016-06-18 04:01:15 +01:00
James Phillips 53f082b2af Adds a key metrics section to the telemetry guide. 2016-06-17 18:57:42 +01:00
James Phillips f2228f9988 Adds a link to the changelog. 2016-06-17 14:04:18 +01:00
Pawel Szymczyk b2967ebd06 Add embedded-consul to download_tools page 2016-06-17 08:56:51 +02:00
fusiondog b9eb3b1979 Added an and 2016-06-09 17:05:00 -07:00
Sheldon Kwok a3788d4ede Update agent.html.markdown
The documentation was not clear and I had to try with the cli to figure it out.
2016-06-09 16:48:18 -07:00
fusiondog 832eb77103 Adding more detail about best use case. 2016-06-09 14:29:54 -07:00
Justin P 6716fc496a Update install.html.markdown OS X Instructions
Homebrew is phasing out the use of the homebrew-cask add-on, moving it all over to just using `brew install <app>`.

Also, if you type `brew info consul` you can see that you can even automatically install the web-ui through brew as well.
2016-06-08 06:38:23 -05:00
Evan Gilman 6235467a9a
Document `consul lock` shell execution
Consul lock executes children under a shell, which was previously
undocumented. Document it, and warn against cases where this can cause
children to leak when the lock is lost.

I have made this a dedicated section so it can easily be removed
later when we move to exec

https://github.com/hashicorp/consul/issues/1692
2016-06-03 17:01:05 -07:00
lihz b862d3f044 add tcp in service/register
I found consul /service/register interface supprt TCP check as well.
2016-06-03 19:29:05 +08:00
Michael Barrow 0871236ca7 Fix typo
Simple typo fix.
2016-05-29 10:24:44 -07:00
Sean Chittenden 67b9104daf
Fix the href target for the `/v1/catalog/node/<node>` endpoint. 2016-05-27 00:12:17 -07:00
Andrew Widdersheim 01798b32b4 Fix typo 2016-05-26 10:46:55 -04:00
Sean Kilgore a60c0b630a docs: clarify address specification for telemetry
Earlier on this page, under `addresses`, we say "For TCP addresses, these should simply be an IP address without the port. For example: 10.0.0.1, not 10.0.0.1:8500." Since we expect the port to be included for `_address` for telemetry, call it out specifically.
2016-05-24 12:55:23 -07:00
Saif Abid e786aafe70 Fix json for /v1/catalog/node in markdown
add in a missing comma after the "Address" field
2016-05-19 14:41:41 -04:00
Seth Vargo 86a9ebb073
Add note about paid training 2016-05-16 16:46:14 -04:00
James Phillips ffcba3df58 Merge pull request #2028 from hashicorp/f-atomic-kv
Adds support for atomic transactions spanning multiple KV entries.
2016-05-15 13:46:05 -07:00
Sean Chittenden b20f86b4c7
Speling police 2016-05-15 09:13:52 -07:00
James Phillips c786e1d457 Reduces the number of operations in a transaction to 64. 2016-05-14 21:40:46 -07:00
James Phillips a11f32a1da Adds a get-tree verb to KV transaction operations. 2016-05-13 16:57:39 -07:00
James Phillips 77ae55c692 Adds some size limiting features to transactions to help prevent abuse. 2016-05-13 13:39:01 -07:00
James Phillips 5fd99b13ef Removes null results for deletes, and preps for more than one result from an operation. 2016-05-13 01:47:55 -07:00
James Phillips 2649a6336e Adds a read-only optimized path for transactions. 2016-05-13 00:34:05 -07:00
James Phillips 6daf26ada4 Adds documentation for the transaction endpoint. 2016-05-11 14:18:47 -07:00
captainill 69cf3692f1 add height to fix svg in announcement bnr 2016-05-03 17:41:55 -07:00
Seth Vargo cf9d243240
Track enhanced links 2016-05-02 15:55:04 -04:00
fusiondog 9c10bd0b23 Clarify need for recursors option.
Reiterating that the iptables option requires recursors to be set to resolve for any domain besides .consul
2016-04-29 16:45:59 -07:00
fusiondog aa8dda5149 DNS forwarding with iptables
Adding notes on using iptables to forward ports
2016-04-28 23:27:28 -07:00
James Phillips 76b90ccb17 Fixes and clarifies the only_passing docs. 2016-04-27 14:55:38 -07:00
James Phillips 03b0c196e0 Merge pull request #1762 from mshean/script-timeout
Add Timeout field to CheckMonitor
2016-04-24 23:08:06 -07:00
Seth Vargo 05ea1aac2a
Do not allow referrer to modify the sender
http://mathiasbynens.github.io/rel-noopener/
2016-04-22 23:31:45 -04:00
Sean Chittenden b0203278f2 Tweak discussion regarding reaping to advise against adjusting these
values.
2016-04-21 14:24:41 -07:00
Sean Chittenden 515a42e733 Fix broken markdown 2016-04-20 18:46:01 -04:00
James Phillips 6182a34600 Merge pull request #1935 from hashicorp/f-reap-time
Makes reap time configurable for LAN and WAN.
2016-04-20 13:50:21 -07:00
James Phillips bc6efbae18 Sets an anti-footgun floor for the configurable reap time. 2016-04-20 13:49:51 -07:00
Matt Shean f232a11291 Update documentation for CheckMonitor timeout 2016-04-20 11:43:49 -07:00
James Phillips 24c2bc44f1 Clarifies default behavior of blank service addresses. 2016-04-20 10:16:06 -07:00
Ryan Uber 1e9f3341d0 website: mention 4K output limit for checks 2016-04-14 14:35:35 -07:00
James Phillips 07e9c09a58 Merge pull request #1891 from romansky/patch-1
clerify RPC usage
2016-04-12 02:10:15 -07:00
James Phillips 86bb36f211 Updates some docs that say reaping is not configurable. 2016-04-11 00:56:03 -07:00
James Phillips 32389a9822 Makes reap time configurable for LAN and WAN. 2016-04-11 00:38:25 -07:00
Sean Chittenden 8156eb9953 Add a note re: pre-0.7 behavior 2016-03-31 18:06:58 -07:00
Sean Chittenden 9eaffc456f skip_leave_on_int's default changes based on agent mode
`skip_leave_on_int`'s behavior now changes based on whether or not the agent is acting as a client or server.

Fixes: 1687
2016-03-31 17:45:14 -07:00
Roman Landenband bb17b99dbe fix correct RPC entity 2016-03-30 12:21:52 +03:00
Sean Chittenden 7603dcfd4b Reword `udp_answer_limit` for the better. 2016-03-29 23:48:22 -07:00
Sean Chittenden 0bf0f2a1ab Use industry jargon re: DNS round-robin
s/randomized DNS round-robin/round-robin DNS/
2016-03-29 23:07:42 -07:00
Sean Chittenden 64c1c12752 Whitespace, indent markdown correctly 2016-03-29 19:27:36 -07:00
Sean Chittenden d1166307aa Trim UDP responses per configuration 2016-03-29 19:27:21 -07:00
Sean Chittenden f8a0e1fb1a Merge branch 'b-dns-single-record' of ssh://github.com/hashicorp/consul into b-dns-single-record
# Conflicts:
#	command/agent/dns.go
2016-03-29 19:24:53 -07:00
Sean Chittenden a29f6e8c8f Allow adjusting the number of DNS records in a response...
Based on work done by @fusiondog in #1583, extend the concept to use an integer instead of a boolean.

Fixes: #1583 && #1481
2016-03-29 19:23:56 -07:00
Roman Landenband f0c30e8d0f clerify RPC usage 2016-03-29 15:10:28 +03:00
James Phillips 0f23210628 Fixes JSON in wildcard query example. 2016-03-23 14:33:20 -07:00
James Phillips 7ad0d9789f Merge pull request #1839 from foxel/patch-1
Clarification for advertise_addrs.rpc
2016-03-21 16:14:17 -07:00
Sean Chittenden 5a40caf2a8 Update the docs slightly re: only_passing
Signed-off by: @slackpad
2016-03-21 16:07:56 -07:00
Sayalic 85e3590a95 add inline code segment to enableTagOverride 2016-03-20 11:09:12 +08:00
Wim 508bc796a8 Allow [::] as a bind address (binds to first public IPv6 address) 2016-03-18 23:59:44 +01:00
Miquel Sabaté Solà 314a0913e2 command: deprecated the -dc flag in the agent CLI
The `-dc` flag from the agent CLI command has been deprecated in favor of
`-datacenter`. This is done this way because:

- Other CLI commands used `-datacenter`. See: event, exec and watch.
- The agent configuration file uses `datacenter`.

Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
2016-03-18 15:44:35 +01:00
James Phillips 4c3b2edfed Fixes a few bugs in the prepared query doc. 2016-03-17 23:42:27 -07:00
James Phillips 0ed56d6606 Adds a note about template query ACLs. 2016-03-17 08:21:58 -07:00
Andrey Kupreychik d3bce2b1af Clarification for advertise_addrs.rpc
Clarification for advertise_addrs.rpc as it sets the server RPC port (default 8300)
2016-03-16 12:10:54 +05:00
James Phillips ec82388e32 Merge pull request #1803 from tylert/doc-enc-update
Update agent encryption doc example
2016-03-10 20:06:02 -08:00
Alexandr Burdiyan cf12896d08 Update Consul Tools links
Docker Consul and Registrator projects were moved to another repositories.
2016-03-10 18:42:51 +01:00
James Phillips ae7b45a6df Merge pull request #1820 from hashicorp/f-port-docs
Adds a reference to the network ports from the security guide.
2016-03-09 21:22:41 -08:00
James Phillips b2992a5e83 Adds a reference to the network ports from the security page. 2016-03-09 21:21:49 -08:00
James Phillips 9d38282db5 Adds a reference to the health endpoint in the intro.
Fixes #1739.
2016-03-09 16:42:15 -08:00
Igor Dubinskiy 8a877c44eb Fix doc typo 2016-03-09 12:41:49 -08:00
Tyler Tidman df7f593747 Update agent encryption doc example 2016-03-09 11:18:48 -05:00
James Phillips dc81459857 Merge pull request #1813 from hashicorp/f-dns-trim
Makes sure UDP DNS responses aren't larger than allowed.
2016-03-08 23:26:04 -08:00
captainill a46acfeb25 refactor to encapsulate all side affects of displaying announcement bnr in one file 2016-03-08 14:59:06 -08:00
captainill a3996491a2 fix header on subpages when displaying annoucement bnr 2016-03-08 14:50:34 -08:00
Igor Dubinskiy f4edb28ef3 Make sure UDP DNS responses aren't larger than allowed 2016-03-07 16:41:17 -08:00
James Phillips e634e91ae6 Fixes broken example JSON. 2016-03-07 10:45:39 -08:00
James Phillips 275c84a0cc Renames "debug" endpoint and structures to "explain". 2016-03-07 10:45:39 -08:00
James Phillips 8493640b09 Adds a prepared query debug endpoint. 2016-03-07 10:45:39 -08:00
James Phillips e6232a21e4 Adds basic docs for prepared query templates. 2016-03-07 10:45:39 -08:00
vishalnayak 86edf5f5ba minor docs fix 2016-03-07 11:13:58 -05:00
James Phillips 29caa7d052 Merge pull request #1789 from hashicorp/jt-enterprise-bnr
add announcement banner for Consul Enterprise
2016-03-04 17:33:05 -08:00
James Phillips 5dd137056c Fixes name of new query ACL. 2016-03-04 16:32:53 -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
James Phillips bd4f2ee6b7 Adds a new PUT-based TTL check update endpoint. 2016-03-02 17:54:01 -08:00
James Phillips ecc617008a Merge pull request #1777 from hashicorp/b-port-docfix
TLS example and correcting error
2016-03-01 13:02:30 -08:00
James Phillips 807769e6bd Tweaks the address and advertise docs. 2016-03-01 13:01:13 -08:00
James Phillips 72f7c08a0a Cleans up the documents. 2016-02-24 18:05:58 -08:00
James Phillips c75256ac8b Adds a check for users re-submitting the redacted token. 2016-02-24 17:35:26 -08:00
James Phillips 2f7eac8b86 Renames "prepared_query" ACL policy to "query". 2016-02-24 17:02:06 -08:00
James Phillips 0ea990f3d2 Adds an upgrade note about the new ACL behavior. 2016-02-24 01:33:10 -08:00
James Phillips a8ac27fa49 Refactors docs into a more complete state for prepared query ACLs. 2016-02-23 22:27:44 -08:00
James Phillips 633c231d67 Creates new "prepared-query" ACL type and new token capture behavior.
Prior to this change, prepared queries had the following behavior for
ACLs, which will need to change to support templates:

1. A management token, or a token with read access to the service being
   queried needed to be provided in order to create a prepared query.

2. The token used to create the prepared query was stored with the query
   in the state store and used to execute the query.

3. A management token, or the token used to create the query needed to be
   supplied to perform and CRUD operations on an existing prepared query.

This was pretty subtle and complicated behavior, and won't work for
templates since the service name is computed at execution time. To solve
this, we introduce a new "prepared-query" ACL type, where the prefix
applies to the query name for static prepared query types and to the
prefix for template prepared query types.

With this change, the new behavior is:

1. A management token, or a token with "prepared-query" write access to
   the query name or (soon) the given template prefix is required to do
   any CRUD operations on a prepared query, or to list prepared queries
   (the list is filtered by this ACL).

2. You will no longer need a management token to list prepared queries,
   but you will only be able to see prepared queries that you have access
   to (you get an empty list instead of permission denied).

3. When listing or getting a query, because it was easy to capture
   management tokens given the past behavior, this will always blank out
   the "Token" field (replacing the contents as <hidden>) for all tokens
   unless a management token is supplied. Going forward, we should
   discourage people from binding tokens for execution unless strictly
   necessary.

4. No token will be captured by default when a prepared query is created.
   If the user wishes to supply an execution token then can pass it in via
   the "Token" field in the prepared query definition. Otherwise, this
   field will default to empty.

5. At execution time, we will use the captured token if it exists with the
   prepared query definition, otherwise we will use the token that's passed
   in with the request, just like we do for other RPCs (or you can use the
   agent's configured token for DNS).

6. Prepared queries with no name (accessible only by ID) will not require
   ACLs to create or modify (execution time will depend on the service ACL
   configuration). Our argument here is that these are designed to be
   ephemeral and the IDs are as good as an ACL. Management tokens will be
   able to list all of these.

These changes enable templates, but also enable delegation of authority to
manage the prepared query namespace.
2016-02-23 17:12:43 -08:00
csawyerYumaed 793195b7d8 Update documentation - add Network Ports.
Update security.html.markdown add section on Network Port usage.
TODO: add Atlas port usage.
2016-02-23 11:27:15 -08:00
Michael Crilly b90e77421a TLS example and correcting error
The example configuration file omits TLS support in the HTTP API. This is fine, but a second example demonstrating how to enable TLS over the HTTP API is harmless and, in fact, should be default practice.

Using the format `ip:port` in the "addresses" block will cause Consul to crash on reload/start. See issue (#1727)[https://github.com/hashicorp/consul/issues/1727#issuecomment-184980751]
2016-02-17 15:24:37 +10:00
Kim Toms a3f49a1f21 Update leader-election.html.markdown
Remove duplicate 'leader'
2016-02-14 09:32:23 -05:00
Sean Chittenden 66feca5b5f Allow adjusting the number of DNS records in a response...
Based on work done by @fusiondog in #1583, extend the concept to use an integer instead of a boolean.

Fixes: #1583 && #1481
2016-02-12 12:18:25 -08:00
James Phillips 48a29b5a31 Fixes a typo. 2016-02-09 16:37:06 -08:00
Michael de Jong 8582b33276 Added a reference to Consultant in the Community Tools section. 2016-02-08 16:09:30 +01:00
James Phillips 9fabd05157 Merge pull request #1698 from hashicorp/pr-1547-slackpad
Implements WAN address translation.
2016-02-07 14:26:04 -08:00
James Phillips 800910137d Adds documentation for WAN address translation. 2016-02-07 11:12:19 -08:00
James Phillips 498c8e1d9c Merge pull request #1609 from kevinsimper/patch-1
Updating dns forwarding
2016-02-06 22:21:00 -08:00
James Phillips 4b3dede0fb Tweaks the telemetry docs. 2016-02-06 22:07:11 -08:00
James Phillips a599e88507 Merge pull request #1284 from nbrownus/telemetry
Option to disable hostnames from telemetry
2016-02-06 22:00:14 -08:00
James Phillips 43a8eb8189 Adds a warning about DoS-ing the cluster with consul exec. 2016-02-05 17:36:19 -08:00
Seth Vargo 8150cedbaf Order 2016-02-04 12:12:58 -05:00
Justin Plock 894d444449 Add dropwizard-consul to the Community Tools page 2016-02-04 12:00:06 -05:00
Sean Chittenden c1c3daed9a Iterate on the DNS forwarding docs
Specifically:

* add Dnsmasq examples for reverse DNS for most of the RFC1918, 5735, and 6598 netblocks.
* Highlight some example options for dnsmasq that are probably of interest.
* Add a small section on reverse DNS testing
* Break out BINDs troubleshooting with Dnsmasq's troubleshooting

Not an exhaustive sweep, but should be helpful when introducing consul to new environments.
2016-02-02 15:06:25 -08:00
Nate Brown 541a98c9c7 Option to disable hostnames from telemetry 2016-01-29 13:44:48 -08:00
Raja Nadar aa45c07f28 fixing small typo in json 2016-01-29 01:25:23 -08:00
Jamie Kelly 08eefe7c31 Edit intro to present Consul instead of Terraform.
As this is Consul, not Terraform, it makes sense to use Consul in this intro instead of Terraform.
2016-01-27 20:44:10 +00:00
Justin Wilson 423725feea Update services.html.markdown 2016-01-27 14:06:38 -06:00
Seth Vargo b7c502c15a Add structured data 2016-01-24 13:27:30 -05:00
Brent Rojas e94a92902a Update hashicorp-ecosystem.html.markdown
Remove slash from link to blog, which was causing 404 error.
2016-01-22 15:09:12 -08:00
Daryl c4860cad7d Correcting count of checks
I saw there were 5 checks listed - script, tcp, http, ttl, docker.
2016-01-19 22:50:27 -05:00
Kevin Simper 759e535f54 Updating dns forwarding
It is not really clear that you only have to do one of the following and not all three.
2016-01-14 22:53:14 +01:00
Jon Benson d79139760a Fix semaphore typo 2016-01-13 16:56:40 -08:00
Seth Vargo e110abee9b Fix broken link 2016-01-13 19:32:30 -05:00
Seth Vargo e77dc8e6ee Remove bad CSS 2016-01-13 19:31:52 -05:00
Seth Vargo d906108b30 Merge pull request #1599 from hashicorp/sethvargo/image_optim
Optimize images
2016-01-13 18:03:26 -05:00
Seth Vargo b15bbc3c85 Optimize images 2016-01-13 18:00:47 -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 3b4bdc00b3 fix header fonts safari 2016-01-12 11:31:22 -08:00
James Phillips 6d35366228 Adds a note about 2X memory provisioning. 2016-01-08 19:15:42 -08:00
James Phillips 6bfc266657 Adds a cautionary note about data fitting into RAM. 2016-01-08 18:49:31 -08:00
James Phillips 55970248bc Tweaks wording of reap config option section. 2016-01-06 22:29:03 -08:00
James Phillips 6dd0835319 Makes the timeout behavior more intuitive.
Previously, it would try once "up to" the timeout, but in practice it would
just fall through. This modifies the behavior to block until the timeout has
been reached.
2016-01-06 09:40:20 -08:00
James Phillips 87dd758199 Defaults monitor retries to 3 retries @ 1s for the consul lock command. 2016-01-05 18:34:22 -08:00
James Phillips 9323276b58 Adds monitor retries to the consul lock command. 2016-01-05 18:22:36 -08:00
James Phillips 3348cf4c0b Adds "try" support to locks and semaphores. 2016-01-05 18:22:36 -08:00
James Phillips df361afed5 Merge pull request #1550 from hashicorp/f-devmode
Add a `-dev` mode for easy prototyping
2016-01-05 10:01:41 -08:00
Ryan Uber 3f8d25e689 website: address comments 2016-01-05 09:48:04 -08:00
James Phillips f861f35da7 Merge pull request #1549 from kikitux/patch-1
[doc] fix identation on statsd_addr
2016-01-02 06:50:56 -08:00
Peter Schaadt 5a72fe2803 Fixing typos in Coordinate documentation. 2015-12-28 16:34:09 -08:00
Ryan Uber 579a08ec20 website: add docs for dev mode 2015-12-27 09:45:59 -06:00
Alvaro Miranda 92f0164f97 fix identation on statsd_addr
ditto
2015-12-27 18:19:31 +13:00
Ryan Uber f37c0facbe agent: enable ui for dev mode 2015-12-26 20:39:42 -05:00
Ryan Uber 256a2ad36a website: update setup instructions for self-hosted ui 2015-12-24 23:14:40 -05:00
Ryan Uber 0fabf273e6 website: document the static ui flag 2015-12-24 22:21:34 -05:00
James Phillips e1d456a079 Changes sense of option to "reap" and uses nil for "not set". 2015-12-22 10:28:10 -08:00
James Phillips 1e4aa28c9d Adds child process reaping when Consul is running as PID 1. 2015-12-21 21:47:35 -08:00
James Phillips 09b1924cce Tweaks RTT command docs. 2015-12-21 15:16:48 -08:00
James Phillips 9e3c171648 Merge pull request #1522 from sboily/patch-1
Update documentation to use consul rtt command with https
2015-12-21 15:14:57 -08:00
captainill 3fa4451d05 position edit this page link to bottom of page 2015-12-19 22:29:11 -08:00
captainill fcf35a2337 make sure #demo h2 color is readable 2015-12-19 22:08:49 -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 43808ca120 Clarifies format of stats aggregator configurations as host:port. 2015-12-18 22:53:55 -08:00
William Jimenez 07c058cd04 Update options.html.markdown
clarify that setting `acl_default_policy` won't have any effect unless ACL support is also enabled by setting `acl_datacenter`
2015-12-18 14:26:35 -08:00
Sylvain Boily 726fde8e02 Update documentation to use rtt with https 2015-12-17 13:24:42 -05:00
James Phillips 884dc84805 Adds a base64 decode step to the example. 2015-12-16 22:51:03 -08:00
Pete Shima c9eed9f2de Fix the demo URL in the getting started guide. 2015-12-15 18:00:04 -08:00
James Phillips 6b82b69da9 Adds a note about the new web UI layout. 2015-12-15 15:17:11 -08:00
James Phillips 863e4bbc44 Fixes a typo on the website. 2015-12-14 11:42:05 -08:00
Seth Vargo 322fdb5890 Period 2015-12-11 11:23:13 -05:00
Seth Vargo a628c8dafc Add bios for @ryanuber, @slackpad, and @sethvargo
/cc @armon
2015-12-11 10:22:58 -05:00
Sep Nasiri d644ede899 Change example filename to use .json instead of .js
Since only .json files are loaded using .js as an example here is confusing.
2015-12-08 18:42:32 -08:00
James Phillips 232fc7d5fd Adds blank line to fix Docker check formatting. 2015-12-08 00:04:55 -08:00
James Phillips 0fb6e9b7f6 Adds some more upgrade notes for Consul 0.6. 2015-12-07 17:58:43 -08:00
nftw 07e367972c Update atlas.html.markdown
Fixed minor typo
2015-12-07 17:06:11 +00:00
James Phillips 1ff4357cc5 Updates the version specific instructions for 0.6.0. 2015-12-02 10:32:00 -08:00
James Phillips 241600f9b1 Merge pull request #1450 from hashicorp/f-proc-warnings
Removes the GOMAXPROCS warnings which are obsolete for Go 1.5+.
2015-11-26 11:25:39 -08:00
James Phillips b87aeec4e1 Removes the GOMAXPROCS warnings which are obsolete for Go 1.5+. 2015-11-25 17:59:16 -08:00
Ryan Breen 3c9e983800 Update health.html.markdown
Correct json syntax in example.
2015-11-23 09:39:05 -05:00
Arnout Engelen ab22325b87 Include 'Service'/'Address' field in example
Add the `Service`/`Address` field to the example output for the `/v1/health/service/\<service\>` endpoint.

Even though it's an optional value, this is probably the one consumers are looking for (rather than the `Node` address)
2015-11-23 15:01:24 +01:00
James Phillips 1144846ed0 Fixes a typo in the prepared queries doc. 2015-11-20 21:44:24 -08:00
James Phillips bcbf6d268e Removes old logging doc which was empty. 2015-11-18 14:41:50 -08:00
James Phillips 23536f2b97 Adds Docker checks support to client API.
Also changed `DockerContainerId` to `DockerContainerID`, and updated the agent
API docs to reflect their support for Docker checks.
2015-11-18 07:40:02 -08:00
Sean Chittenden dde0d26e18 Fix markdown's markup: 2^(64-1) != 2^(64)-1 2015-11-17 15:21:47 -08:00
James Phillips 9e29bb4238 Adds and updates docs for prepared queries. 2015-11-15 17:06:00 -08:00
James Phillips 26cf0a2974 Extends the session TTL max to 24 hours, and adds a warning to the docs. 2015-11-15 16:51:00 -08:00
James Phillips 1a3c523816 Adds a note about the new acquire behavior into the sessions internals guide. 2015-11-14 10:28:14 -08:00
talwai 3d64189bfa Add DogStatsD configuration options to documentation source 2015-11-11 14:30:37 -05:00
captainill 2db6dc1b40 community does not use the same layout as the rest of the inner pages. add edit link 2015-11-09 15:44:35 -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 595f090851 whitespace 2015-11-09 13:48:29 -08:00
captainill f3f4e0cf0a use method terraform uses to keep footer at bottom of page 2015-11-09 13:18:24 -08:00
captainill cbc8ed7646 fix source sans refs 2015-11-09 12:57:42 -08:00
captainill 5f3197dc99 fix #cta responsive bug 2015-11-08 23:39:14 -08:00
captainill dba65d1bdb mobile-header 2015-11-08 23:30:55 -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 c2fab40aee Fixes a typo. 2015-10-30 23:50:11 -07:00
Seth Vargo 00217d39a6 Add trailing slash to avoid a redirect 2015-10-29 16:12:26 -04:00
Diptanu Choudhury 1e379f45f0 Some more grammer corrections and formatting to docker check docs 2015-10-28 14:56:55 -07:00
Diptanu Choudhury b29a785614 Some changes to the docker check docs 2015-10-28 14:24:03 -07:00
Diptanu Choudhury c3cf24d022 Added some docs for the docker check 2015-10-28 14:19:57 -07:00
Cameron Stokes 46021ab4b4 Clarify format of the -atlas agent option. 2015-10-27 14:21:05 -07:00
Victor Trac adf4189707 Mote -> Note typo 2015-10-26 15:10:20 -05:00
Matthew Irish bc1ce42715 Merge pull request #1341 from hashicorp/site-header-fix
fix for jumping header issues on the website
2015-10-26 15:06:21 -05:00
Matthew Irish 36dd2cd9d0 fix for jumping header issues on the website
this fix was both a bit more involved and a bit hackier than I was hoping the
soultion would be, but that's how things go sometimes

to test:
 - open up the website in a browser and resize your window
 - make sure that the nav is always legible
2015-10-26 14:51:03 -05:00
Seth Vargo f6abfc1cd1 Use vendored fastly logo 2015-10-26 12:08:30 -04:00
Seth Vargo 75dd4004ff Use releases for releases 2015-10-26 11:44:22 -04:00
James Phillips 8986ee320a Revert "Fixed Header background"
This reverts commit 809ed3634403a90dbc62d05e18351262fed10d4c.
2015-10-26 07:58:01 -07:00
James Phillips b3b1c6940b Updates docs for network coordinates. 2015-10-23 15:23:01 -07:00
James Phillips c48e3e1179 Defaults second node to agent if not given. Removes -short option and tweaks output formatting. 2015-10-23 15:23:01 -07:00
James Phillips a51e170eef Cleans up after code review, adds a -short option to "consul rtt" command. 2015-10-23 15:23:01 -07:00
James Phillips 43df5c6784 Adds a "consul rtt" command. 2015-10-23 15:23:01 -07:00
James Phillips 3f11bfaea4 Adds coordinate of agent to self endpoint. 2015-10-23 15:23:01 -07:00
James Phillips a2bcef00a0 Adds endpoints for raw network coordinates. 2015-10-23 15:23:01 -07:00
James Phillips fecd639b02 Changes ?near=self to a safer ?near=_agent, which is also clearer about what it does. 2015-10-23 15:23:01 -07:00
James Phillips ee1cf1e13b Adds distance sorting to health endpoint. Cleans up unit tests. 2015-10-23 15:23:01 -07:00
James Phillips 1724b9a6be Adds a magic "self" node name to distance queries. 2015-10-23 15:23:01 -07:00
James Phillips 033e8e6625 Adds sort of DCs in catalog queries based on RTT. Cleans up.
* Makes the catalog endpoint respect disabling coordinates for all
  RTT-sorting query types.
2015-10-23 15:23:01 -07:00
James Phillips b63909cf67 Adds coordinate sorting support to catalog queries for nodes and service nodes. 2015-10-23 15:23:01 -07:00
Armon Dadgar d035dbd43b Merge pull request #1318 from daveadams/f-http-header-token
Allow specifying Consul token in an HTTP request header
2015-10-22 13:33:47 -07:00
James Phillips 24a80b403f Merge pull request #1291 from hashicorp/f-memdb
New memdb-based state store
2015-10-20 18:24:49 -07:00
James Phillips 3500c4781a Gets rid of LMDB reference in the FAQ. 2015-10-20 13:39:11 -07:00
Frank Schröder 783fc1abe3 Add fabio - consul-aware HTTP/HTTPS lb/router
Hi hashicorp team,

I work at eBay in Amsterdam and I have written a zero-conf consul aware HTTP(S) load-balancer in Go which can be used instead of consul-template + haproxy/varnish/apache/nginx. It builds its routing table from host/path prefixes the services publish via tags and the service status. Once a change is detected it switches the routing table dynamically without restart. It also supports canary testing by routing N% of traffic to a variable number of instances of a service. 

	https://github.com/eBay/fabio

We're using it to run all of marktplaats.nl (> 5-10k req/sec peak) through it and parts of kijiji.it which are eBay classifieds sites in the Netherlands and Italy. 

The code has been under development for the last 5 months and runs now in production and I was able to open-source it a couple of days ago. 

consul has quickly become our state and coordination backend for our micro services architecture for multiple different platforms in several countries. We're very happy with the quality and ease-of-use of your products and I'm personally looking forward to testing nomad. 

It would be cool if you could list the project on your consul tools page. Please let me know whether it meets your standards and/or expectations for tools to be listed there. Feel free to ask questions.
2015-10-19 19:52:42 +02:00
David Adams 5f175add40 Add HTTP request header X-Consul-Token
Add support for an X-Consul-Token HTTP request header to specify the
token with which this request should be fulfilled. The header would have
precedence over the responding Agent's default token, but would have
lower precedence than a token specified in the query string.
2015-10-19 11:26:01 -05:00
James Phillips a5b245d5ec Merge pull request #1294 from hashicorp/edit-this-page
Add "Edit this page" link everywhere except /
2015-10-15 16:23:33 -07:00
James Phillips 4ec5013811 Updates docs about new "acquire when you already have it" behavior. 2015-10-15 14:59:09 -07:00
Ryan Uber b46f878747 Merge pull request #1309 from hashicorp/f-remove-migrate
Removes consul-migrate for 0.6
2015-10-15 14:50:19 -07:00
Ryan Uber c31ac806f8 website: add note for consul migrate utility. 2015-10-15 14:42:46 -07:00
Ryan Breen 9d489331e3 Update datacenters.html.markdown
Fix GH-1305.
2015-10-15 14:36:54 -04:00
Guillaume Demesy 4ecd1fd702 Fixed Header background 2015-10-13 22:29:14 +02:00
Sam Handler 6a27884e25 Add edit this page link in footer 2015-10-12 18:44:22 -04:00
Norbert Potocki 64beb62e5b add cfg4j-pusher to tools section 2015-09-28 21:16:56 -07:00
Jeff Wang 75c21693a8 Make service lookup DNS documentation consistent 2015-09-23 23:16:34 -07:00
Jeff Wang ac5af9bcbc Make node lookup DNS documentation consistent 2015-09-23 23:09:52 -07:00
James Phillips b25797a808 Merge pull request #1187 from sfncook/enable_tag_drift_03
Enable tag drift 03
2015-09-11 15:35:32 -07:00
Shawn Cook 451abfa206 Doc changes in response to review. 2015-09-11 15:26:30 -07:00
Shawn Cook 7d6f30da1c Docs - add verbage to anti-entropy page. 2015-09-11 14:27:54 -07:00
Anthony Scalisi 8d733b7fca remove various typos 2015-09-11 12:29:54 -07:00
Shawn Cook 7c85d588d5 Update documentation for service definition 2015-09-11 09:32:54 -07:00
James Phillips c601f64c3f Fixes a typo in the telemetry docs. 2015-09-02 21:37:31 -07:00
Ryan Breen a013095f62 Merge pull request #1167 from railsguru/master
Add -http-port option to change the HTTP API port
2015-09-02 01:15:55 -04:00
Andy Lo-A-Foe 46e614ae70 Position it alphabetically 2015-09-02 06:28:55 +02:00
Andy Lo-A-Foe e9ee1f9bea Update agent options section on the website 2015-09-02 05:36:09 +02:00
Ryan Breen 6b6e79dadf Merge pull request #1211 from kikitux/master
add consul-do to community tools
2015-09-01 16:57:35 -04:00
Alvaro Miranda 2c3634ca57 Update downloads_tools.html.erb 2015-09-02 08:50:57 +12:00
Ryan Breen 300078db4d Merge pull request #1213 from mainframe/nodefabric-patch-1
Adding NodeFabric reference to Community Tools
2015-09-01 16:17:39 -04:00
Andres Toomsalu 11db6aba88 Adding NodeFabric reference to Community Tools 2015-09-01 23:09:34 +03:00
Alvaro Miranda 7e32c6a1de add consul-do to community tools
adding consul-do Do something based on leadership status

https://github.com/zeroXten/consul-do

From README.md

Useful for running cronjobs in HA mode.

Run something like this on two or more servers:

* * * * * /usr/bin/consul-do JOB-1 $(/bin/hostname) && /path/to/job1
*/10 * * * * /usr/bin/consul-do JOB-2 $(/bin/hostname) && /path/to/job2
Only one of the servers will be elected leader and will therefore run the job. Should the leader fail, a follower will take over.
2015-09-02 00:52:20 +12:00
James Phillips 0f49e1c3a9 Merge pull request #1200 from ryotarai/lock-pass-stdin
command/lock: Pass stdin to child process when -pass-stdin passed.
2015-08-31 21:14:45 -07:00
Ryota Arai 50914e2388 website: description of -pass-stdin option 2015-09-01 11:00:26 +09:00
Ryan Breen 2ee887ecc3 Cleanup for guides/forwarding.html 2015-08-30 12:01:49 -04:00
Marc Tamsky baede06a9e Explain 'recursors' behavior with an example. 2015-08-28 18:27:26 -07:00
Marc Tamsky 76aa082d5b add dnsmasq example, add pointer to 'recursors' 2015-08-28 18:10:37 -07:00
Ryan Uber 10c38f8c3a website: document precedence of Atlas endpoint inputs 2015-08-27 17:54:56 -07:00
Ryan Uber d9210f4a0c website: document atlas endpoint config 2015-08-27 11:31:29 -07:00
Ryan Uber aa30194328 Merge pull request #1199 from hashicorp/f-scada-reload
SCADA client is reload-able
2015-08-26 11:46:50 -07:00
Ryan Uber e533789088 website: add atlas token/infra to reloadable config 2015-08-25 17:21:29 -07:00
James Phillips 89d03026bc Clarifies services docs a bit. 2015-08-25 16:12:19 -07:00
Alvaro Miranda c4bd148bfb update: add consul-cli to downloads_tools.html.erb
update: add consul-cli to downloads_tools.html.erb
2015-08-25 13:38:25 +12:00
James Phillips c6b4ba12a7 Fixes a typo in the event docs, and twiddles the formatting. 2015-08-13 17:26:41 -07:00
Cameron Stokes 92b86f0631 Added detail about left/failed nodes and 72h reaping
Ref: https://groups.google.com/forum/#!searchin/consul-tool/left/consul-tool/KVl0u91uCdw/bfzrUO4r-1QJ
2015-08-06 17:37:48 -07:00
Jack Pearkes 49181fce76 website: fix broken link on acl page 2015-07-31 12:14:28 -07:00
Kevin Fishner 19b7099af3 update analytics 2015-07-28 15:59:05 -07:00
Armon Dadgar 2017c95d13 Merge pull request #1130 from pdf/check_socket
Add Socket check type
2015-07-27 14:21:24 -07:00
Peter Fern 403b42af99 Document `TCP` check type 2015-07-27 10:53:52 +10:00
Ryan Uber 6d38027689 Merge pull request #1090 from hashicorp/f-keyring-acl
Keyring ACLs
2015-07-24 10:23:18 -07:00
Calle Pettersson 2e03fa1648 Fix missing config-dir in getting started guide 2015-07-22 13:33:15 +02:00
Brian Hicks f3e5c4b58d website: add marathon-consul and mesos-consul 2015-07-08 17:47:49 -06:00
Ryan Uber d7f76702fe website: docs for keyring ACLs 2015-07-07 11:45:49 -06:00
Zhou Zheng Sheng 0a2a6e570a Website: Delete the unnecessary backslash at the end shell command line
Shell thinks '\<newline>' as line continuation only when it's unquoted
or in double quotes. It's not necessary to manually mark '\<newline>'
in single quotes, because when shell sees the a single quote starts, it
continues the line automatically until it sees the matching single quote
ends.

Thus,
echo 'a\
  b'
would give the following output
a\
  b

And
echo 'a
  b'
gives the following output
a
  b

Since we don't want to leave backslashes in the resulting json files, we
should remove the line continuation backslashes inside single quotes.
2015-07-07 11:27:47 +08:00
Ryan Uber 503fa1eed1 Merge pull request #1046 from hashicorp/f-event-acl
Event ACLs
2015-07-02 07:02:07 -07:00
ketzacoatl efc2d316c1 Minor improvement to `acl_master_token` docs
Confirm the expected format, and what happens if not provided.
2015-07-01 15:34:35 -04:00
Norbert Potocki 255c4e308f restore alphabetical order 2015-06-28 13:17:07 -07:00
Norbert Potocki 20abf0dabe add cfg4j communicty project 2015-06-28 13:15:40 -07:00
Ryan Uber cb0043e8f8 website: adding tag/service name dns compliance docs 2015-06-25 09:08:38 -07:00
Ryan Uber 715f69cce8 Merge pull request #1004 from i0rek/advertise_addrs
Add advertise_addrs.
2015-06-23 12:32:07 -07:00
Hans Hasselberg 4598087df3 Implement advertise_addrs for SerfLan, SerfWan and RPC.
Fixes #550.
This will make it possible to configure the advertised adresses for
SerfLan, SerfWan and RPC. It will enable multiple consul clients on a
single host which is very useful in a container environment.

This option might override advertise_addr and advertise_addr_wan
depending on the configuration.

It will be configureable with advertise_addrs. Example:

{
  "advertise_addrs": {
    "serf_lan": "10.0.120.91:4424",
    "serf_wan": "201.20.10.61:4423",
    "rpc": "10.20.10.61:4424"
  }
}
2015-06-23 21:23:45 +02:00
Ryan Uber d893a60534 website: document -token parameter for exec/event commands 2015-06-22 17:19:07 -07:00
Ryan Uber d529329944 website: link to check pass/fail endpoint docs from checks page 2015-06-22 10:21:50 -07:00
Ryan Uber 457cff1007 website: fix event acl policy docs 2015-06-19 12:18:09 -07:00
Ryan Uber e0ce6059f6 website: add docs for user event acls 2015-06-18 18:13:29 -07:00
Ryan Uber 9de7d95109 website: fix mention of read-only policy for service acls 2015-06-18 18:13:01 -07:00
siddharthist b224475ca3 Specified which user health checks get run as.
Fixes issue #1036
2015-06-15 21:55:05 -05:00
Ryan Uber faab022f89 website: document passing ACL tokens in catalog register/deregister 2015-06-15 11:45:30 -07:00
Christian Theune cdc00dc606 Wording. 2015-06-12 16:09:44 +02:00
Christian Theune 1bac706593 Make behaviour of keyprefixes always matching all keys in a prefix more clear. 2015-06-12 16:07:42 +02:00
Ryan Uber a8b5b980e8 website: add a note in the upgrade notes for 0.6 discovery ACLs 2015-06-11 17:48:08 -07:00
Ryan Uber 62a8d82f9f website: add note about anonymous token and discovery ACLs 2015-06-11 17:39:01 -07:00
Ryan Uber c09dfe05a7 website: document service discovery ACLs 2015-06-11 14:45:52 -07:00
Ryan Uber cf21fb1d0c website: document TTL check persistence 2015-06-05 17:15:57 -07:00
siddharthist be68db0136 Clarify how intervals are parsed
Current docs only show second intervals and do not specify
other valid options, this commit specifically outlines how the times are
parsed.
2015-06-03 12:53:09 -05:00
Andrew Ortman b8fad5c0ad Update upgrade instructions for 0.5.2
The docs were confusing as to whether or not 0.5.2 includes the migration tool, which it does. This edit should make it more clear for the end user
2015-06-02 13:02:35 -05:00
Clint Shryock 9d6af83fa4 fix typo 2015-06-01 08:34:54 -05:00
Spencer Gibb 14f3a4dc3b add Spring Cloud Consul to Community tools
[Spring Cloud](http://projects.spring.io/spring-cloud) provides tools for JVM developers to quickly build some of the common patterns in distributed systems (e.g. configuration management, service discovery, circuit breakers, intelligent routing, micro-proxy, control bus, one-time tokens, global locks, leadership election, distributed sessions, cluster state).

We have just released the first milestone of [Spring Cloud Consul](http://cloud.spring.io/spring-cloud-consul/spring-cloud-consul.html) ([announcement blog post](https://spring.io/blog/2015/05/27/spring-cloud-consul-1-0-0-m1-available-now), [github repo](https://github.com/spring-cloud/spring-cloud-consul)). This implements configuration management, service discovery and the control bus using the Consul HTTP API. In the future we plan to implement global locks, leadership election, distributed sessions using Consul.
2015-05-28 19:52:43 -04:00
Ryan Uber b6e31a2e6f website: add status field for check registration in http docs 2015-05-28 13:09:33 -07:00
Ryan Uber 90f8c91761 website: document setting initial status of health checks in config 2015-05-28 13:03:01 -07:00
Ryan Uber b6151768dd website: be explicit about grace period in lock command 2015-05-28 12:24:32 -07:00
Travis Truman 8588ba42c3 Adding networking info to the arch diagram 2015-05-21 11:35:32 -04:00
Amir Kibbar e1c6d9d850 added gradle-consul-plugin to the community tools 2015-05-18 17:41:33 -07:00
highlyunavailable e9bcfd6825 Add Consul.NET to the tools page
Fixes #944
2015-05-15 14:07:16 -07:00
Armon Dadgar 490c4e1f8c Merge pull request #939 from hashicorp/f-leak
Fixing memory leak caused by blocking query
2015-05-14 18:32:30 -07:00
Armon Dadgar 2c9592c5ee consul: lower default query time and add small stagger 2015-05-14 17:59:43 -07:00
Emil Hessman 1b1854689e website: fix typo
Clarify that the user is assured that Consul will listen to a
specific address when specifying a `bind` address, rather than
providing some kind of insurance policy.
2015-05-14 10:09:51 +02:00
Colin Rymer 6e1e85036f Typo fix 2015-05-12 15:54:32 -04:00
Armon Dadgar 97c87f4e4d website: document the new TLS changes 2015-05-11 16:22:10 -07:00
Cameron Ruatta dfbd466c71 Adding docs about configuration directory sub-directories 2015-05-11 10:36:50 -07:00
Cameron Ruatta 0b9bc7d2f5 Adding documentation about specifying multiple configuration directories 2015-05-11 10:19:04 -07:00
Ryan Uber b082d2f529 website: link and formatting adjustments for configtest command 2015-05-11 09:42:06 -07:00
Ryan Uber 27a4dc868c Merge pull request #904 from josephholsten/configtest-clean
add minimal configtest command
2015-05-11 09:01:54 -07:00
Joseph Anthony Pasquale Holsten ae3e8d24c4 command/configtest: add 2015-05-08 13:09:50 -07:00
Ryan Uber 5d94a6bb7d website: Document peers api consistency. Fixes #880 2015-05-06 12:13:28 -07:00
Armon Dadgar dd17147deb website: Update ACL description to longest-prefix 2015-05-06 12:04:40 -07:00
Armon Dadgar e474e34528 Merge pull request #909 from hashicorp/f-create
Support ACL upsert behavior
2015-05-06 11:22:11 -07:00
Ryan Uber 9acc42b86e Merge pull request #891 from hashicorp/f-token
ACL tokens for service/check registration
2015-05-05 22:17:31 -07:00
Armon Dadgar 0473b40df2 website: Document new ACL upsert behavior 2015-05-05 19:25:27 -07:00
Armon Dadgar efaed93b91 Merge pull request #816 from pepov/master
Support different advertise address for WAN gossip
2015-05-04 15:40:25 -07:00
Armon Dadgar bcaca06650 Merge pull request #902 from hashicorp/f-stats-prefix
Allow configuring the stats prefix
2015-05-04 15:19:47 -07:00
Armon Dadgar 1b121b703c website: FAQ for delta updates 2015-05-04 14:23:33 -07:00
Ryan Breen 9d1abfd1cb Move diplomat to SDK section. 2015-05-03 20:45:46 -04:00
Ryan Uber 8ae6790b33 website: document statsite_prefix option 2015-05-03 16:54:19 -07:00
sandstrom cb519e6459 Include diplomat 2015-05-03 21:37:54 +02:00
Ryan Uber af74095584 website: document service and check acl options 2015-04-28 14:28:06 -07:00
Ivan Evtuhovich 679ae264d1 Fix disambiguty
When i look how to start server, a read "simply start new server with the -server flag" and understand nothing. I think "agent" is a correct word here.
2015-04-26 19:34:34 +03:00
Vasily Vasilkov a7efaf061c Fix invalid link to sessions page 2015-04-22 12:40:27 +03:00
Cameron Ruatta b637683ffa Caps not necessary here 2015-04-20 20:59:45 -07:00
Cameron Ruatta a9761dca33 Updating the docs to include information about registering a check with
a serviceid.
2015-04-20 20:56:26 -07:00
Kevin Fishner 9ba1a43904 ampersand 2015-04-20 16:30:19 -07:00
Kevin Fishner abbbe683fb add consul and the hc ecosystem 2015-04-20 16:29:21 -07:00
Ryan Breen 1ac70f6179 Website: minor fix for docs/agent/http/agent.html. 2015-04-17 11:43:02 -04:00
Ryan Breen f6d38ef6e5 Website: cleanup for docs/internals/sessions.html. 2015-04-15 14:47:15 -04:00
Ryan Breen 65daaf8c03 Website: cleanup for docs/internals/security.html. 2015-04-13 18:17:29 -04:00
Ryan Breen a6befa8ef0 Website: minor tweaks for docs/internals/jepsen.html. 2015-04-12 22:44:57 -04:00
Ryan Breen f772412b92 Website: fix caps issue in docs/internals/consensus.html. 2015-04-11 18:32:15 -04:00
Ryan Breen b22b821cad Website: revert link to securing Consul doc since it's not ready yet. 2015-04-11 11:43:00 -04:00
Ryan Breen db65ebb631 Website: minor additional tweaks for docs/internals/consensus.html. 2015-04-11 11:41:55 -04:00
Ryan Breen da1c476343 Website: cleanup for docs/internals/consensus.html, including removing LMDB references in favor of BoltDB per GH-857. 2015-04-10 23:06:28 -04:00
Ryan Uber 8ebee678cc Merge pull request #857 from hashicorp/f-boltdb
Raft uses BoltDB
2015-04-10 18:30:07 -07:00
Ryan Uber e0febab79f website: add example cli output from migration 2015-04-10 18:24:09 -07:00
Ryan Uber db48e1450a website: add mention of consul-migrate 2015-04-10 17:52:49 -07:00
Armon Dadgar f12abbe51f Merge pull request #844 from mkostrikin/patch-1
Small tip for gracefull kill
2015-04-10 10:43:09 -07:00
Ryan Uber b18d75120c website: fix typo 2015-04-08 09:59:23 -07:00
Maxim N. Kostrikin 1bf9ece0b9 Small tip for gracefull kill 2015-04-07 13:15:48 +05:00
Ryan Breen a817a398dc Website: GH-831, mention that https port must be specified to start an https listener. 2015-04-03 22:12:00 -04:00
Ryan Breen 70a71b9454 Website: GH-826 fix anchor links in /docs/agent/watches.html. 2015-03-31 17:22:50 -04:00
Ryan Breen 47c52a62d4 Website: tweaks to docs/internals/architecture.html. 2015-03-30 18:07:58 -04:00
Ryan Breen 4d4c631fd6 Website: very minor tweaks to docs/internals/anti-entropy.html. 2015-03-29 10:53:49 -04:00
Ryan Breen 746e1fc9e4 Website: more cleanup for docs/internals/acl.html. 2015-03-28 11:54:16 -04:00
Ryan Breen 9d71844965 Website: GH-781 and cleanup for docs/internals/acl.html. 2015-03-28 11:26:26 -04:00
pepov 14c8c86fee update the docs: add advertise-wan cli and advertise_addr_wan json config 2015-03-28 16:08:20 +01:00
Silas Sewell 40a6191720 Fix create session link in semaphore guide 2015-03-28 10:39:53 -04:00
Ryan Uber 57da15e049 website: document minimum session TTL setting 2015-03-27 11:34:27 -07:00
Ryan Breen fa233675b9 Website: GH-730 for docs/guides/manual-bootstrap.html. 2015-03-27 13:20:32 -04:00
Ryan Breen 60e89f0a75 Website: GH-730 for docs/agent/watches.html. 2015-03-26 14:18:51 -04:00
Ryan Breen d43b42ab70 Website: GH-730 for docs/agent/telemetry.html. 2015-03-25 08:56:40 -04:00
Ryan Breen 240b354594 Website: GH-730 for docs/agent/encryption.html 2015-03-24 15:30:35 -04:00
Ryan Breen 2d15f2f0f4 Website: GH-730 for docs/agent/dns.html. 2015-03-23 15:48:35 -04:00
Ryan Breen 8f4ad0bbf9 Website: GH-730 for docs/internals/acl.html. 2015-03-22 11:44:16 -04:00
Ryan Breen 15f2afe92f Website: cleanup for docs/internals/index.html. 2015-03-21 21:52:26 -04:00
Armon Dadgar 8e27bbab3f Merge pull request #805 from discordianfish/add-domain-flag
Add -domain command line flag to agent
2015-03-20 11:11:14 -07:00
Johannes 'fish' Ziemke 78cde71a22 Add -domain command line flag to agent
This makes it possible to configure the domain on the command line
additionally to the config file.
2015-03-20 16:05:41 +01:00
Vasily Vasilkov 9adad6897d Update downloads_tools.html.erb
Fix typo
2015-03-20 17:46:13 +03:00
Ryan Breen 9104dd9b86 Website: change order of UIs listed in intro/getting-started/ui.html. 2015-03-19 19:27:30 -04:00
Ryan Breen 712e3b53b9 Merge branch 'master' of github.com:hashicorp/consul 2015-03-19 19:22:09 -04:00
Ryan Breen 39242b0906 Website: GH-730 and cleanup for intro/getting-started/ui.html. 2015-03-19 19:22:05 -04:00
tummychow e83598b043 Add doc notes for HTTPS API
- the HTTPS API address can be configured just like any other address
- the verify_incoming setting also applies to the HTTPS API
2015-03-18 16:08:41 -07:00
Ryan Breen ab11ce6f30 Website: cleanup for node reaping detail in the FAQ. 2015-03-18 17:27:30 -04:00
Ryan Breen aaf0ef78f4 Website: add node reaping detail to the FAQ. 2015-03-18 12:56:12 -04:00
Ryan Breen ff6e8852ce Website: cleanup for intro/getting-started/kv.html. 2015-03-18 10:49:41 -04:00
Ryan Breen ca7cd6496a Website: cleanup for intro/getting-started/checks.html. 2015-03-17 17:50:28 -04:00
Ryan Breen e9b08700a7 Website: a few additional tweaks to intro/getting-started/join.html. 2015-03-14 14:21:54 -04:00
Ryan Breen a8ab990ab0 Website: substantial rewrite of intro/getting-started/join.html. 2015-03-14 14:13:41 -04:00
Ryan Breen b5253c940c Website: GH-730 and cleanup for intro/getting-started/services.html 2015-03-13 14:56:58 -04:00
Ryan Breen 5084db0c26 Website: cleanup for intro/vs/zookeeper.html. 2015-03-12 15:50:13 -04:00
Ryan Breen 34f779c210 Website: cleanup for intro/vs/smartstack.html. 2015-03-11 18:07:39 -04:00
Ryan Breen 5200050179 Website: cleanup for intro/vs/skydns 2015-03-10 18:38:15 -04:00
Armon Dadgar 74bc07caa5 website: Adding some SDK links 2015-03-10 10:47:58 -07:00
Kevin Fishner ffdd27f405 fix utm param 2015-03-09 15:20:18 -07:00
Armon Dadgar cb47491d40 website: Clarify consistency in FAQ 2015-03-09 11:46:59 -07:00
Armon Dadgar eebf22b86a website: Formating fix 2015-03-09 10:10:22 -07:00
Armon Dadgar 8ba8aca1e1 website: Update FAQ about UDP multicast 2015-03-09 10:01:50 -07:00
Ryan Breen d17fad50c3 Website: cleanup for intro/vs/serf.html 2015-03-09 00:11:11 -04:00
Ryan Breen f27e9af893 Website: clean up intro/vs/nagios-sensu.html. 2015-03-08 11:19:26 -04:00
Ryan Breen aecb7f6794 Website: tweaks to intro/vs/custom 2015-03-07 10:18:24 -05:00
Ryan Breen 02b6a898c7 Website: minor tweaks to intro/vs/chef-puppet. 2015-03-06 18:08:35 -05:00
Bob Potter 23cef6202e website: default health check is 'serfHealth' 2015-03-05 17:38:28 -08:00
Armon Dadgar d246b297c6 website: Fixing documentation bug 2015-03-05 15:04:40 -08:00
Ryan Breen 288cb464a8 Website: cleanup for docs/faq.html. 2015-03-05 17:56:41 -05:00
Kevin Fishner 48458cb8a4 fix utm typo 2015-03-04 19:04:57 -08:00
Kevin Fishner a87a7920cd explain how consul and atlas work together 2015-03-04 16:12:14 -08:00
Ryan Breen b3f2bbe753 Website: GH-751 Link to anti-entropy doc everywhere that the term is used. 2015-03-04 10:22:53 -05:00
Ryan Uber 8dd9061956 website: fix typo in anti-entropy docs 2015-03-03 16:35:27 -08:00
Ryan Uber 6325442f93 Merge pull request #751 from hashicorp/f-ae-doc
Document anti-entropy internals
2015-03-03 16:34:00 -08:00
Ryan Uber 3e48f8c969 website: adjustments to anti-entropy docs 2015-03-03 16:32:17 -08:00
Ryan Uber 7f40698666 website: first pass at anti-entropy docs 2015-03-03 14:13:59 -08:00
Ryan Breen ad7d1b3090 Website: GH-747 change acl_master token to acl_master_token 2015-03-03 11:46:57 -05:00
Ryan Breen ce93505a16 Website: GH-747 Add docs on acl_master_token installation. 2015-03-03 11:33:49 -05:00
Ryan Breen 77ce44d5d2 Merge pull request #745 from highlyunavailable/NRC-docs
Add information about Negative Response Caching
2015-03-02 10:21:55 -05:00
highlyunavailable 61d262683d Add information about Negative Response Caching
Fixes #743
2015-03-02 07:04:44 -08:00
Ryan Breen cdd7649c03 Website: improve flow between getting-started docs. 2015-03-02 08:50:13 -05:00
Ryan Breen b4d7b0dbe0 Merge branch 'master' of github.com:hashicorp/consul 2015-03-02 08:31:47 -05:00
Ryan Breen f40f5f7b21 Website: cleanups for intro/getting-started/install.html 2015-03-02 08:31:32 -05:00
Ryan Breen 2ce1191ef3 Website: remove confusing language from docs/guides/outage.html 2015-03-01 19:15:49 -05:00
Ryan Breen 9910c7d7bd Website: rework docs/guides/outage.html to cover cases where recovery might be easier than manual removal of failed nodes from peers.json. 2015-03-01 18:21:33 -05:00
Ryan Breen 3585ac6684 Website: GH-730 and cleanup for docs/guides/semaphore.html 2015-03-01 00:18:21 -05:00
Ryan Breen 57d56ac8ce Website: GH-730 and cleanup for docs/guides/outage.html 2015-02-28 23:36:25 -05:00
Ryan Breen e728e501f6 Website: GH-730 and cleanup for docs/guides/datacenters.html 2015-02-28 22:20:02 -05:00
Ryan Breen d0dd4b689d Website: GH-730 and cleanup for docs/guides/leader-election.html. 2015-02-28 00:08:41 -05:00
Ryan Breen 5f8de1cce3 Website: Cleanup for docs/guides/external.html. 2015-02-27 19:00:13 -05:00
Ryan Breen 1941580e6a Website: cleanup for docs/guides/forwarding.html. 2015-02-26 13:34:45 -05:00
Ryan Breen 4289700607 Website: GH-730 links and clean-up for /docs/guides/dns-cache.html 2015-02-25 10:45:21 -05:00
Ryan Breen 24a00ca9e9 Website: GH-730 links for /docs/guides/atlas.html 2015-02-24 22:38:25 -05:00
Seth Vargo e612549d45 Be consistent in docs about Consul Replicate vs consul-replicate 2015-02-24 20:29:41 -05:00
Ryan Breen 87fccbc40c Website: Add links to options and commands referenced in docs/agent/basics.html and docs/guide/bootstrapping.html. 2015-02-24 14:11:11 -05:00
Ryan Breen 559084724a Manually specify anchors for each LI in options.html. This is necessary because the middleman-hashicorp logic only inserts anchors if the body of the LI contains no links. For consistent presentation, we need to specify all anchors rather than relying on middleman. 2015-02-24 12:30:17 -05:00
Ryan Breen d205512336 Website: /docs/agent/options Fix internal links in options.html to match the anchors created by middleman-hashicorp. 2015-02-23 15:34:46 -05:00
Ryan Breen 3f17f30691 Merge branch 'master' of github.com:hashicorp/consul 2015-02-23 14:45:00 -05:00
Ryan Breen 8ff0368aa4 Website: docs/agent/options.html Fix config-file reference. 2015-02-23 14:44:31 -05:00
Ryan Uber bb85d6f331 website: document -recursor arg for agent cli 2015-02-23 10:43:15 -08:00
Ryan Breen 69cc331a52 Website: Cleanup for docs/guides/bootstrapping 2015-02-22 23:19:11 -05:00
Ryan Breen 29e09ac184 Website: cleanup for docs/guides/atlas. 2015-02-21 17:39:52 -05:00
Ryan Breen 65c23a5f4f Website: finalize cleanup for intro/getting-started/checks. 2015-02-20 18:16:31 -05:00
Ryan Breen 5ecf003adc Website: cleanup for intro/getting-started/checks. 2015-02-20 18:10:58 -05:00
Ryan Breen 53afd77e2d s/data center/datacenter/g 2015-02-19 17:45:47 -05:00
Ryan Breen 0730e0dfe4 Website: revert changes to 'data center' from 'datacenter' 2015-02-19 17:32:31 -05:00
Ryan Breen 61202c78ac Website: finalize cleanup for getting-started/agent.html. 2015-02-19 17:18:58 -05:00
Ryan Breen def6d4d106 Website: cleanup for getting-started/agent.html. 2015-02-19 17:12:56 -05:00
Armon Dadgar fe150743eb website: Fixing image link 2015-02-19 13:24:13 -08:00
Armon Dadgar ab18b0fc32 website: Upgrading 0.5 docs 2015-02-19 11:03:02 -08:00
Armon Dadgar 65d4944dc4 website: Added missing link 2015-02-19 10:46:13 -08:00