Commit Graph

813 Commits (05bc9149a5204b213a61bc410b8cec21f10a23fe)

Author SHA1 Message Date
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 d25e6390b6 Add edit this page link in footer 2015-10-12 18:44:22 -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
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 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
James Phillips 88c15e5bbd Fixes a typo in the event docs, and twiddles the formatting. 2015-08-13 17:26:41 -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
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
highlyunavailable 825ef1d6bc Add Consul.NET to the tools page
Fixes #944
2015-05-15 14:07:16 -07: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
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
sandstrom 27b6c1ce53 Include diplomat 2015-05-03 21:37:54 +02:00
Ryan Uber 8d2834fb12 website: document service and check acl options 2015-04-28 14:28:06 -07:00
Ivan Evtuhovich bd97a0df54 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 3f5e767c30 Fix invalid link to sessions page 2015-04-22 12:40:27 +03:00
Cameron Ruatta c7d560bd7e Caps not necessary here 2015-04-20 20:59:45 -07:00
Cameron Ruatta b3c084382e Updating the docs to include information about registering a check with
a serviceid.
2015-04-20 20:56:26 -07:00
Kevin Fishner d07dfaabbb ampersand 2015-04-20 16:30:19 -07:00
Kevin Fishner 5279ffe6aa add consul and the hc ecosystem 2015-04-20 16:29:21 -07:00
Ryan Breen 17c2644e39 Website: minor fix for docs/agent/http/agent.html. 2015-04-17 11:43:02 -04:00
Ryan Breen 0696a45b43 Website: cleanup for docs/internals/sessions.html. 2015-04-15 14:47:15 -04:00
Ryan Breen 26f03ea30d Website: cleanup for docs/internals/security.html. 2015-04-13 18:17:29 -04:00
Ryan Breen 8a50c28fc1 Website: minor tweaks for docs/internals/jepsen.html. 2015-04-12 22:44:57 -04:00
Ryan Breen dd15b47bdf Website: fix caps issue in docs/internals/consensus.html. 2015-04-11 18:32:15 -04:00
Ryan Breen a54e8678a1 Website: revert link to securing Consul doc since it's not ready yet. 2015-04-11 11:43:00 -04:00
Ryan Breen 218b432446 Website: minor additional tweaks for docs/internals/consensus.html. 2015-04-11 11:41:55 -04:00
Ryan Breen 2b9bb18921 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 6cc0eefa76 Merge pull request #857 from hashicorp/f-boltdb
Raft uses BoltDB
2015-04-10 18:30:07 -07:00
Ryan Uber 72fa55043c website: add example cli output from migration 2015-04-10 18:24:09 -07:00
Ryan Uber 57ba747f54 website: add mention of consul-migrate 2015-04-10 17:52:49 -07:00
Armon Dadgar eccd5a18f9 Merge pull request #844 from mkostrikin/patch-1
Small tip for gracefull kill
2015-04-10 10:43:09 -07:00
Ryan Uber e5797d9a86 website: fix typo 2015-04-08 09:59:23 -07:00
Maxim N. Kostrikin 362e44e678 Small tip for gracefull kill 2015-04-07 13:15:48 +05:00
Ryan Breen 0ad25ece43 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 3035abd446 Website: GH-826 fix anchor links in /docs/agent/watches.html. 2015-03-31 17:22:50 -04:00
Ryan Breen 5e6a4d4f7d Website: tweaks to docs/internals/architecture.html. 2015-03-30 18:07:58 -04:00
Ryan Breen efb374e080 Website: very minor tweaks to docs/internals/anti-entropy.html. 2015-03-29 10:53:49 -04:00
Ryan Breen d90a466f45 Website: more cleanup for docs/internals/acl.html. 2015-03-28 11:54:16 -04:00
Ryan Breen ba3071c147 Website: GH-781 and cleanup for docs/internals/acl.html. 2015-03-28 11:26:26 -04:00
pepov 80dcc7fa08 update the docs: add advertise-wan cli and advertise_addr_wan json config 2015-03-28 16:08:20 +01:00
Silas Sewell cb1155d5b4 Fix create session link in semaphore guide 2015-03-28 10:39:53 -04:00
Ryan Uber 2fc6d530f3 website: document minimum session TTL setting 2015-03-27 11:34:27 -07:00
Ryan Breen 4d5c07af26 Website: GH-730 for docs/guides/manual-bootstrap.html. 2015-03-27 13:20:32 -04:00
Ryan Breen 6e261622f8 Website: GH-730 for docs/agent/watches.html. 2015-03-26 14:18:51 -04:00
Ryan Breen f09817ada6 Website: GH-730 for docs/agent/telemetry.html. 2015-03-25 08:56:40 -04:00
Ryan Breen 220accc7d7 Website: GH-730 for docs/agent/encryption.html 2015-03-24 15:30:35 -04:00
Ryan Breen 0c21136a28 Website: GH-730 for docs/agent/dns.html. 2015-03-23 15:48:35 -04:00
Ryan Breen 709de1a43b Website: GH-730 for docs/internals/acl.html. 2015-03-22 11:44:16 -04:00