Commit Graph

1082 Commits

Author SHA1 Message Date
James Phillips b92243d8d0 Tweaks the address and advertise docs. 2016-03-01 13:01:13 -08:00
James Phillips dca480e284 Cleans up the documents. 2016-02-24 18:05:58 -08:00
James Phillips 7d392118d2 Adds a check for users re-submitting the redacted token. 2016-02-24 17:35:26 -08:00
James Phillips 483898abe5 Renames "prepared_query" ACL policy to "query". 2016-02-24 17:02:06 -08:00
James Phillips b64f19bb08 Adds an upgrade note about the new ACL behavior. 2016-02-24 01:33:10 -08:00
James Phillips 880cd21667 Refactors docs into a more complete state for prepared query ACLs. 2016-02-23 22:27:44 -08:00
James Phillips 67de77482e 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 5026a40ec1 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 4c8725ef63 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 7e8e11aea3 Update leader-election.html.markdown
Remove duplicate 'leader'
2016-02-14 09:32:23 -05:00
Sean Chittenden d2745081f3 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 03602779c6 Fixes a typo. 2016-02-09 16:37:06 -08:00
Michael de Jong b99824330d Added a reference to Consultant in the Community Tools section. 2016-02-08 16:09:30 +01:00
James Phillips d2cc2801fa Merge pull request #1698 from hashicorp/pr-1547-slackpad
Implements WAN address translation.
2016-02-07 14:26:04 -08:00
James Phillips 590ab94d8d Adds documentation for WAN address translation. 2016-02-07 11:12:19 -08:00
James Phillips eb8ee9fce0 Merge pull request #1609 from kevinsimper/patch-1
Updating dns forwarding
2016-02-06 22:21:00 -08:00
James Phillips d2d6b51fe4 Tweaks the telemetry docs. 2016-02-06 22:07:11 -08:00
James Phillips d60be51f01 Merge pull request #1284 from nbrownus/telemetry
Option to disable hostnames from telemetry
2016-02-06 22:00:14 -08:00
James Phillips 64ec6d7d73 Adds a warning about DoS-ing the cluster with consul exec. 2016-02-05 17:36:19 -08:00
Seth Vargo 0cb4318b2e Order 2016-02-04 12:12:58 -05:00
Justin Plock 9f13bba9b2 Add dropwizard-consul to the Community Tools page 2016-02-04 12:00:06 -05:00
Sean Chittenden fa0d388ef1 Don't assume /bin/bash is installed on all OSes
Use `/usr/bin/env bash` where appropriate.
2016-02-02 15:16:49 -08:00
Sean Chittenden 7db70cfcb6 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 43a4f3fe02 Option to disable hostnames from telemetry 2016-01-29 13:44:48 -08:00
Raja Nadar cd17cdc03d fixing small typo in json 2016-01-29 01:25:23 -08:00
Jamie Kelly f444121b13 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 1eb780f1b5 Update services.html.markdown 2016-01-27 14:06:38 -06:00
Seth Vargo 40707934d2 Add structured data 2016-01-24 13:27:30 -05:00
Brent Rojas 784f3b1960 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 b2f8ef9f32 Correcting count of checks
I saw there were 5 checks listed - script, tcp, http, ttl, docker.
2016-01-19 22:50:27 -05:00
James Phillips 84594c36dd Bumps website version to 0.6.3. 2016-01-14 19:54:55 -08:00
Kevin Simper 72353c5ad3 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
Seth Vargo f4e085ec61 Remove old heroku stuff 2016-01-13 21:54:26 -05:00
James Phillips 182628dace Bumps website version to 0.6.2. 2016-01-13 17:37:39 -08:00
Jon Benson dcd01d1858 Fix semaphore typo 2016-01-13 16:56:40 -08:00
Seth Vargo 1001fe3d41 Use sync instead of put 2016-01-13 19:41:22 -05:00
Seth Vargo f5ffa8fb79 Fix broken link 2016-01-13 19:32:30 -05:00
Seth Vargo b08efe2cd5 Remove bad CSS 2016-01-13 19:31:52 -05:00
Seth Vargo b84c0583f5 Update middleman 2016-01-13 19:19:34 -05:00
Seth Vargo 3db4e3dccb Add Atlas deployment scripts 2016-01-13 19:05:04 -05:00
Seth Vargo 2fc7b6c610 Remove Ruby requirement from Gemfile 2016-01-13 18:04:05 -05:00
Seth Vargo 2c32c81338 Merge pull request #1599 from hashicorp/sethvargo/image_optim
Optimize images
2016-01-13 18:03:26 -05:00
Seth Vargo 4994d9108e Optimize images 2016-01-13 18:00:47 -05:00
Seth Vargo cae0ff354a Use HTTPS + www. where appropriate 2016-01-13 17:44:01 -05:00
captainill 8bd56dd3be fix consul logo position in safari 2016-01-12 11:58:30 -08:00
captainill b3087808ab fix header fonts safari 2016-01-12 11:31:22 -08:00
James Phillips 28ea3dff91 Adds a note about 2X memory provisioning. 2016-01-08 19:15:42 -08:00
James Phillips 891cba3899 Adds a cautionary note about data fitting into RAM. 2016-01-08 18:49:31 -08:00
James Phillips c2fdce6dd2 Updates middleman-hashicorp version to get new Solaris logo. 2016-01-07 11:29:09 -08:00
James Phillips 5e0d0ede20 Bumps the website version to 0.6.1. 2016-01-07 10:40:38 -08:00
James Phillips 203d8101eb Tweaks wording of reap config option section. 2016-01-06 22:29:03 -08:00
James Phillips 49342dc973 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 1d733f4c36 Defaults monitor retries to 3 retries @ 1s for the consul lock command. 2016-01-05 18:34:22 -08:00
James Phillips 4afeddacc8 Adds monitor retries to the consul lock command. 2016-01-05 18:22:36 -08:00
James Phillips 8caa9e4c7e Adds "try" support to locks and semaphores. 2016-01-05 18:22:36 -08:00
James Phillips c1fe9092ed 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 a352d15189 website: address comments 2016-01-05 09:48:04 -08:00
James Phillips ebad52ffc2 Merge pull request #1549 from kikitux/patch-1
[doc] fix identation on statsd_addr
2016-01-02 06:50:56 -08:00
Peter Schaadt b15d02e431 Fixing typos in Coordinate documentation. 2015-12-28 16:34:09 -08:00
Ryan Uber c4e73275b0 website: add docs for dev mode 2015-12-27 09:45:59 -06:00
Alvaro Miranda bbf67d83fb fix identation on statsd_addr
ditto
2015-12-27 18:19:31 +13:00
Ryan Uber 9002bfa37d agent: enable ui for dev mode 2015-12-26 20:39:42 -05:00
Ryan Uber 59c79e8b6a website: update setup instructions for self-hosted ui 2015-12-24 23:14:40 -05:00
Ryan Uber e040616df1 website: document the static ui flag 2015-12-24 22:21:34 -05:00
James Phillips 0b1c346990 Changes sense of option to "reap" and uses nil for "not set". 2015-12-22 10:28:10 -08:00
James Phillips 2b257c922e Adds child process reaping when Consul is running as PID 1. 2015-12-21 21:47:35 -08:00
James Phillips 3a619ff4bf Tweaks RTT command docs. 2015-12-21 15:16:48 -08:00
James Phillips f3db4501c3 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 5b54dacf64 position edit this page link to bottom of page 2015-12-19 22:29:11 -08:00
captainill e18fe6ecff make sure #demo h2 color is readable 2015-12-19 22:08:49 -08:00
captainill 5d1b3a9ab0 capital C in header by hashicorp lockup 2015-12-19 22:05:17 -08:00
captainill f6af74a432 Merge branch 'master' into new_header 2015-12-19 21:39:34 -08:00
captainill 86c87432bd cleanup 2015-12-19 21:39:03 -08:00
James Phillips 63b3e7f16a Clarifies format of stats aggregator configurations as host:port. 2015-12-18 22:53:55 -08:00
Sylvain Boily 9c2aadc5cb Update documentation to use rtt with https 2015-12-17 13:24:42 -05:00
James Phillips a7f6c4fe0a Adds a base64 decode step to the example. 2015-12-16 22:51:03 -08:00
Pete Shima 3c46096bd2 Fix the demo URL in the getting started guide. 2015-12-15 18:00:04 -08:00
James Phillips ec5d9463bc Adds a note about the new web UI layout. 2015-12-15 15:17:11 -08:00
James Phillips a34e6330bd Fixes a typo on the website. 2015-12-14 11:42:05 -08:00
Seth Vargo af5cdd9626 Period 2015-12-11 11:23:13 -05:00
Seth Vargo fd38068662 Add bios for @ryanuber, @slackpad, and @sethvargo
/cc @armon
2015-12-11 10:22:58 -05:00
Sep Nasiri 48c2f68edc 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 4c47f2d57f Adds blank line to fix Docker check formatting. 2015-12-08 00:04:55 -08:00
James Phillips f64249e955 Adds some more upgrade notes for Consul 0.6. 2015-12-07 17:58:43 -08:00
nftw 8f1e91576b Update atlas.html.markdown
Fixed minor typo
2015-12-07 17:06:11 +00:00
James Phillips eb5edd76b6 Bumps the website version to 0.6.0. 2015-12-03 20:29:51 -08:00
James Phillips 3cb33792e9 Updates the version specific instructions for 0.6.0. 2015-12-02 10:32:00 -08:00
James Phillips 1f57584d39 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 a61d89d0e6 Removes the GOMAXPROCS warnings which are obsolete for Go 1.5+. 2015-11-25 17:59:16 -08:00
Ryan Breen 4d42ff66e3 Update health.html.markdown
Correct json syntax in example.
2015-11-23 09:39:05 -05:00
Arnout Engelen afc77a4634 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 d861f87851 Fixes a typo in the prepared queries doc. 2015-11-20 21:44:24 -08:00
James Phillips ab63122a32 Removes old logging doc which was empty. 2015-11-18 14:41:50 -08:00
James Phillips 95c708f65e 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 e4d7bfee6a Fix markdown's markup: 2^(64-1) != 2^(64)-1 2015-11-17 15:21:47 -08:00
James Phillips 800e946bf1 Adds and updates docs for prepared queries. 2015-11-15 17:06:00 -08:00
James Phillips f1f9d30ade 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 86f56ee4a1 Adds a note about the new acquire behavior into the sessions internals guide. 2015-11-14 10:28:14 -08:00
talwai 0a5434f2a0 Add DogStatsD configuration options to documentation source 2015-11-11 14:30:37 -05:00
captainill a69fcf0780 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 b79afeb349 edit page link does not belong in footer appearing like a nav link. should be associated with page content. updated 2015-11-09 15:39:34 -08:00
captainill 17b3910152 refactor styles to be more atomic for header/footer usage 2015-11-09 15:34:32 -08:00
captainill 6593f945eb whitespace 2015-11-09 13:48:29 -08:00
captainill 45b1d47fab use method terraform uses to keep footer at bottom of page 2015-11-09 13:18:24 -08:00
captainill 7bcba613b0 fix source sans refs 2015-11-09 12:57:42 -08:00
captainill 595070bee2 fix #cta responsive bug 2015-11-08 23:39:14 -08:00
captainill f88f464f28 mobile-header 2015-11-08 23:30:55 -08:00
captainill f96c4d0b50 footer redesign 2015-11-08 23:16:24 -08:00
captainill a624546993 most styles 2015-11-06 23:38:43 -08:00
captainill e792606519 basic structure of redesign 2015-11-06 23:17:00 -08:00
James Phillips cf1b9fe074 Fixes a typo. 2015-10-30 23:50:11 -07:00
Seth Vargo de4835ecbd Add trailing slash to avoid a redirect 2015-10-29 16:12:26 -04:00
Diptanu Choudhury c25d0f044f Some more grammer corrections and formatting to docker check docs 2015-10-28 14:56:55 -07:00
Diptanu Choudhury 1633cf9d1c Some changes to the docker check docs 2015-10-28 14:24:03 -07:00
Diptanu Choudhury e4f2887ba3 Added some docs for the docker check 2015-10-28 14:19:57 -07:00
Cameron Stokes 442461b030 Clarify format of the -atlas agent option. 2015-10-27 14:21:05 -07:00
Victor Trac 2b00e1cd6a Mote -> Note typo 2015-10-26 15:10:20 -05:00
Matthew Irish da1130891c 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 aa921bdbca 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 f6db363974 Use vendored fastly logo 2015-10-26 12:08:30 -04:00
Seth Vargo 38cc04bd18 Use releases for releases 2015-10-26 11:44:22 -04:00
James Phillips 4c8cee0076 Revert "Fixed Header background"
This reverts commit 809ed36344.
2015-10-26 07:58:01 -07:00
James Phillips cef9402ab9 Updates docs for network coordinates. 2015-10-23 15:23:01 -07:00
James Phillips 99cfbb8a47 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 88845f7d71 Cleans up after code review, adds a -short option to "consul rtt" command. 2015-10-23 15:23:01 -07:00
James Phillips fb8900156a Adds a "consul rtt" command. 2015-10-23 15:23:01 -07:00
James Phillips f9da231a1c Adds coordinate of agent to self endpoint. 2015-10-23 15:23:01 -07:00
James Phillips 33e3505aea Adds endpoints for raw network coordinates. 2015-10-23 15:23:01 -07:00
James Phillips 9c9195746f 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 9caa5b3653 Adds distance sorting to health endpoint. Cleans up unit tests. 2015-10-23 15:23:01 -07:00
James Phillips e47eea3f3a Adds a magic "self" node name to distance queries. 2015-10-23 15:23:01 -07:00
James Phillips 36c78f5042 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 89c7203f31 Adds coordinate sorting support to catalog queries for nodes and service nodes. 2015-10-23 15:23:01 -07:00
Armon Dadgar 6a350d5d19 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 7601a160d7 Merge pull request #1291 from hashicorp/f-memdb
New memdb-based state store
2015-10-20 18:24:49 -07:00
James Phillips ff1eec015f Gets rid of LMDB reference in the FAQ. 2015-10-20 13:39:11 -07:00
Frank Schröder 2e42020792 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 b7bcb2a414 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 a926e41c44 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 dc05fb728a Updates docs about new "acquire when you already have it" behavior. 2015-10-15 14:59:09 -07:00
Ryan Uber d6af59cded 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 3872e57b3b website: add note for consul migrate utility. 2015-10-15 14:42:46 -07:00
Ryan Breen 8ecf4d1f6e Update datacenters.html.markdown
Fix GH-1305.
2015-10-15 14:36:54 -04:00
Guillaume Demesy 809ed36344 Fixed Header background 2015-10-13 22:29:14 +02:00
Sam Handler ea5d041ece bundle update middleman-hashicorp 2015-10-12 18:44:58 -04:00
Sam Handler d25e6390b6 Add edit this page link in footer 2015-10-12 18:44:22 -04:00
Sam Handler 30c4ef88af Add github_slug to website/config.rb 2015-10-12 18:43:15 -04:00
Sam Handler 4de2dd31f0 Add makefile and update readme 2015-10-09 18:29:08 -04:00
Norbert Potocki 9dfdbb2d36 add cfg4j-pusher to tools section 2015-09-28 21:16:56 -07:00
Jeff Wang 0488dfd366 Make service lookup DNS documentation consistent 2015-09-23 23:16:34 -07:00
Jeff Wang ce66db8157 Make node lookup DNS documentation consistent 2015-09-23 23:09:52 -07:00
James Phillips 2f9ebdb135 Merge pull request #1187 from sfncook/enable_tag_drift_03
Enable tag drift 03
2015-09-11 15:35:32 -07:00
Shawn Cook 1f330add02 Doc changes in response to review. 2015-09-11 15:26:30 -07:00
Shawn Cook 598526eba2 Docs - add verbage to anti-entropy page. 2015-09-11 14:27:54 -07:00
Anthony Scalisi 10e028d599 remove various typos 2015-09-11 12:29:54 -07:00
Shawn Cook 4caf049c4c Update documentation for service definition 2015-09-11 09:32:54 -07:00
James Phillips 1387aba91b Fixes a typo in the telemetry docs. 2015-09-02 21:37:31 -07:00
Seth Vargo 5da996067e Update Middleman 2015-09-02 10:14:06 -04:00
Ryan Breen 80d26f9156 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 bb5422af14 Position it alphabetically 2015-09-02 06:28:55 +02:00
Andy Lo-A-Foe 00b906774b Update agent options section on the website 2015-09-02 05:36:09 +02:00
Ryan Breen ae128ef30f Merge pull request #1211 from kikitux/master
add consul-do to community tools
2015-09-01 16:57:35 -04:00
Alvaro Miranda 54c9fd8403 Update downloads_tools.html.erb 2015-09-02 08:50:57 +12:00
Ryan Breen f3d6fef82b 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 3e46d8a7fe Adding NodeFabric reference to Community Tools 2015-09-01 23:09:34 +03:00
Alvaro Miranda 13b9ff6330 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 26ce9d16be 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 b2755d026e website: description of -pass-stdin option 2015-09-01 11:00:26 +09:00
Ryan Breen 8e8526de8f Cleanup for guides/forwarding.html 2015-08-30 12:01:49 -04:00
Marc Tamsky 0db9346ecc Explain 'recursors' behavior with an example. 2015-08-28 18:27:26 -07:00
Marc Tamsky b71a51e277 add dnsmasq example, add pointer to 'recursors' 2015-08-28 18:10:37 -07:00
Ryan Uber 4adc0b5c66 website: document precedence of Atlas endpoint inputs 2015-08-27 17:54:56 -07:00
Ryan Uber b8e82eee1c website: document atlas endpoint config 2015-08-27 11:31:29 -07:00
Ryan Uber 692e9078cb website: rebundle 2015-08-27 11:29:47 -07:00
Ryan Uber b0fcb6c234 Merge pull request #1199 from hashicorp/f-scada-reload
SCADA client is reload-able
2015-08-26 11:46:50 -07:00
Ryan Uber 96e7b1869c website: add atlas token/infra to reloadable config 2015-08-25 17:21:29 -07:00
James Phillips 103fe83b4a Clarifies services docs a bit. 2015-08-25 16:12:19 -07:00
Alvaro Miranda f06ae16648 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
Armon Dadgar 7c4b767e4e Merge pull request #1174 from hashicorp/b-fix-typo
Fixes a typo in the event docs, and twiddles the formatting.
2015-08-18 18:58:48 -07:00
James Phillips 58fd18b477 Merge pull request #1161 from hashicorp/b-website-vagrantfile
website/Vagrantfile works again.
2015-08-13 18:26:22 -07:00
James Phillips 88c15e5bbd Fixes a typo in the event docs, and twiddles the formatting. 2015-08-13 17:26:41 -07:00
Cameron Stokes 212ff4b163 website/Vagrantfile works again.
- Added gpg key
- Updated to ruby 2.2.2
- bundle -> bundle update
2015-08-06 17:39:48 -07:00
Cameron Stokes 23db28a5db 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 25f0f3cb37 website: fix broken link on acl page 2015-07-31 12:14:28 -07:00
Kevin Fishner 8ec5a0b5ba update analytics 2015-07-28 15:59:05 -07:00
Armon Dadgar 4a9b91f2a2 Merge pull request #1130 from pdf/check_socket
Add Socket check type
2015-07-27 14:21:24 -07:00
Peter Fern 916ff7e5fa Document `TCP` check type 2015-07-27 10:53:52 +10:00
Ryan Uber a6317f2fb2 Merge pull request #1090 from hashicorp/f-keyring-acl
Keyring ACLs
2015-07-24 10:23:18 -07:00
Calle Pettersson 73086996cf Fix missing config-dir in getting started guide 2015-07-22 13:33:15 +02:00
Seth Vargo d473fe5693 Use Rack::Protection 2015-07-13 12:56:46 -04:00
Seth Vargo 32906a9d3e Update middleman-hashicorp 2015-07-13 12:56:40 -04:00
Brian Hicks 0f491d92f1 website: add marathon-consul and mesos-consul 2015-07-08 17:47:49 -06:00
Ryan Uber 38175f450b website: docs for keyring ACLs 2015-07-07 11:45:49 -06:00
Zhou Zheng Sheng 85f7064fe0 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 e37b5ecb69 Merge pull request #1046 from hashicorp/f-event-acl
Event ACLs
2015-07-02 07:02:07 -07:00
ketzacoatl b63041c3b0 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 cec84be06d restore alphabetical order 2015-06-28 13:17:07 -07:00
Norbert Potocki b8b4b0f0d0 add cfg4j communicty project 2015-06-28 13:15:40 -07:00
Ryan Uber 6290cb93bd website: adding tag/service name dns compliance docs 2015-06-25 09:08:38 -07:00
Ryan Uber d0348d1291 Merge pull request #1004 from i0rek/advertise_addrs
Add advertise_addrs.
2015-06-23 12:32:07 -07:00
Hans Hasselberg 267e0caf81 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 7e63572df6 website: document -token parameter for exec/event commands 2015-06-22 17:19:07 -07:00
Ryan Uber c8b3e48cbf website: link to check pass/fail endpoint docs from checks page 2015-06-22 10:21:50 -07:00
Ryan Uber 84a47947d7 website: fix event acl policy docs 2015-06-19 12:18:09 -07:00
Ryan Uber 1e5a2a8960 website: add docs for user event acls 2015-06-18 18:13:29 -07:00
Ryan Uber 0381e1a253 website: fix mention of read-only policy for service acls 2015-06-18 18:13:01 -07:00
siddharthist 2cfb45f4f8 Specified which user health checks get run as.
Fixes issue #1036
2015-06-15 21:55:05 -05:00
Ryan Uber c8f76b5e2c website: document passing ACL tokens in catalog register/deregister 2015-06-15 11:45:30 -07:00
Christian Theune 74ac30c601 Wording. 2015-06-12 16:09:44 +02:00
Christian Theune 7211876688 Make behaviour of keyprefixes always matching all keys in a prefix more clear. 2015-06-12 16:07:42 +02:00
Ryan Uber e7125213ca website: add a note in the upgrade notes for 0.6 discovery ACLs 2015-06-11 17:48:08 -07:00
Ryan Uber 9285ec1891 website: add note about anonymous token and discovery ACLs 2015-06-11 17:39:01 -07:00
Ryan Uber 96746fb1c1 website: document service discovery ACLs 2015-06-11 14:45:52 -07:00
Ryan Uber e872587e19 website: document TTL check persistence 2015-06-05 17:15:57 -07:00
siddharthist 0dac1ea126 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 4bf6babea5 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 dcb2d9e5ac fix typo 2015-06-01 08:34:54 -05:00
Spencer Gibb 7e2e661d83 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 32820fc9d2 website: add status field for check registration in http docs 2015-05-28 13:09:33 -07:00
Ryan Uber 1ae7710024 website: document setting initial status of health checks in config 2015-05-28 13:03:01 -07:00
Ryan Uber 84b602a925 website: be explicit about grace period in lock command 2015-05-28 12:24:32 -07:00
Travis Truman 6c47305cd2 Adding networking info to the arch diagram 2015-05-21 11:35:32 -04:00
Amir Kibbar bca89a1de0 added gradle-consul-plugin to the community tools 2015-05-18 17:41:33 -07:00
Armon Dadgar 3984518803 Fixing yanked gem 2015-05-18 14:44:50 -07:00
Armon Dadgar 8c86fd1907 Bump version references 2015-05-18 14:37:27 -07:00
Ryan Breen cf9d499e94 Merge pull request #945 from highlyunavailable/cdotnet
Add Consul.NET to the tools page
2015-05-15 17:08:45 -04:00
highlyunavailable 825ef1d6bc Add Consul.NET to the tools page
Fixes #944
2015-05-15 14:07:16 -07:00
Seth Vargo 1e70da7314 Merge pull request #943 from hashicorp/sethvargo/update_middleman
Use new middleman-hashicorp
2015-05-15 16:32:06 -04:00
Seth Vargo 549f959ab4 Use new middleman-hashicorp 2015-05-15 16:06:10 -04:00
Armon Dadgar c559023d81 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 ab3632e409 consul: lower default query time and add small stagger 2015-05-14 17:59:43 -07:00
Emil Hessman f5ed15a860 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
Armon Dadgar 9fb235a98d Cutting 0.5.1 2015-05-13 09:28:32 -07:00
Colin Rymer a111719d23 Typo fix 2015-05-12 15:54:32 -04:00
Armon Dadgar 90d6204a1a website: document the new TLS changes 2015-05-11 16:22:10 -07:00
Cameron Ruatta 587cd35c6c Adding docs about configuration directory sub-directories 2015-05-11 10:36:50 -07:00
Cameron Ruatta 9271d94532 Adding documentation about specifying multiple configuration directories 2015-05-11 10:19:04 -07:00
Ryan Uber 8f79a964cd website: link and formatting adjustments for configtest command 2015-05-11 09:42:06 -07:00
Ryan Uber 3ad94bd81d Merge pull request #904 from josephholsten/configtest-clean
add minimal configtest command
2015-05-11 09:01:54 -07:00
Joseph Anthony Pasquale Holsten afbf68878c command/configtest: add 2015-05-08 13:09:50 -07:00
Ryan Uber dd57071240 website: Document peers api consistency. Fixes #880 2015-05-06 12:13:28 -07:00
Armon Dadgar 9707383021 website: Update ACL description to longest-prefix 2015-05-06 12:04:40 -07:00
Armon Dadgar f3a8f907fb Merge pull request #909 from hashicorp/f-create
Support ACL upsert behavior
2015-05-06 11:22:11 -07:00
Ryan Uber 739d1fdf03 Merge pull request #891 from hashicorp/f-token
ACL tokens for service/check registration
2015-05-05 22:17:31 -07:00
Armon Dadgar c0f92c3256 website: Document new ACL upsert behavior 2015-05-05 19:25:27 -07:00
Armon Dadgar a86f31517b Merge pull request #816 from pepov/master
Support different advertise address for WAN gossip
2015-05-04 15:40:25 -07:00
Armon Dadgar b381cca304 Merge pull request #902 from hashicorp/f-stats-prefix
Allow configuring the stats prefix
2015-05-04 15:19:47 -07:00
Armon Dadgar 2af6309870 website: FAQ for delta updates 2015-05-04 14:23:33 -07:00
Ryan Breen 035bfeb3c9 Move diplomat to SDK section. 2015-05-03 20:45:46 -04:00
Ryan Uber 5f140f1972 website: document statsite_prefix option 2015-05-03 16:54:19 -07:00