Commit Graph

962 Commits

Author SHA1 Message Date
Justin Plock 894d444449 Add dropwizard-consul to the Community Tools page 2016-02-04 12:00:06 -05:00
Sean Chittenden bde685a046 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 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
James Phillips 13d25e33a1 Bumps website version to 0.6.3. 2016-01-14 19:54:55 -08: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
Seth Vargo 0fc4ffd820 Remove old heroku stuff 2016-01-13 21:54:26 -05:00
James Phillips b91a83d016 Bumps website version to 0.6.2. 2016-01-13 17:37:39 -08:00
Jon Benson d79139760a Fix semaphore typo 2016-01-13 16:56:40 -08:00
Seth Vargo db9c418630 Use sync instead of put 2016-01-13 19:41:22 -05: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 caa018e56f Update middleman 2016-01-13 19:19:34 -05:00
Seth Vargo b57c927bfa Add Atlas deployment scripts 2016-01-13 19:05:04 -05:00
Seth Vargo 526f4516e8 Remove Ruby requirement from Gemfile 2016-01-13 18:04:05 -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 737bd83fc5 Updates middleman-hashicorp version to get new Solaris logo. 2016-01-07 11:29:09 -08:00
James Phillips a8e0b953d1 Bumps the website version to 0.6.1. 2016-01-07 10:40:38 -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
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 a3481052ad Bumps the website version to 0.6.0. 2015-12-03 20:29:51 -08: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 37d92e2c18 bundle update middleman-hashicorp 2015-10-12 18:44:58 -04:00
Sam Handler 6a27884e25 Add edit this page link in footer 2015-10-12 18:44:22 -04:00
Sam Handler 901f9f7827 Add github_slug to website/config.rb 2015-10-12 18:43:15 -04:00
Sam Handler 49fcaa3e85 Add makefile and update readme 2015-10-09 18:29:08 -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
Seth Vargo 292acffcd9 Update Middleman 2015-09-02 10:14:06 -04: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