Commit Graph

826 Commits

Author SHA1 Message Date
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
James Phillips c2fab40aee Fixes a typo. 2015-10-30 23:50:11 -07: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
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 3500c4781a Gets rid of LMDB reference in the FAQ. 2015-10-20 13:39:11 -07: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 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
Jeff Wang 75c21693a8 Make service lookup DNS documentation consistent 2015-09-23 23:16:34 -07:00
Jeff Wang ac5af9bcbc Make node lookup DNS documentation consistent 2015-09-23 23:09:52 -07:00
James Phillips b25797a808 Merge pull request #1187 from sfncook/enable_tag_drift_03
Enable tag drift 03
2015-09-11 15:35:32 -07:00
Shawn Cook 451abfa206 Doc changes in response to review. 2015-09-11 15:26:30 -07:00
Shawn Cook 7d6f30da1c Docs - add verbage to anti-entropy page. 2015-09-11 14:27:54 -07:00
Anthony Scalisi 8d733b7fca remove various typos 2015-09-11 12:29:54 -07:00
Shawn Cook 7c85d588d5 Update documentation for service definition 2015-09-11 09:32:54 -07:00
James Phillips c601f64c3f Fixes a typo in the telemetry docs. 2015-09-02 21:37:31 -07:00
Ryan Breen a013095f62 Merge pull request #1167 from railsguru/master
Add -http-port option to change the HTTP API port
2015-09-02 01:15:55 -04:00
Andy Lo-A-Foe 46e614ae70 Position it alphabetically 2015-09-02 06:28:55 +02:00
Andy Lo-A-Foe e9ee1f9bea Update agent options section on the website 2015-09-02 05:36:09 +02:00
James Phillips 0f49e1c3a9 Merge pull request #1200 from ryotarai/lock-pass-stdin
command/lock: Pass stdin to child process when -pass-stdin passed.
2015-08-31 21:14:45 -07:00
Ryota Arai 50914e2388 website: description of -pass-stdin option 2015-09-01 11:00:26 +09:00
Ryan Breen 2ee887ecc3 Cleanup for guides/forwarding.html 2015-08-30 12:01:49 -04:00
Marc Tamsky baede06a9e Explain 'recursors' behavior with an example. 2015-08-28 18:27:26 -07:00
Marc Tamsky 76aa082d5b add dnsmasq example, add pointer to 'recursors' 2015-08-28 18:10:37 -07:00
Ryan Uber 10c38f8c3a website: document precedence of Atlas endpoint inputs 2015-08-27 17:54:56 -07:00
Ryan Uber d9210f4a0c website: document atlas endpoint config 2015-08-27 11:31:29 -07:00
Ryan Uber aa30194328 Merge pull request #1199 from hashicorp/f-scada-reload
SCADA client is reload-able
2015-08-26 11:46:50 -07:00
Ryan Uber e533789088 website: add atlas token/infra to reloadable config 2015-08-25 17:21:29 -07:00
James Phillips 89d03026bc Clarifies services docs a bit. 2015-08-25 16:12:19 -07:00
James Phillips c6b4ba12a7 Fixes a typo in the event docs, and twiddles the formatting. 2015-08-13 17:26:41 -07:00
Cameron Stokes 92b86f0631 Added detail about left/failed nodes and 72h reaping
Ref: https://groups.google.com/forum/#!searchin/consul-tool/left/consul-tool/KVl0u91uCdw/bfzrUO4r-1QJ
2015-08-06 17:37:48 -07:00
Jack Pearkes 49181fce76 website: fix broken link on acl page 2015-07-31 12:14:28 -07:00
Armon Dadgar 2017c95d13 Merge pull request #1130 from pdf/check_socket
Add Socket check type
2015-07-27 14:21:24 -07:00
Peter Fern 403b42af99 Document `TCP` check type 2015-07-27 10:53:52 +10:00
Ryan Uber d7f76702fe website: docs for keyring ACLs 2015-07-07 11:45:49 -06:00
Ryan Uber 503fa1eed1 Merge pull request #1046 from hashicorp/f-event-acl
Event ACLs
2015-07-02 07:02:07 -07:00
ketzacoatl efc2d316c1 Minor improvement to `acl_master_token` docs
Confirm the expected format, and what happens if not provided.
2015-07-01 15:34:35 -04:00
Ryan Uber cb0043e8f8 website: adding tag/service name dns compliance docs 2015-06-25 09:08:38 -07:00
Ryan Uber 715f69cce8 Merge pull request #1004 from i0rek/advertise_addrs
Add advertise_addrs.
2015-06-23 12:32:07 -07:00
Hans Hasselberg 4598087df3 Implement advertise_addrs for SerfLan, SerfWan and RPC.
Fixes #550.
This will make it possible to configure the advertised adresses for
SerfLan, SerfWan and RPC. It will enable multiple consul clients on a
single host which is very useful in a container environment.

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

It will be configureable with advertise_addrs. Example:

{
  "advertise_addrs": {
    "serf_lan": "10.0.120.91:4424",
    "serf_wan": "201.20.10.61:4423",
    "rpc": "10.20.10.61:4424"
  }
}
2015-06-23 21:23:45 +02:00
Ryan Uber d893a60534 website: document -token parameter for exec/event commands 2015-06-22 17:19:07 -07:00
Ryan Uber d529329944 website: link to check pass/fail endpoint docs from checks page 2015-06-22 10:21:50 -07:00
Ryan Uber 457cff1007 website: fix event acl policy docs 2015-06-19 12:18:09 -07:00
Ryan Uber e0ce6059f6 website: add docs for user event acls 2015-06-18 18:13:29 -07:00
Ryan Uber 9de7d95109 website: fix mention of read-only policy for service acls 2015-06-18 18:13:01 -07:00
Ryan Uber faab022f89 website: document passing ACL tokens in catalog register/deregister 2015-06-15 11:45:30 -07:00
Christian Theune cdc00dc606 Wording. 2015-06-12 16:09:44 +02:00
Christian Theune 1bac706593 Make behaviour of keyprefixes always matching all keys in a prefix more clear. 2015-06-12 16:07:42 +02:00
Ryan Uber a8b5b980e8 website: add a note in the upgrade notes for 0.6 discovery ACLs 2015-06-11 17:48:08 -07:00
Ryan Uber 62a8d82f9f website: add note about anonymous token and discovery ACLs 2015-06-11 17:39:01 -07:00
Ryan Uber c09dfe05a7 website: document service discovery ACLs 2015-06-11 14:45:52 -07:00
Ryan Uber cf21fb1d0c website: document TTL check persistence 2015-06-05 17:15:57 -07:00
siddharthist be68db0136 Clarify how intervals are parsed
Current docs only show second intervals and do not specify
other valid options, this commit specifically outlines how the times are
parsed.
2015-06-03 12:53:09 -05:00
Andrew Ortman b8fad5c0ad Update upgrade instructions for 0.5.2
The docs were confusing as to whether or not 0.5.2 includes the migration tool, which it does. This edit should make it more clear for the end user
2015-06-02 13:02:35 -05:00
Clint Shryock 9d6af83fa4 fix typo 2015-06-01 08:34:54 -05:00
Ryan Uber b6e31a2e6f website: add status field for check registration in http docs 2015-05-28 13:09:33 -07:00
Ryan Uber 90f8c91761 website: document setting initial status of health checks in config 2015-05-28 13:03:01 -07:00
Ryan Uber b6151768dd website: be explicit about grace period in lock command 2015-05-28 12:24:32 -07:00
Armon Dadgar 2c9592c5ee consul: lower default query time and add small stagger 2015-05-14 17:59:43 -07:00
Colin Rymer 6e1e85036f Typo fix 2015-05-12 15:54:32 -04:00
Armon Dadgar 97c87f4e4d website: document the new TLS changes 2015-05-11 16:22:10 -07:00
Cameron Ruatta dfbd466c71 Adding docs about configuration directory sub-directories 2015-05-11 10:36:50 -07:00
Cameron Ruatta 0b9bc7d2f5 Adding documentation about specifying multiple configuration directories 2015-05-11 10:19:04 -07:00
Ryan Uber b082d2f529 website: link and formatting adjustments for configtest command 2015-05-11 09:42:06 -07:00
Ryan Uber 27a4dc868c Merge pull request #904 from josephholsten/configtest-clean
add minimal configtest command
2015-05-11 09:01:54 -07:00
Joseph Anthony Pasquale Holsten ae3e8d24c4 command/configtest: add 2015-05-08 13:09:50 -07:00
Ryan Uber 5d94a6bb7d website: Document peers api consistency. Fixes #880 2015-05-06 12:13:28 -07:00
Armon Dadgar dd17147deb website: Update ACL description to longest-prefix 2015-05-06 12:04:40 -07:00
Armon Dadgar e474e34528 Merge pull request #909 from hashicorp/f-create
Support ACL upsert behavior
2015-05-06 11:22:11 -07:00
Ryan Uber 9acc42b86e Merge pull request #891 from hashicorp/f-token
ACL tokens for service/check registration
2015-05-05 22:17:31 -07:00
Armon Dadgar 0473b40df2 website: Document new ACL upsert behavior 2015-05-05 19:25:27 -07:00
Armon Dadgar efaed93b91 Merge pull request #816 from pepov/master
Support different advertise address for WAN gossip
2015-05-04 15:40:25 -07:00
Armon Dadgar bcaca06650 Merge pull request #902 from hashicorp/f-stats-prefix
Allow configuring the stats prefix
2015-05-04 15:19:47 -07:00
Armon Dadgar 1b121b703c website: FAQ for delta updates 2015-05-04 14:23:33 -07:00
Ryan Uber 8ae6790b33 website: document statsite_prefix option 2015-05-03 16:54:19 -07:00
Ryan Uber af74095584 website: document service and check acl options 2015-04-28 14:28:06 -07:00
Ivan Evtuhovich 679ae264d1 Fix disambiguty
When i look how to start server, a read "simply start new server with the -server flag" and understand nothing. I think "agent" is a correct word here.
2015-04-26 19:34:34 +03:00
Vasily Vasilkov a7efaf061c Fix invalid link to sessions page 2015-04-22 12:40:27 +03:00
Cameron Ruatta b637683ffa Caps not necessary here 2015-04-20 20:59:45 -07:00
Cameron Ruatta a9761dca33 Updating the docs to include information about registering a check with
a serviceid.
2015-04-20 20:56:26 -07:00
Ryan Breen 1ac70f6179 Website: minor fix for docs/agent/http/agent.html. 2015-04-17 11:43:02 -04:00
Ryan Breen f6d38ef6e5 Website: cleanup for docs/internals/sessions.html. 2015-04-15 14:47:15 -04:00
Ryan Breen 65daaf8c03 Website: cleanup for docs/internals/security.html. 2015-04-13 18:17:29 -04:00
Ryan Breen a6befa8ef0 Website: minor tweaks for docs/internals/jepsen.html. 2015-04-12 22:44:57 -04:00
Ryan Breen f772412b92 Website: fix caps issue in docs/internals/consensus.html. 2015-04-11 18:32:15 -04:00
Ryan Breen b22b821cad Website: revert link to securing Consul doc since it's not ready yet. 2015-04-11 11:43:00 -04:00
Ryan Breen db65ebb631 Website: minor additional tweaks for docs/internals/consensus.html. 2015-04-11 11:41:55 -04:00
Ryan Breen da1c476343 Website: cleanup for docs/internals/consensus.html, including removing LMDB references in favor of BoltDB per GH-857. 2015-04-10 23:06:28 -04:00
Ryan Uber 8ebee678cc Merge pull request #857 from hashicorp/f-boltdb
Raft uses BoltDB
2015-04-10 18:30:07 -07:00
Ryan Uber e0febab79f website: add example cli output from migration 2015-04-10 18:24:09 -07:00
Ryan Uber db48e1450a website: add mention of consul-migrate 2015-04-10 17:52:49 -07:00
Armon Dadgar f12abbe51f Merge pull request #844 from mkostrikin/patch-1
Small tip for gracefull kill
2015-04-10 10:43:09 -07:00
Ryan Uber b18d75120c website: fix typo 2015-04-08 09:59:23 -07:00
Maxim N. Kostrikin 1bf9ece0b9 Small tip for gracefull kill 2015-04-07 13:15:48 +05:00
Ryan Breen a817a398dc Website: GH-831, mention that https port must be specified to start an https listener. 2015-04-03 22:12:00 -04:00
Ryan Breen 70a71b9454 Website: GH-826 fix anchor links in /docs/agent/watches.html. 2015-03-31 17:22:50 -04:00
Ryan Breen 47c52a62d4 Website: tweaks to docs/internals/architecture.html. 2015-03-30 18:07:58 -04:00
Ryan Breen 4d4c631fd6 Website: very minor tweaks to docs/internals/anti-entropy.html. 2015-03-29 10:53:49 -04:00
Ryan Breen 746e1fc9e4 Website: more cleanup for docs/internals/acl.html. 2015-03-28 11:54:16 -04:00
Ryan Breen 9d71844965 Website: GH-781 and cleanup for docs/internals/acl.html. 2015-03-28 11:26:26 -04:00
pepov 14c8c86fee update the docs: add advertise-wan cli and advertise_addr_wan json config 2015-03-28 16:08:20 +01:00
Silas Sewell 40a6191720 Fix create session link in semaphore guide 2015-03-28 10:39:53 -04:00
Ryan Uber 57da15e049 website: document minimum session TTL setting 2015-03-27 11:34:27 -07:00
Ryan Breen fa233675b9 Website: GH-730 for docs/guides/manual-bootstrap.html. 2015-03-27 13:20:32 -04:00
Ryan Breen 60e89f0a75 Website: GH-730 for docs/agent/watches.html. 2015-03-26 14:18:51 -04:00
Ryan Breen d43b42ab70 Website: GH-730 for docs/agent/telemetry.html. 2015-03-25 08:56:40 -04:00
Ryan Breen 240b354594 Website: GH-730 for docs/agent/encryption.html 2015-03-24 15:30:35 -04:00
Ryan Breen 2d15f2f0f4 Website: GH-730 for docs/agent/dns.html. 2015-03-23 15:48:35 -04:00
Ryan Breen 8f4ad0bbf9 Website: GH-730 for docs/internals/acl.html. 2015-03-22 11:44:16 -04:00
Ryan Breen 15f2afe92f Website: cleanup for docs/internals/index.html. 2015-03-21 21:52:26 -04:00
Johannes 'fish' Ziemke 78cde71a22 Add -domain command line flag to agent
This makes it possible to configure the domain on the command line
additionally to the config file.
2015-03-20 16:05:41 +01:00
tummychow e83598b043 Add doc notes for HTTPS API
- the HTTPS API address can be configured just like any other address
- the verify_incoming setting also applies to the HTTPS API
2015-03-18 16:08:41 -07:00
Ryan Breen ab11ce6f30 Website: cleanup for node reaping detail in the FAQ. 2015-03-18 17:27:30 -04:00
Ryan Breen aaf0ef78f4 Website: add node reaping detail to the FAQ. 2015-03-18 12:56:12 -04:00
Ryan Breen ca7cd6496a Website: cleanup for intro/getting-started/checks.html. 2015-03-17 17:50:28 -04:00
Armon Dadgar cb47491d40 website: Clarify consistency in FAQ 2015-03-09 11:46:59 -07:00
Armon Dadgar eebf22b86a website: Formating fix 2015-03-09 10:10:22 -07:00
Armon Dadgar 8ba8aca1e1 website: Update FAQ about UDP multicast 2015-03-09 10:01:50 -07:00
Bob Potter 23cef6202e website: default health check is 'serfHealth' 2015-03-05 17:38:28 -08:00
Ryan Breen 288cb464a8 Website: cleanup for docs/faq.html. 2015-03-05 17:56:41 -05:00
Kevin Fishner 48458cb8a4 fix utm typo 2015-03-04 19:04:57 -08:00
Kevin Fishner a87a7920cd explain how consul and atlas work together 2015-03-04 16:12:14 -08:00
Ryan Breen b3f2bbe753 Website: GH-751 Link to anti-entropy doc everywhere that the term is used. 2015-03-04 10:22:53 -05:00
Ryan Uber 8dd9061956 website: fix typo in anti-entropy docs 2015-03-03 16:35:27 -08:00
Ryan Uber 6325442f93 Merge pull request #751 from hashicorp/f-ae-doc
Document anti-entropy internals
2015-03-03 16:34:00 -08:00
Ryan Uber 3e48f8c969 website: adjustments to anti-entropy docs 2015-03-03 16:32:17 -08:00
Ryan Uber 7f40698666 website: first pass at anti-entropy docs 2015-03-03 14:13:59 -08:00
Ryan Breen ad7d1b3090 Website: GH-747 change acl_master token to acl_master_token 2015-03-03 11:46:57 -05:00
Ryan Breen ce93505a16 Website: GH-747 Add docs on acl_master_token installation. 2015-03-03 11:33:49 -05:00
highlyunavailable 61d262683d Add information about Negative Response Caching
Fixes #743
2015-03-02 07:04:44 -08:00
Ryan Breen 2ce1191ef3 Website: remove confusing language from docs/guides/outage.html 2015-03-01 19:15:49 -05:00
Ryan Breen 9910c7d7bd Website: rework docs/guides/outage.html to cover cases where recovery might be easier than manual removal of failed nodes from peers.json. 2015-03-01 18:21:33 -05:00
Ryan Breen 3585ac6684 Website: GH-730 and cleanup for docs/guides/semaphore.html 2015-03-01 00:18:21 -05:00
Ryan Breen 57d56ac8ce Website: GH-730 and cleanup for docs/guides/outage.html 2015-02-28 23:36:25 -05:00
Ryan Breen e728e501f6 Website: GH-730 and cleanup for docs/guides/datacenters.html 2015-02-28 22:20:02 -05:00
Ryan Breen d0dd4b689d Website: GH-730 and cleanup for docs/guides/leader-election.html. 2015-02-28 00:08:41 -05:00
Ryan Breen 5f8de1cce3 Website: Cleanup for docs/guides/external.html. 2015-02-27 19:00:13 -05:00
Ryan Breen 1941580e6a Website: cleanup for docs/guides/forwarding.html. 2015-02-26 13:34:45 -05:00
Ryan Breen 4289700607 Website: GH-730 links and clean-up for /docs/guides/dns-cache.html 2015-02-25 10:45:21 -05:00
Ryan Breen 24a00ca9e9 Website: GH-730 links for /docs/guides/atlas.html 2015-02-24 22:38:25 -05:00
Seth Vargo e612549d45 Be consistent in docs about Consul Replicate vs consul-replicate 2015-02-24 20:29:41 -05:00
Ryan Breen 87fccbc40c Website: Add links to options and commands referenced in docs/agent/basics.html and docs/guide/bootstrapping.html. 2015-02-24 14:11:11 -05:00
Ryan Breen 559084724a Manually specify anchors for each LI in options.html. This is necessary because the middleman-hashicorp logic only inserts anchors if the body of the LI contains no links. For consistent presentation, we need to specify all anchors rather than relying on middleman. 2015-02-24 12:30:17 -05:00
Ryan Breen d205512336 Website: /docs/agent/options Fix internal links in options.html to match the anchors created by middleman-hashicorp. 2015-02-23 15:34:46 -05:00
Ryan Breen 3f17f30691 Merge branch 'master' of github.com:hashicorp/consul 2015-02-23 14:45:00 -05:00
Ryan Breen 8ff0368aa4 Website: docs/agent/options.html Fix config-file reference. 2015-02-23 14:44:31 -05:00
Ryan Uber bb85d6f331 website: document -recursor arg for agent cli 2015-02-23 10:43:15 -08:00
Ryan Breen 69cc331a52 Website: Cleanup for docs/guides/bootstrapping 2015-02-22 23:19:11 -05:00
Ryan Breen 29e09ac184 Website: cleanup for docs/guides/atlas. 2015-02-21 17:39:52 -05:00
Ryan Breen 53afd77e2d s/data center/datacenter/g 2015-02-19 17:45:47 -05:00
Armon Dadgar ab18b0fc32 website: Upgrading 0.5 docs 2015-02-19 11:03:02 -08:00
Armon Dadgar 65d4944dc4 website: Added missing link 2015-02-19 10:46:13 -08:00
Armon Dadgar bdfc691102 website: FAQ cleanup 2015-02-18 15:15:01 -08:00
Armon Dadgar 52bdbdade9 website: Adding Atlas docs 2015-02-18 15:15:01 -08:00
Armon Dadgar 441b940280 website: Document new options 2015-02-18 15:15:01 -08:00
Ryan Breen c0f9587c62 Website: clean up docs/compatibility. 2015-02-17 14:29:00 -05:00
Ryan Breen e13bc41d3f Website: add some missing intra-page links in docs/agent/options 2015-02-16 20:51:04 -05:00
Ryan Breen 45a9c231be Website: clean up a few intra-page links in docs/agent/options 2015-02-16 20:42:21 -05:00
Ryan Breen 61f1955c31 Website: add intra-page links in docs/agent/options 2015-02-16 19:48:49 -05:00
Ryan Breen 5634061a9f Website: finalize edits for configuration file options in docs/agent/options. 2015-02-15 00:47:52 -05:00
Ryan Breen 9912be7e5f Website: edits for configuration file options in docs/agent/options. 2015-02-15 00:43:01 -05:00
Armon Dadgar 65bdd83187 Merge pull request #695 from ryanbreen/session
Website: cleanup for docs/agent/http/session
2015-02-13 17:21:24 -08:00
Ryan Breen 5cfed30179 Website: tweak cleanup for the docs/agent/options Command-line options section. 2015-02-13 15:19:17 -05:00
Ryan Breen f234f1af67 Website: cleanup for the docs/agent/options Command-line options section. 2015-02-13 14:58:05 -05:00
Ryan Breen 48d5f49cf8 Remove language about LockDelay parsing. 2015-02-12 20:34:40 -05:00
Armon Dadgar 8cc1ba30c3 Merge pull request #696 from michaeltchapman/watchcommand
website: Fix list of types available to watch
2015-02-12 17:04:06 -08:00
Armon Dadgar 9ec38a1fb9 Merge pull request #692 from ryanbreen/kv
Website: cleanup of docs/agent/http/kv
2015-02-12 16:53:49 -08:00
Michael Chapman 20826efaa2 website: Fix list of types available to watch
The list of types erroneously had services listed twice in place
of 'service' and 'services'
2015-02-13 11:20:26 +11:00
Ryan Breen 443cf2dd74 More cleanup for docs/agent/http/session. 2015-02-12 15:15:53 -05:00
Ryan Breen 4d60fa08dc Website: cleanup for docs/agent/http/session. 2015-02-12 14:50:54 -05:00
Ryan Breen bec260c9ba Website: finalize cleanup of docs/agent/http/kv 2015-02-11 23:44:10 -05:00
Ryan Breen 8c85a4e981 Website: cleanup of docs/agent/http/kv 2015-02-11 21:54:03 -05:00
Ryan Breen 9e527ee4b1 Website: finalize cleanup for docs/agent/http/health. 2015-02-10 15:52:22 -05:00
Ryan Breen 8ce89d87ce Website: cleanup for docs/agent/http/health. 2015-02-10 15:49:21 -05:00
Armon Dadgar 07618766a8 Merge pull request #678 from ryanbreen/agent
Cleanup for docs/agent/http/agent.
2015-02-09 09:54:53 -08:00
Armon Dadgar 98b09d025c Merge pull request #681 from ryanbreen/catalog
Website: cleanup of docs/agent/http/catalog
2015-02-09 09:53:57 -08:00
Ryan Breen 04b500b550 Website: cleanup for docs/agent/http/event. 2015-02-09 11:24:23 -05:00
Ryan Breen 3cf7b5c831 Website: finalize cleanup of docs/agent/http/catalog. 2015-02-08 12:49:02 -05:00
Ryan Breen eccd96dfaa Website: edits for docs/agent/http/catalog. 2015-02-08 12:44:36 -05:00
Ryan Breen f0bb4b4e31 Finalize cleanup of docs/agent/http/agent. 2015-02-07 17:43:43 -05:00
Ryan Breen 5e8076f156 Cleanup for docs/agent/http/agent. 2015-02-07 17:36:10 -05:00
Ryan Breen 0d5e9f1b7f Fixes for docs/agent/http/status 2015-02-06 13:47:32 -05:00
Ryan Uber 8a4f0dd179 website: document http check timeout configuration 2015-02-05 23:30:08 -08:00
Armon Dadgar cc10bf52a9 Merge pull request #673 from ryanbreen/watches
Very minor tweaks to docs/agent/watches
2015-02-05 09:43:54 -08:00
Ryan Breen 518743c4e6 Finalize cleanups for docs/agent/http/acl. 2015-02-05 12:02:03 -05:00
Ryan Breen b765653a27 Cleanups for docs/agent/http/acl. 2015-02-05 11:52:29 -05:00
Ryan Breen 9402dc72bb Pare off unnecessary space. 2015-02-04 22:28:10 -05:00
Ryan Breen fd90c90113 Minor fixes for docs/agent/watches. 2015-02-04 22:25:29 -05:00
Ryan Breen 5b693d86a9 Finalize telemetry docs edits. 2015-02-04 14:07:33 -05:00
Ryan Breen f647483035 Cleanup docs/agent/telemetry 2015-02-04 00:10:25 -05:00
Ryan Breen 1cde7948fa Cleanup docs/agent/rpc 2015-02-03 17:20:50 -05:00
Ryan Breen 57a5181c4d Cleanup docs/agent/rpc 2015-02-03 17:07:03 -05:00
Ryan Breen 2795b1054a Some further cleanups to the root http doc. 2015-02-02 00:14:16 -05:00
Ryan Breen 1fee083009 Begin editing the docs/agent/http. 2015-02-01 17:42:02 -05:00
Ryan Breen 658fe440e2 Final edits to encryption doc. 2015-01-31 22:05:00 -05:00
Ryan Breen e09b6f4abc Final edits to encryption doc. 2015-01-31 22:01:33 -05:00
Ryan Breen cd5fc328fa Final edits to encryption doc. 2015-01-31 21:59:59 -05:00
Ryan Breen e4f792bbbf Tighten up TLS setting language a bit. 2015-01-31 18:59:11 -05:00
Ryan Breen 144096225d Tighten up TLS mode language a bit. 2015-01-31 18:55:58 -05:00
Ryan Breen 2063a412ad Substantial and potentially inaccurate rewrite to docs/agent/encryption. 2015-01-31 18:33:29 -05:00
Ryan Breen 07bb5ea4ac Clean up double 'is'. 2015-01-31 13:36:31 -05:00
Ryan Breen 0df468170e Final tweaks to DNS doc. 2015-01-31 13:17:43 -05:00
Ryan Breen 7396677907 More heavy-handed reorg of content for flow. 2015-01-31 13:07:21 -05:00
Ryan Breen 01e2895573 Restructure opening paragraphs to have better flow. 2015-01-31 13:01:00 -05:00
Ryan Breen 2c22cef5cc Finish first pass of DNS updates. 2015-01-31 12:59:03 -05:00
Ryan Breen 81528d772b Update docs for standard DNS queries. 2015-01-31 12:51:28 -05:00
Ryan Breen b63c42e90b Minor cleanups to docs/agent/dns. 2015-01-30 23:32:57 -05:00
Ryan Breen b953d37df5 Make capitalization of agent more consistent. 2015-01-30 14:49:58 -05:00
Ryan Breen 1d11a7355e Minor cleanups to docs/agent/basics. 2015-01-30 14:48:20 -05:00
Ryan Breen 56f2807822 A bit more language cleanup to checks. 2015-01-29 17:17:02 -05:00
Ryan Breen c82cc407d9 No need to confine the example to a web app. 2015-01-29 17:14:19 -05:00
Ryan Breen 618ff00714 Some reorg of the TTL description. 2015-01-29 17:12:20 -05:00
Ryan Breen 64f8665a5d Make it clear that checks persist with the node, period, not just across runs of the agent but across reboots as well. 2015-01-29 17:10:15 -05:00
Ryan Breen 3fb6a60d84 Add a bit more detail around checks and clarify some language. 2015-01-29 17:08:56 -05:00
Ryan Breen 6d8f46188d Language touch-ups for the checks docs. 2015-01-29 16:45:19 -05:00
Ryan Breen 14a8d4049b Move the note about checks to its own line. 2015-01-28 19:46:28 -05:00
Ryan Breen 1d35ae1223 Grammatical cleanup in services.html. 2015-01-28 19:43:52 -05:00
Armon Dadgar 266fd248cb Clarify the compatibility 2015-01-25 13:59:37 -08:00
Emil Hessman 2a80aacb86 docs: describe child process handling on Windows for lock command
Add website documentation for how the lock command handles child
process termination on Windows.
2015-01-25 11:42:29 +01:00
Emil Hessman 9be514e747 website: fix minor typos in docs 2015-01-23 22:11:15 +01:00
Armon Dadgar e5e519df4b Merge pull request #625 from hashicorp/f-maintcmd
New "maint" command
2015-01-22 11:56:49 -08:00
Ryan Uber 361b3109c2 website: update maint command documentation for list mode 2015-01-22 10:34:14 -08:00
Armon Dadgar 99671ba0d7 website: Cleanup the 'lock' documentation 2015-01-21 17:35:06 -08:00
Armon Dadgar 14d55cb40a Merge pull request #622 from hashicorp/f-sockets
Unix domain sockets
2015-01-21 16:30:03 -08:00
Ryan Uber e416d6dbd3 website: document reason flag for http api 2015-01-21 14:33:01 -08:00
Ryan Uber 61322641ea website: document maint command 2015-01-21 14:07:54 -08:00
Ryan Uber f1092f4b3f website: update maintenance mode endpoint 2015-01-21 11:15:15 -08:00
Ryan Uber ad16e4aacb website: fix health endpoint page 2015-01-20 22:50:33 -08:00
Ryan Uber f37a67e04c website: move content from monolithic http page 2015-01-20 22:50:30 -08:00
Ryan Uber e1023c7773 website: separate pages for top-level endpoints 2015-01-20 22:49:41 -08:00
Ryan Uber 65b41b9236 website: beginning http docs update 2015-01-20 22:49:41 -08:00
Ryan Uber 27de0adf3b agent: support multiple checks per service 2015-01-20 21:48:42 -08:00
Ryan Uber c61aa2e56c website: add notice about socket permission portability 2015-01-20 19:16:17 -08:00
Ryan Uber 6b554f5370 website: document unix_sockets config 2015-01-20 16:29:22 -08:00
Armon Dadgar a9819e71a8 Fixing merge conflict 2015-01-20 13:01:13 -08:00
Armon Dadgar b92b09cd19 website: Document the lock command 2015-01-19 16:43:38 -10:00
Armon Dadgar 8698d9bdb3 website: Document a distributed semaphore 2015-01-19 16:43:24 -10:00
Ryan Uber 106a54313b website: document node maintenance mode 2015-01-16 15:38:13 -08:00
Ryan Uber 3b815cd0aa agent: maintenance mode api's are idempotent 2015-01-16 15:37:52 -08:00
Ryan Uber 3dba905ce4 website: document service maintenance endpoint 2015-01-16 15:37:52 -08:00
Ryan Uber 8ded1063db website: update docs for agent socket options 2015-01-16 13:06:49 -08:00
Ryan Uber 61d2f71d14 agent: only ignore errors on IsNotExist() 2015-01-16 09:14:52 -08:00
Jeff Mitchell 9777ac55e6 Update option text to describe how to use Unix listening sockets. 2015-01-14 20:22:59 +00:00
Armon Dadgar d80588f780 Merge pull request #592 from nicholascapo/check-http
command/agent: Add simple HTTP check type
2015-01-13 12:11:50 -08:00
Nicholas Capo e9fb85d675 Update HTTP Check documentation: 503 -> 429 2015-01-13 00:10:05 +00:00
Evan Broder b5e1de165b Add "only_passing" option to DNS config
This excludes nodes from DNS results if their healthchecks are in any
non-passing state, not just if they're critical.
2015-01-10 13:17:11 +01:00
Nicholas Capo f2649edcfc command/agent: Add simple HTTP check type
These checks make an `HTTP GET` request every Interval to the specified URL.
The status of the service depends on the HTTP Response Code.
`200` is passing, `503` is warning and anything else is failing.
2015-01-09 16:43:24 -06:00
Emil Hessman 8c991c3632 website: omit excessive use of the word lastly
Simplify wording by removing various uses of the word lastly.
2015-01-09 06:37:26 +01:00
Emil Hessman acfc42c3db website: fix typo
s/patameters/parameters/
2015-01-09 05:59:06 +01:00
Armon Dadgar 8befdcbd93 website: Documenting ?cas with KV DELETE 2015-01-08 17:34:41 -08:00
Armon Dadgar abbcecd1dd website: Updating the documentation 2015-01-08 12:08:29 -08:00
Armon Dadgar 95b3837b75 website: Document session behavior and TTL 2015-01-07 15:38:16 -08:00
Armon Dadgar b435a0c842 website: Update session API documentation 2015-01-07 15:19:27 -08:00
Armon Dadgar 9ba908eadc website: Link to consul-replicate. Fixes #439 2015-01-07 13:30:30 -08:00
Armon Dadgar 1088a5c170 Merge pull request #558 from ceh/http-api-response-headers
add ability to specify response headers on the HTTP API
2015-01-05 11:36:08 -08:00
Armon Dadgar a4b529107c Merge pull request #568 from justinclayton/patch-1
Update exec.html.markdown
2015-01-05 11:29:11 -08:00
Emil Hessman 4461c750bb website: fix typo, casing and links
Fix typo in Leader Election guide: s/blog/blob/

Also fix various casing issues and prefer HTTPS links
for HashiCorp projects.
2015-01-04 12:58:58 +01:00
Justin Clayton 419f287273 Update exec.html.markdown
fixing near-meaningless spelling and grammar typos ;-)
2015-01-02 10:30:11 -08:00
Armon Dadgar daae47fefc Merge pull request #556 from darron/master
Docs: It's not key - it's service.
2015-01-02 21:54:53 +05:30
Thordur Bjornsson cb32b82b37 Revert "correct the doc for obtaining formatted json"
This reverts commit cf3b9ec4fee09075481fd5c521dd6c4b8db58e91.
2015-01-02 08:00:09 +01:00
Emil Hessman db23a3f0e9 add ability to specify response headers on the HTTP API
Add an config object that allows adding HTTP header response fields to every
HTTP API response.

Each specified header is added to every response from all HTTP API endpoints.
Each individual endpoint may overwrite the specified header, which makes sure
that Consul headers such as 'X-Consul-Index' is enforced by the API.
2014-12-28 19:17:08 +01:00
darron froese ee834837b2 It's not key - it's service.
It's right in the description, but the example seems to be wrong.
2014-12-26 21:51:48 -08:00
lalyos 3823a931c6 Add default rpc address configuration option as CONSUL_RPC_ADDR env variable
Similar as in serf: https://github.com/hashicorp/serf/pull/210
2014-12-16 12:18:34 +01:00
Michael H. Oshita 8351121fde minor grammer fix 2014-12-11 19:02:29 +09:00
Lars Kellogg-Stedman 52df94e560 updates to leader election documentation
Clarify the steps involved in the leader election process.

- provide examples of creating a session
- provide links to appropriate documentation
2014-12-05 14:28:21 -05:00
Clint Shryock 693fa207c8 Small doc update for exec command
the documentation for -tag says it must be used with -service, but
example used is -server, which doesn't work.

This changes -server to -service.
2014-12-03 22:46:26 -06:00
Armon Dadgar d74f79b3fa consul: Enforce service registration ACLs 2014-11-30 21:05:15 -07:00
Armon Dadgar 376f9694f4 website: Update ACL docs 2014-11-30 20:12:44 -07:00
Dan Frost bd5467c593 docs: agent/watches: minor fixes 2014-11-26 13:48:33 +00:00
Dan Frost bfd6c8aac0 docs: agent/checks: minor fixes 2014-11-26 13:42:53 +00:00
Dan Frost f0a2fa325a docs: agent/dns: minor fixes 2014-11-26 13:33:55 +00:00
Dan Frost e1a0845f5a docs: agent/basics: minor fixes 2014-11-26 13:15:41 +00:00
Dan Frost 261c69c4ff docs: internals/security: minor fixes 2014-11-26 13:05:33 +00:00
Dan Frost 548f1a07ad docs: internals/acl: minor fixes 2014-11-26 12:57:15 +00:00
Dan Frost 2ad884abee docs: internals/sessions: minor fixes 2014-11-26 12:49:53 +00:00
Dan Frost dbb365baca docs: internals/architecture: minor fixes 2014-11-26 12:31:38 +00:00
Dan Frost 7ff0acfb65 docs: compatibility: minor fixes 2014-11-26 12:09:36 +00:00
Ryan Uber 58ba650cb0 website: Improve docs for reloading config. Fixes #407 2014-11-25 19:03:14 -08:00
Brandon Wilson 22ad8172b8 correct the doc for obtaining formatted json
was "?pretty" should be "?pretty=1"
2014-11-21 12:27:48 -08:00
Ryan Uber 196cbd27b2 agent: ignore -encrypt if provided when keyring exists 2014-11-19 16:37:40 -08:00
Ryan Uber 9217e371bc website: document new behavior of the -encrypt option 2014-11-19 16:36:01 -08:00
Ryan Uber c59107f08e command: remove -init argument from keyring, auto-persist keyrings when using agent -encrypt 2014-11-19 16:35:13 -08:00
Ryan Uber 08f1605159 website: clean up keyring command docs and add output examples 2014-11-19 16:34:18 -08:00
Ryan Uber 001a579d47 command/keyring: cleanup 2014-11-19 16:34:18 -08:00
Ryan Uber 1ec111bbfc consul: kill unused struct fields 2014-11-19 16:34:17 -08:00
Ryan Uber 03012e8ac6 command: allow wan ring to be modified separately from lan pools 2014-11-19 16:33:34 -08:00
Ryan Uber 9a7a7c10d4 website: documentation updates for keyring command 2014-11-19 16:32:06 -08:00
Ryan Uber bb06d5ccb8 website: remove keyring persistence options from agent page 2014-11-19 16:31:06 -08:00
Ryan Uber 8dc53447a3 command: renamed keys to keyring to disambiguate usage 2014-11-19 16:31:06 -08:00
Ryan Uber d8f513f6d6 website: update consul keys documentation 2014-11-19 16:30:22 -08:00
Ryan Uber c0f1b5f8c8 website: document keys command 2014-11-19 16:30:22 -08:00
Armon Dadgar dd41c69389 Merge pull request #478 from amalaviy/https
Added HTTPS support via a new HTTPS Port configuration option
2014-11-19 11:17:10 -08:00
Atin Malaviya 46178dbb37 Change names to StartJoinWan, RetryJoinWan etc 2014-11-17 17:14:59 -05:00
Atin Malaviya 59a68ecc26 Added HTTPS support via a new HTTPS Port configuration option similar to the HTTP Port. 2014-11-17 14:29:35 -05:00
Atin Malaviya df8d099f49 Add start-wan-join, retry-wan-join and related configuration options and commandline options 2014-11-14 10:56:39 -05:00
Laurent Raufaste bb7eb29ade Another typo 2014-11-13 17:44:20 -05:00
Laurent Raufaste dfc094a5d0 extra ' 2014-11-13 17:43:25 -05:00
Laurent Raufaste 19820d9794 Doc explaining the blacklist mode and consul exec 2014-11-13 17:42:39 -05:00
Ryan Uber c9de806ab9 website: better description of config merging in agent options. Closes #470 2014-11-13 12:04:09 -08:00
Grégoire Pineau 36c44d4386 [Doc] Added missing link to leader-election 2014-11-13 16:56:07 +01:00
Jamey Owens a0f954b0ae Typo fix for events command doc 2014-11-10 16:37:18 -05:00
Danny Berger 4347b9394d Fix some typos in website docs 2014-11-04 21:33:42 -07:00
Armon Dadgar 982b177e69 Support old recursor config for backwards compatibility 2014-11-03 11:28:21 -08:00
Armon Dadgar 2c16fec0cc Merge pull request #448 from foostan/multiple_recursor
Add multiple recursor definition support
2014-11-03 11:18:37 -08:00
foostan 4d8f1c2133 Add multiple recursor definition support 2014-11-01 04:26:26 +09:00
Laurent Raufaste 7d01816c1f Rephrase 2014-10-30 21:46:19 -04:00
Laurent Raufaste 7a2a01f9de ACL doc clarification
Fixes #443
2014-10-30 21:44:23 -04:00
Ryan Uber 2bf05057a4 Merge pull request #433 from hashicorp/f-multi-checks
agent: add support for multiple checks and config mixing
2014-10-27 11:58:36 -07:00
Ryan Uber c751a4ff5f website: fix JSON in multiple checks documentation 2014-10-27 11:58:01 -07:00
Seth Vargo e57ea7df78 Do not index "Jespen" code block
The word "Jespen" is one of our top keywords because it appears so many times
in the Jespen Testing page. This commit adds a comment to disable Google
indexing in that code block so we can better target keywords.
2014-10-26 22:34:14 -04:00
Ryan Uber 95fa599937 website: update docs for multiple checks in config 2014-10-26 13:25:48 -07:00
Alexander Simmerl ad4598959e Add multiple service definition support
This change-set adds another key to the configuration decoding called
`services`, which is expected to be a list of service definitions. It
follows the established convention of only allowing one of the keys:
`service`, `check`, `services`. For every entry in the list it calls
the corresponding decode method and appends it to the Servics of the
resulting Config.

While a similar result could be achieved with changing the Services
member of the Config struct to have named mapstruct tag it lacks the
proper time conversions provided by DecodeServiceDefinition.
2014-10-23 22:50:40 -04:00
Armon Dadgar df43c42c94 website: Fixing formatting 2014-10-23 17:14:40 -07:00
Armon Dadgar 2b2f9980fb Merge pull request #427 from blalor/agent_http_links
website: Improve navigability of agent HTTP API categories
2014-10-23 16:46:58 -07:00
Ryan Uber d83053e8ab website: document retry_join and retry_interval flags for config file 2014-10-23 16:40:49 -07:00
Laurent Raufaste 9df9eb0983 Small typo in the doc 2014-10-23 14:32:11 -04:00
Brian Lalor d2985d3c04 Add links for status endpoints 2014-10-23 07:59:58 -04:00
Brian Lalor 3082b3f95f Add links for event endpoints 2014-10-23 07:59:05 -04:00
Brian Lalor d45fdd15dd Add links for ACL endpoints 2014-10-23 07:57:55 -04:00
Brian Lalor 39e44c7968 Add links for session endpoints 2014-10-23 07:56:28 -04:00
Brian Lalor 9a29e1b60e Add links for health endpoints 2014-10-23 07:54:46 -04:00
Brian Lalor 4401fbf0e3 Add links for catalog endpoints 2014-10-23 07:53:11 -04:00
Brian Lalor 3ecb9ec8df Add links for agent endpoints 2014-10-23 07:50:54 -04:00
Brian Lalor 4ca29beec3 Improve navigability of agent HTTP API categories 2014-10-23 07:44:20 -04:00
Leo Cassarani d43a89fdd7 Fix spelling of "separator" in the HTTP API docs 2014-10-23 12:31:41 +01:00
Erik Dubbelboer 03e3599872 Fix small doc mistake 2014-10-20 06:26:38 +00:00
Seth Vargo e265ea050d Use new Markdown syntaxes and add SEO descriptions 2014-10-19 19:42:13 -04:00
Seth Vargo e90f3ce442 Use codeblocks for code 2014-10-19 19:41:11 -04:00