Commit Graph

635 Commits

Author SHA1 Message Date
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 1ff4357cc5 Updates the version specific instructions for 0.6.0. 2015-12-02 10:32:00 -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
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