Jack Pearkes
1cf3b40472
website: set a default page description
...
This is related to the updated unfurling behavior, see
https://github.com/hashicorp/terraform-website/pull/242 .
2018-04-16 14:23:09 -07:00
Jack Pearkes
a8a056fd11
website: fix a broken link
2018-04-13 10:33:29 -07:00
Jack Pearkes
954d624103
website: bump version of middleman used in packer build
2018-04-13 10:29:50 -07:00
Kyle Havlovitz
2b44718d29
Update website to download version 1.0.7
2018-04-13 10:25:40 -07:00
Kyle Havlovitz
adb9e030ec
Update middleman docker image to 0.3.35
2018-04-13 09:22:12 -07:00
Jack Pearkes
f489385a96
update middleman-hashicorp to 0.3.35
2018-04-13 09:11:32 -07:00
Matt Keeler
d926679278
Merge pull request #4023 from hashicorp/f-near-ip
...
Add near=_ip support for prepared queries
2018-04-12 12:10:48 -04:00
Matt Keeler
0619efc254
GH-3798: More PR Updates
...
Update docs a little
Update/add tests. Make sure all the various ways of determining the source IP work
Update X-Forwarded-For header parsing. This can be a comma separated list with the first element being the original IP so we now handle csv data there.
Got rid of error return from sourceAddrFromRequest
2018-04-12 10:40:46 -04:00
Matt Keeler
cec8d5145b
GH-3798: A few more PR updates
2018-04-11 20:32:35 -04:00
Matt Keeler
d065d3a6db
GH-3798: Updates for PR
...
Allow DNS peer IP as the source IP.
Break early when the right node was found for executing the preapred query.
Update docs
2018-04-11 17:02:04 -04:00
Jack Pearkes
cc454356bf
Merge pull request #3950 from hashicorp/je.segment
...
Switch web analytics to segment
2018-04-11 11:13:15 -07:00
Matt Keeler
8830b1a9fa
GH-3798: Update prepared query documentation to mention the near=_ip param
2018-04-11 10:34:13 -04:00
Paul Banks
0d8993e338
Allow ignoring checks by ID when defining a PreparedQuery. Fixes #3727 .
2018-04-10 14:04:16 +01:00
Pierre Souchay
a680c8e91b
Clearer documentation and comments for enabling Prometheus support
2018-04-09 13:16:45 +02:00
Jeff Escalante
da1f3f6213
switch analytics from ga to segment
2018-04-06 18:08:00 -04:00
Jack Pearkes
464bad03cb
Merge pull request #4005 from hashicorp/og-image
...
website: use a smaller og image for unfurling / expansion behavior
2018-04-06 10:35:14 -07:00
Pierre Souchay
39bd2b78e6
Added documentation for telemetry{ prometheus_retention_time = duration }
2018-04-06 14:50:03 +02:00
Vyacheslav Karbovnichy
cfe17bf7e3
website: Add description what the "recent events" means
...
According to this answer on SO https://stackoverflow.com/a/49495985/1875339
that has references to code lines:
94835a2715/agent/agent.go (L221)
94835a2715/agent/user_event.go (L229)
94835a2715/agent/user_event.go (L235)
2018-04-02 14:57:04 +04:00
Jack Pearkes
ff13fdb328
website: use a smaller og image for unfurling / expansion behavior
...
Currently the large image can load in Slack (or other
clients that expand links) and dominate the viewport.
This is just following the pattern from a recent
change to the Terraform website in https://github.com/hashicorp/terraform-website/pull/214
2018-03-30 17:19:21 -07:00
Preetha
a67d27c756
Adds discovery_max_stale ( #4004 )
...
Adds a new option to allow service discovery endpoints to return stale results if configured at the agent level.
2018-03-30 10:14:44 -05:00
Preetha
1609b2c6b7
Merge pull request #3994 from hashicorp/f-rename-servicemeta
...
Renames agent API layer for service metadata to "meta" for consistency
2018-03-29 14:07:57 -05:00
Jack Pearkes
e65f66ac07
website: document and warn users about disabling serf_wan port
...
See https://github.com/hashicorp/consul/pull/3984 for more.
This also fixes a link to a heading that existed twice in the document.
2018-03-29 08:19:21 -07:00
Hannah Oppenheimer
b9a691b05f
Merge pull request #3991 from hashicorp/community-organization
...
Alphabetizing community tools list
2018-03-28 11:36:02 -05:00
Preetha Appan
c7581d68c6
Renames agent API layer for service metadata to "meta" for consistency
2018-03-28 09:04:50 -05:00
Preetha
daa61c5803
Merge pull request #3881 from pierresouchay/service_metadata
...
Feature Request: Support key-value attributes for services
2018-03-27 16:33:57 -05:00
Jack Pearkes
c862148ea2
Merge pull request #3927 from hashicorp/docs-encrypt-key-note
...
Docs: Clarify encrypt key for WAN joined DCs
2018-03-22 14:16:02 -07:00
Hannah Oppenheimer
996297033d
Alphabetizing community tools list
2018-03-22 12:36:42 -05:00
Jack Pearkes
559d35156a
Merge pull request #3929 from sryabkov/patch-1
...
Highlighting the dead link in documentation
2018-03-19 16:00:32 -07:00
Josh Soref
94835a2715
Spelling ( #3958 )
...
* spelling: another
* spelling: autopilot
* spelling: beginning
* spelling: circonus
* spelling: default
* spelling: definition
* spelling: distance
* spelling: encountered
* spelling: enterprise
* spelling: expands
* spelling: exits
* spelling: formatting
* spelling: health
* spelling: hierarchy
* spelling: imposed
* spelling: independence
* spelling: inspect
* spelling: last
* spelling: latest
* spelling: client
* spelling: message
* spelling: minimum
* spelling: notify
* spelling: nonexistent
* spelling: operator
* spelling: payload
* spelling: preceded
* spelling: prepared
* spelling: programmatically
* spelling: required
* spelling: reconcile
* spelling: responses
* spelling: request
* spelling: response
* spelling: results
* spelling: retrieve
* spelling: service
* spelling: significantly
* spelling: specifies
* spelling: supported
* spelling: synchronization
* spelling: synchronous
* spelling: themselves
* spelling: unexpected
* spelling: validations
* spelling: value
2018-03-19 16:56:00 +00:00
Paul Banks
8871ad130d
Merge pull request #3961 from canterberry/docs/tls-cipher-suites
...
📝 Clarify the list of supported TLS cipher suites
2018-03-19 16:51:14 +00:00
Paul Banks
37c07b3cac
Use master
2018-03-19 16:50:52 +00:00
Devin Canterberry
961aea97fe
📝 Prefer brevity at the cost of some ambiguity
2018-03-15 10:25:27 -07:00
Devin Canterberry
1db58de366
⤵️ Merge from `master`; no conflicts
2018-03-15 09:13:01 -07:00
Jack Pearkes
6fb94ff40a
website: clarify where ACL token is set in the UI
2018-03-14 16:50:04 -07:00
Jack Pearkes
c66628a06f
website: add section on securing the UI with ACLs
...
Figured it would be worth documenting due to #3931 .
2018-03-14 16:46:04 -07:00
Jack Pearkes
652e821511
Merge pull request #3884 from rberlind/master
...
Updated Stale Reads section of DNS Caching Guide
2018-03-13 16:56:58 -07:00
Jack Pearkes
101e1d030e
Merge pull request #3952 from slopeinsb/patch-1
...
Update index.html.md
2018-03-13 16:07:10 -07:00
Devin Canterberry
84d650cc4a
📝 Clarify the list of supported TLS cipher suites
...
Previously, the documentation linked to Golang's source code, which
can drift from the list of cipher suites supported by Consul. Consul
has a hard-coded mapping of string values to Golang cipher suites, so
this is a more direct source of truth to help users understand which
string values are accepted in the `tls_cipher_suites` configuration
value.
2018-03-13 09:25:03 -07:00
Preetha
3ed071b4a6
Merge pull request #3946 from hashicorp/je.fixes
...
Small Adjustments
2018-03-13 11:15:50 -05:00
randall thomson
3b1a2af8f1
Update index.html.md
...
update cli commands for consul 1.x
2018-03-09 09:46:37 -08:00
Preetha
251cdb9c24
Some tweaks to the documentation for a_record_limit
2018-03-08 11:23:07 -06:00
Pierre Souchay
57310a6446
Updated documentation as requested by @preetapan
2018-03-08 18:02:40 +01:00
Jeff Escalante
760b4ff72f
update to latest middleman-hashicorp
...
this includes minor text fixes for the universal nav
2018-03-06 16:37:58 -05:00
Jeff Escalante
f9a41e290d
First instance of 'Consul' on homepage -> 'HashiCorp Consul'
2018-03-06 16:37:47 -05:00
Sergei Ryabkov
82d195b695
Highlighting the dead link
...
I am proposing to remove a dead link (https://atlas.hashicorp.com/help/consul/alternatives ). If the page has moved and the new location is known, it would be of course better to update the link.
2018-03-02 18:22:19 -05:00
Paul Banks
257ad520f2
Merge pull request #3928 from hashicorp/service-token-docs
...
Notes on ACL token storage and permissions
2018-03-02 16:28:56 +00:00
Paul Banks
9a47449c6d
Merge pull request #3899 from pierresouchay/fix_blocking_queries_index
...
Services Indexes modified per service instead of using a global Index
2018-03-02 16:24:43 +00:00
Paul Banks
c57451a414
Notes on ACL token storage and permissions
2018-03-02 16:22:12 +00:00
Paul Banks
e833b535a6
Notes on ACL token storage and permissions
2018-03-02 16:20:11 +00:00
Brian Shumate
6d92c28c5c
Clarify encrypt key for WAN joined DCs
2018-03-02 10:41:09 -05:00
Pierre Souchay
7b81e2c3ad
Better information and advices for upgrade to 1.0.7+
2018-03-02 09:08:00 +01:00
Pierre Souchay
360dc1dd8d
Simplified error handling for maxIndexForService
...
* added unit tests to ensure service index is properly garbage collected
* added Upgrade from Version 1.0.6 to higher section in documentation
2018-03-01 14:09:36 +01:00
Jack Pearkes
10f3eb623a
website: override automatic linking of list items for softlayer dc
...
This avoids a conflict with #datacenter later on the page. We're mixing
histroic manually specified anchors with generated anchors (via
redcarpet / middleman-hashicorp) so we have to manually override the
automatic generation here.
I was tempted to rewrite the old manual anchors to use the automatic
generation, but there is no way to maintain backwards compatibility,
so will leave that for a time when it is appropriate for us to break
links (or redirect them, etc).
Fixes #3916
2018-02-27 10:53:12 -08:00
Kyle Havlovitz
5956e778db
Add a link to the leader election guide in the lock API docs
2018-02-22 15:57:46 -08:00
Paul Banks
a216d136fe
Fix a couple of minor typos found in docs.
2018-02-13 16:21:12 +00:00
Roger Berlind
bad4f2f404
Updated Stale Reads section of DNS Caching Guide
...
I updated the content based on discussion with James Phillips in #team-connect on 2/8/2018.
2018-02-12 11:26:10 -05:00
Tomáš Bedřich
e4792dbbee
Update check script exit code explanation ( #3882 )
...
Change misleading formulation which might imply, that any non-zero code is enough to mark check as failing.
(https://www.consul.io/docs/agent/checks.html#check-scripts )
2018-02-11 08:30:40 -06:00
Pierre Souchay
6022c7a209
Added ServiceMeta documentation in website source
2018-02-11 14:12:41 +01:00
Kyle Havlovitz
c3e94970a0
Add gRPC fields to client api and agent check endpoint docs
2018-02-09 16:02:27 -08:00
Preetha Appan
707c5c7204
Updates download version to 1.0.6
2018-02-09 12:21:18 -06:00
Kyle Havlovitz
f80cebaef3
Bump download version to 1.0.5
2018-02-07 12:50:12 -08:00
James Phillips
e5d76d6af4
Rolls back to 1.0.3 release for downloads.
2018-02-06 16:56:15 -08:00
Preetha Appan
93970e4c20
Update version for downloads
2018-02-06 15:48:59 -06:00
Kyle Havlovitz
f6ecaa4a1c
Add enterprise default config section
2018-02-05 13:33:59 -08:00
James Phillips
e748c63fff
Merge pull request #3855 from hashicorp/pr-3782-slackpad
...
Adds support for gRPC health checks.
2018-02-02 17:57:27 -08:00
James Phillips
49772f93bb
Adds documentation for gRPC health checks.
2018-02-02 17:53:49 -08:00
Preetha
6d969d372b
Clarification around locking ( #3853 )
2018-02-01 14:08:06 -06:00
Yoann Fouquet
8d01a61cb5
Adjust link to Java HTTP API
...
OrbitzWorldwide/consul-client has moved to rickfast/consul-client.
2018-01-26 17:31:18 +01:00
James Phillips
eb76306316
Merge pull request #3833 from szemek/curl-binary
...
Documentation KV Create/upload key, upload binary data or file with line breaks via curl
2018-01-25 13:15:59 -08:00
James Phillips
ab4ad0dcaf
Bumps to latest middleman-hashicorp version.
2018-01-24 09:32:45 -08:00
James Phillips
1072f6a9de
Bumps website Consul version to 1.0.3.
2018-01-24 07:20:00 -08:00
Przemysław Dąbek
53af1f528f
Update kv.html.md
2018-01-24 11:55:17 +01:00
Jim Kalafut
cedc7e6119
Fix broken link to SWIM paper
2018-01-21 17:41:58 -08:00
James Phillips
d93eb3659c
Updates configuration docs for Azure VMSS support.
2018-01-19 16:37:22 -08:00
James Phillips
410e96108a
Update external.html.md
2018-01-12 13:23:16 -08:00
James Phillips
9509aa6c4b
Adds the NodeID field back to the /v1/agent/self Config block.
...
Fixes #3778
2018-01-10 15:17:54 -08:00
James Phillips
6c3cce19fa
Merge pull request #3787 from kopaka/patch-2
...
Corrected word order sequence
2018-01-08 18:10:48 -08:00
James Phillips
cfdc0f5064
Updates website Ruby gems to get newer nokogiri.
2018-01-08 18:08:42 -08:00
Scott Pynn
0715ae968d
Corrected word order sequence
...
Also removed a couple of extraneous spaces.
2018-01-08 12:02:10 -05:00
James Cunningham
8dfe140501
fix dead telemetry prefix filter link
2018-01-05 15:19:33 -07:00
James Phillips
10ff52c21c
Merge pull request #3765 from diptanu/f-agent-telemetry
...
Added telemetry around Catalog APIs
2018-01-04 18:56:26 -08:00
Chad Whitacre
7dbe5654c7
Fix some small doc errors
2018-01-04 16:44:07 -05:00
James Phillips
96b47875ad
Merge pull request #3770 from akrymets/patch-1
...
Update checks.html.md
2018-01-03 18:32:53 -08:00
James Phillips
584a136906
Update checks.html.md
2018-01-03 18:32:42 -08:00
James Phillips
10ac6a9f98
Merge pull request #3775 from bagerard/fix_doc
...
fix in documentation
2018-01-03 13:42:39 -08:00
RS Krishna
88a73bd3e7
add missing Port description in register service doc
2017-12-31 22:10:35 +05:30
Bastien Gérard
967a1de1ed
fix in documentation
2017-12-31 09:48:16 +01:00
Andrii Krymets
5131201736
Update checks.html.md
...
1. Replace deprecated "script" option with "args" in check definition examples
(Not sure in correctness of arguments splitting)
2017-12-27 17:23:29 +02:00
Diptanu Choudhury
3858317ac9
Updated docs
2017-12-21 20:37:13 -08:00
Diptanu Choudhury
7f28391cbf
Added docs
2017-12-21 16:58:39 -08:00
James Phillips
ec423f1459
Update community.html.erb
2017-12-19 20:57:42 -08:00
James Phillips
7ed8c82bef
Bumps website version to 1.0.2.
2017-12-15 07:31:58 -08:00
James Phillips
e0dd7cc152
Merge pull request #3740 from yfouquet/issue_3709
...
Update documentation for "serf_lan_bind" and "serf_wan_bind"
2017-12-14 17:49:38 -08:00
James Phillips
49836801ac
Merge pull request #3749 from tjcelaya/rpc-warning-datacenter-guide
...
Clarify RPC listen address usage in Basic WAN guide
2017-12-14 17:46:09 -08:00
Tomas Celaya
36ea244ced
Include a warning about the interaction between `translate_wan_addrs` and `bind_addr` in the Basic WAN guide.
2017-12-14 13:12:04 -08:00
Yoann Fouquet
715dd744ff
Update documentation for "serf_lan_bind" and "serf_wan_bind"
...
These was spotted in issue #3709 .
These two configuration elements were renamed "serf_lan" and "serf_wan" in commit 12216583a1
Update documentation to fit the new code.
Note that flags "-serf-lan-bind" and "-serf-wan-bind" were not renamed.
2017-12-12 13:55:19 +01:00
Yoann Fouquet
16cc432c7a
Adjust documentation for service tags of checks
...
Add some missing ServiceTags.
Replace null ServiceTags by empty list (ServiceTags cannot be null).
2017-12-12 13:39:37 +01:00
youngjl1
137d73fd9d
Name correction in documentation
2017-12-10 10:26:02 -05:00
Ivan Smirnov
db1623c44f
Fix syntax error.
...
Running consul 1.0.0, 'consul operator raft' requires 'list-peers' rather than '-list-peers'
2017-11-20 20:17:20 -08:00
James Phillips
9f8c9cf95c
Bumps website version to 1.0.1.
2017-11-20 14:19:46 -08:00
James Phillips
b4d19abb7c
Adds a version note about rolling updates.
2017-11-20 12:01:23 -08:00
Amit Saha
0f53ae9a82
Update documentation for `tag` filter
2017-11-17 14:20:30 +11:00
James Phillips
93f68555d0
Adds enable_agent_tls_for_checks configuration option which allows ( #3661 )
...
HTTP health checks for services requiring 2-way TLS to be checked
using the agent's credentials.
2017-11-07 18:22:09 -08:00
James Phillips
d85dfffcae
Update atlas.html.md
2017-11-02 14:16:47 -07:00
Kyle Havlovitz
d3dd2b1402
Move check definition to a sub-struct
2017-11-01 14:54:46 -07:00
Kyle Havlovitz
dbab3cd5f6
Merge branch 'master' into esm-changes
2017-11-01 11:37:48 -07:00
Kyle Havlovitz
c4375d5a47
Merge pull request #3622 from hashicorp/coordinate-node-endpoint
...
agent: add /v1/coordianate/node/:node endpoint
2017-11-01 11:35:50 -07:00
James Phillips
c488b870b6
Update coordinates.html.md
2017-10-31 21:23:51 -07:00
Kyle Havlovitz
b0536a96cc
Fill out the tests around coordinate/node functionality
2017-10-31 15:36:44 -07:00
Frank Schröder
874e350b2f
config: add -config-format option ( #3626 )
...
* config: refactor ReadPath(s) methods without side-effects
Return the sources instead of modifying the state.
* config: clean data dir before every test
* config: add tests for config-file and config-dir
* config: add -config-format option
Starting with Consul 1.0 all config files must have a '.json' or '.hcl'
extension to make it unambigous how the data should be parsed. Some
automation tools generate temporary files by appending a random string
to the generated file which obfuscates the extension and prevents the
file type detection.
This patch adds a -config-format option which can be used to override
the auto-detection behavior by forcing all config files or all files
within a config directory independent of their extension to be
interpreted as of this format.
Fixes #3620
2017-10-31 17:30:01 -05:00
Frank Schröder
a052255f86
vendor: update go-discover ( #3634 )
...
* vendor: update go-discover
Pull in providers:
* Aliyun (Alibaba Cloud)
* Digital Ocean
* OpenStack (os)
* Scaleway
* doc: use ... instead of xxx
* doc: strip trailing whitespace
* doc: add docs for aliyun, digitalocean, os and scaleway
* agent: fix test
2017-10-31 17:03:54 -05:00
Kyle Havlovitz
a8c808aee5
Add docs for the coordinate update endpoint
2017-10-26 20:17:46 -07:00
Frank Schroeder
ca9aac746f
agent: add /v1/coordianate/node/:node endpoint
...
This patch adds a /v1/coordinate/node/:node endpoint to get the network
coordinates for a single node in the network.
Since Consul Enterprise supports network segments it is still possible
to receive mutiple entries for a single node - one per segment.
2017-10-26 14:24:42 +02:00
James Phillips
a11c277f75
Changes "ip" to "IP".
2017-10-23 12:34:43 +02:00
Frank Schroeder
81917ee675
Merge pull request #3600 from hashicorp/support-go-sockaddr-for-dns-recursors
...
DNS recursors can be added through go-sockaddr templates. Entries
are deduplicated while the order is maintained.
Originally proposed by @taylorchu
See #2932
2017-10-23 10:45:36 +02:00
Frank Schroeder
0ca94055c4
Revert "doc: update docs for dns recursor go-sockaddr templates"
...
This reverts commit 6d4a57aedc
.
2017-10-23 10:08:35 +02:00
Frank Schroeder
42563dc73f
Revert "doc: address review comment"
...
This reverts commit 6ba9690e81
.
2017-10-23 10:08:35 +02:00
Frank Schroeder
703be5a219
Revert "Changes "ip" to "IP"."
...
This reverts commit dca5dcb68c
.
2017-10-23 10:08:35 +02:00
James Phillips
dca5dcb68c
Changes "ip" to "IP".
2017-10-23 08:01:25 +02:00
Frank Schroeder
6ba9690e81
doc: address review comment
2017-10-23 08:01:25 +02:00
Frank Schroeder
6d4a57aedc
doc: update docs for dns recursor go-sockaddr templates
2017-10-23 08:01:25 +02:00
James Phillips
3ab8b50133
Tweaks watch docs.
2017-10-21 20:09:37 -07:00
preetapan
bed69cefb2
Update watches.html.md
2017-10-21 20:59:47 -05:00
Preetha Appan
28a3901f10
Small grammar correction
2017-10-21 20:55:15 -05:00
Preetha Appan
cdb5f8c3c9
Improve HTTP handler documentation
2017-10-21 20:51:37 -05:00
Hadar Greinsmark
7e1a860978
Implement HTTP Watch handler ( #3413 )
...
Implement HTTP Watch handler
2017-10-21 20:39:09 -05:00
Frank Schroeder
8ad8331f7d
doc: address review comment
2017-10-20 20:06:33 +02:00
Frank Schroeder
2122f16a69
doc: update docs for dns recursor go-sockaddr templates
2017-10-20 15:51:49 +02:00
Johan Brandhorst
4ebdff30ef
Fixed indentation in Script + Interval
...
Remove newlines which were causing the text to not be rendered under the intended bullet point.
2017-10-20 14:02:31 +02:00
James Phillips
ecee15b466
Updates documentation for consul validate.
...
This makes it clear that you need to pass the full configuration,
and that the command won't work with config fragments.
Closes #3591
2017-10-19 18:59:05 -07:00
Preetha Appan
18ccd3a80b
Documentation update for KMS support
2017-10-19 11:39:14 -05:00
Preetha Appan
89b98d2fe2
Update autopilot documentation to mention correct Consul version that defaults raft protocol to 3.
2017-10-19 11:31:29 -05:00
Jay
4d95a56b43
s/acesss/access ( #3593 )
...
Spell "access" correctly
2017-10-18 17:24:56 -07:00
James Phillips
53f67c3993
Fixes API client for ScriptArgs and updates documentation. ( #3589 )
...
* Updates the API client to support the current `ScriptArgs` parameter
for checks.
* Updates docs for checks to explain the `ScriptArgs` parameter issue.
* Adds mappings for "args" and "script-args" to give th API parity
with config.
* Adds checks on return codes.
* Removes debug logging that shows empty when args are used.
2017-10-18 11:28:39 -07:00
Vladislav Mitov
3b280ead55
Update check.html.md
2017-10-18 13:43:32 +02:00
James Phillips
282b88466b
Adds a pointer to the /v1/txn API from the KV read docs.
...
Closes #3558
2017-10-17 17:07:45 -07:00
Christopher "Chief" Najewicz
0b710b4a7a
Update docs for retry_join cloud discovery to include snippet around ( #3577 )
...
using HTTP_PROXY, HTTPS_PROXY and NO_PROXY env vars when needed
2017-10-17 16:05:44 -07:00
James Phillips
e25be707f5
Bumps website version to 1.0.0.
2017-10-16 09:40:44 -07:00
James Phillips
d5b945ccee
Adds a note about the Raft protocol not being the same as the Consul protocol.
2017-10-13 16:54:48 -07:00
James Phillips
204e6bac18
Adds a 1.0 section to the upgrade guide and cleans up the change log.
2017-10-13 16:46:36 -07:00
James Phillips
036efc663d
Update sentinel.html.markdown.erb
2017-10-13 12:15:08 -07:00
csawyerYumaed
0f79922795
Update dns forwarding documentation ( #3574 )
...
Add details about setting up macOS to point to consul for services without the headache of dnsmasq, bind, etc.
2017-10-12 14:25:57 -07:00
Kyle Havlovitz
4ab59af09e
Clarify the docs around script check timeout behavior
2017-10-11 14:55:55 -07:00
Kyle Havlovitz
106b8b0b33
Kill check processes after the timeout is reached ( #3567 )
...
* Kill check processes after the timeout is reached
Kill the subprocess spawned by a script check once the timeout is reached. Previously Consul just marked the check critical and left the subprocess around.
Fixes #3565 .
* Set err to non-nil when timeout occurs
* Fix check timeout test
* Kill entire process subtree on check timeout
* Add a docs note about windows subprocess termination
2017-10-11 11:57:39 -07:00
Frank Schröder
94f58199b1
agent: add option to discard health output ( #3562 )
...
* agent: add option to discard health output
In high volatile environments consul will have checks with "noisy"
output which changes every time even though the status does not change.
Since the output is stored in the raft log every health check update
unblocks a blocking call on health checks since the raft index has
changed even though the status of the health checks may not have changed
at all. By discarding the output of the health checks the users can
choose a different tradeoff. Less visibility on why a check failed in
exchange for a reduced change rate on the raft log.
* agent: discard output also when adding a check
* agent: add test for discard check output
* agent: update docs
* go vet
* Adds discard_check_output to reloadable config table.
* Updates the change log.
2017-10-10 17:04:52 -07:00
Frank Schröder
759ef8a1d4
config: add generic method to translate between CamelCase and snake_case ( #3557 )
...
* doc: document discrepancy between id and CheckID
* doc: document enable_tag_override change
* config: add TranslateKeys helper
TranslateKeys makes it easier to map between different representations
of internal structures. It allows to recursively map alias keys to
canonical keys in structured maps.
* config: use TranslateKeys for config file
This also adds support for 'enabletagoverride' and removes
the need for a separate CheckID alias field.
* config: remove dead code
* agent: use TranslateKeys for FixupCheckType
* agent: translate enable_tag_override during service registration
* doc: add '.hcl' as valid extension
* config: map ScriptArgs to args
* config: add comment for TranslateKeys
2017-10-10 16:40:59 -07:00
James Phillips
d3cebace7c
Updates documentation to s/script/args/ in API docs.
2017-10-10 16:37:08 -07:00
James Phillips
bb12368eac
Makes RPC handling more robust when rolling servers. ( #3561 )
...
* Adds client-side retry for no leader errors.
This paves over the case where the client was connected to the leader
when it loses leadership.
* Adds a configurable server RPC drain time and a fail-fast path for RPCs.
When a server leaves it gets removed from the Raft configuration, so it will
never know who the new leader server ends up being. Without this we'd be
doomed to wait out the RPC hold timeout and then fail. This makes things fail
a little quicker while a sever is draining, and since we added a client retry
AND since the server doing this has already shut down and left the Serf LAN,
clients should retry against some other server.
* Makes the RPC hold timeout configurable.
* Reorders struct members.
* Sets the RPC hold timeout default for test servers.
* Bumps the leave drain time up to 5 seconds.
* Robustifies retries with a simpler client-side RPC hold.
* Reverts untended delete.
2017-10-10 15:19:50 -07:00
James Phillips
d8a1ec70f8
Update compatibility.html.md
2017-10-09 14:18:37 -07:00
James Phillips
486e1a277e
Update compatibility.html.md
2017-10-09 14:18:23 -07:00