Commit Graph

818 Commits

Author SHA1 Message Date
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
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
Seth Vargo 205af6ba75 Upgrade Ruby 2015-04-26 15:35:52 -04:00
Seth Vargo ffb4cb25a4 Update middleman-hashicorp 2015-04-26 15:29:48 -04: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
Ryan Breen dc764fee91 Website: cleanup for docs/internals/index.html. 2015-03-21 21:52:26 -04:00
Armon Dadgar d0869e9963 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 f935a8a506 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 ded8f27751 Update downloads_tools.html.erb
Fix typo
2015-03-20 17:46:13 +03:00
Ryan Breen c6d45430f1 Website: change order of UIs listed in intro/getting-started/ui.html. 2015-03-19 19:27:30 -04:00
Ryan Breen e8db920ca6 Merge branch 'master' of github.com:hashicorp/consul 2015-03-19 19:22:09 -04:00
Ryan Breen 89b51c7f3c Website: GH-730 and cleanup for intro/getting-started/ui.html. 2015-03-19 19:22:05 -04:00
tummychow 81545e9499 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 8ca790e7ad Website: cleanup for node reaping detail in the FAQ. 2015-03-18 17:27:30 -04:00
Ryan Breen 8ccc23beff Website: add node reaping detail to the FAQ. 2015-03-18 12:56:12 -04:00
Ryan Breen 823b707011 Website: cleanup for intro/getting-started/kv.html. 2015-03-18 10:49:41 -04:00
Ryan Breen 8920da59ee Website: cleanup for intro/getting-started/checks.html. 2015-03-17 17:50:28 -04:00
Ryan Breen 89fd92a8ff Website: a few additional tweaks to intro/getting-started/join.html. 2015-03-14 14:21:54 -04:00
Ryan Breen ce7dbc345b Website: substantial rewrite of intro/getting-started/join.html. 2015-03-14 14:13:41 -04:00
Ryan Breen d969655cfa Website: GH-730 and cleanup for intro/getting-started/services.html 2015-03-13 14:56:58 -04:00
Ryan Breen f4ddec7521 Website: cleanup for intro/vs/zookeeper.html. 2015-03-12 15:50:13 -04:00
Ryan Breen f852aba32b Website: cleanup for intro/vs/smartstack.html. 2015-03-11 18:07:39 -04:00
Ryan Breen 8cc24e4cb2 Website: cleanup for intro/vs/skydns 2015-03-10 18:38:15 -04:00
Armon Dadgar b531d8f07b website: Adding some SDK links 2015-03-10 10:47:58 -07:00
Kevin Fishner 3a0b933ff7 fix utm param 2015-03-09 15:20:18 -07:00
Armon Dadgar 51e9205d62 website: Clarify consistency in FAQ 2015-03-09 11:46:59 -07:00
Armon Dadgar 8f81051a4c website: Formating fix 2015-03-09 10:10:22 -07:00
Armon Dadgar b51b463f09 website: Update FAQ about UDP multicast 2015-03-09 10:01:50 -07:00
Ryan Breen 0c3825dda8 Website: cleanup for intro/vs/serf.html 2015-03-09 00:11:11 -04:00
Ryan Breen 9aad7c14fb Website: clean up intro/vs/nagios-sensu.html. 2015-03-08 11:19:26 -04:00