Commit graph

18358 commits

Author SHA1 Message Date
James Hartig a5a200e0e9 Use the maximum jitter when calculating the timeout
The timeout should include the maximum possible
jitter since the server will randomly add to it's
timeout a jitter. If the server's timeout is less
than the client's timeout then the client will
return an i/o deadline reached error.

Before:
```
time curl 'http://localhost:8500/v1/catalog/service/service?dc=other-dc&stale=&wait=600s&index=15820644'
rpc error making call: i/o deadline reached
real    10m11.469s
user    0m0.018s
sys     0m0.023s
```

After:
```
time curl 'http://localhost:8500/v1/catalog/service/service?dc=other-dc&stale=&wait=600s&index=15820644'
[...]
real    10m35.835s
user    0m0.021s
sys     0m0.021s
```
2022-08-17 10:24:09 -04:00
Jared Kirschner 149f6a610d
docs: fix broken markdown 2022-08-16 23:08:09 -04:00
Evan Culver 14494d84e0
ci: Replace Nomad integration tests with predictable compatibility matrix (#14220) 2022-08-16 15:33:33 -07:00
Jeff Apple 6b33c3719c
Merge pull request #14196 from hashicorp/docs/capigw-v0.4.0
Docs updates for Consul API Gateway v0.4.0
2022-08-16 10:50:03 -07:00
Jeff-Apple f98380ab55 Added Known Issues and other edits to Rel Notes 2022-08-16 10:48:13 -07:00
Jeff Apple 9f2798a5bf
Minor edits to Release Notes 2022-08-16 09:36:23 -07:00
Jeff Apple 5c6bfee65d
Minor edits to Release Notes
Co-authored-by: trujillo-adam <47586768+trujillo-adam@users.noreply.github.com>
2022-08-16 09:31:46 -07:00
Jeff Apple 0314d7cbbb
Update website/content/docs/release-notes/consul-api-gateway/v0_4_x.mdx 2022-08-16 09:26:02 -07:00
sarahalsmiller e08eaa1d6a
Merge pull request #14205 from hashicorp/api-gateway-install-redirrects
Add missing install redirrect to redirrect.js for api-gateway docs
2022-08-15 18:14:27 -05:00
sarahalsmiller a95e0121a6
Update redirects.js 2022-08-15 18:00:08 -05:00
sarahalsmiller f06d4f234d
Update redirects.js 2022-08-15 17:52:47 -05:00
trujillo-adam da1b8b5224
Merge pull request #14175 from hashicorp/docs/capigw-040-route-details-prefix-rewrite
Docs/capigw 040 route details prefix rewrite
2022-08-15 14:39:00 -07:00
Nathan Coleman 64695eca79
Fix typo 2022-08-15 17:21:36 -04:00
Nathan Coleman 1ce15b3044
Apply suggestions from code review 2022-08-15 17:13:44 -04:00
trujillo-adam ceb5afc408
Apply suggestions from code review
Co-authored-by: Nathan Coleman <nathan.coleman@hashicorp.com>
2022-08-15 14:02:46 -07:00
Nathan Coleman 5cdf102222
Merge branch 'docs/capigw-v0.4.0' into docs/capigw-040-route-details-prefix-rewrite 2022-08-15 12:01:19 -04:00
Nathan Coleman 8f64ef73e3 Update ReferencePolicy -> ReferenceGrant 2022-08-15 11:56:54 -04:00
Nathan Coleman 4104086ca9 Add missing code block 2022-08-15 11:49:41 -04:00
Nathan Coleman b5af71b1f0 Replace MeshService section on Route page w/ link to new page 2022-08-15 11:16:38 -04:00
Nathan Coleman 8421b14ca8 Add new MeshService config page to nav 2022-08-15 11:14:27 -04:00
Nathan Coleman d204422466 Add page for MeshService configuration object for Consul API Gateway 2022-08-15 11:13:18 -04:00
Nathan Coleman afb244de61 Fix typo in Gateway docs header 2022-08-15 11:12:58 -04:00
Eric Haberkorn 40ce1c8288
Add Targets field to service resolver failovers. (#14162)
This field will be used for cluster peering failover.
2022-08-15 09:20:25 -04:00
trujillo-adam 2939be591b implemented additional information about route configuration 2022-08-14 10:53:43 -07:00
Max Bowsher 8d68284491 Correct problem with merge from master, including reformat of table 2022-08-14 16:16:41 +01:00
Jeff-Apple e317b493dd Release Notes for CAPIgw v0.4.x 2022-08-12 14:17:29 -07:00
cskh c20d016f62
fix: missing segment and partition (#14194) 2022-08-12 15:21:39 -04:00
Eric Haberkorn 11884bfb99
Refactor failover code to use Envoy's aggregate clusters (#14178) 2022-08-12 14:30:46 -04:00
Nitya Dhanushkodi 558837dcc6
peering: update docs with exposing servers (#14191) 2022-08-12 11:22:41 -07:00
Ashwin Venkatesh 7bcdd59714
Update helm docs for cluster peering (#14188) 2022-08-12 12:55:33 -04:00
David Yu 25a66ee014
docs: bumping requirements for cluster peering to consul k8s 0.47.0 and 1.13.1 (#14177) 2022-08-12 09:00:04 -07:00
David Yu 16830167de
docs: update consul-k8s compat matrix and remove 1.10.x version (#14106) 2022-08-12 08:57:59 -07:00
Eric Haberkorn 21b5aade56
Cluster Peering Prepared Query Failover Documentation (#13846)
Add documentation for cluster peering prepared query failover
2022-08-12 11:06:16 -04:00
trujillo-adam 65a2de0d27 added configuration model for routes 2022-08-11 20:50:38 -07:00
trujillo-adam 9dfc04a883 added usage docs for prefix rewrite 2022-08-11 20:19:51 -07:00
trujillo-adam f9f4848532 updated Routes configuration ref 2022-08-11 20:10:36 -07:00
Tu Nguyen cc885101e5
Merge pull request #14154 from hashicorp/1.13.1-upgrade-considerations 2022-08-11 19:23:09 -07:00
cskh e7b5baa3cc
feat(telemetry): add labels to serf and memberlist metrics (#14161)
* feat(telemetry): add labels to serf and memberlist metrics
* changelog
* doc update

Co-authored-by: R.B. Boyer <4903+rboyer@users.noreply.github.com>
2022-08-11 22:09:56 -04:00
Evan Culver 76b39a5453
docs: changelog for 1.13.1 (#14168) 2022-08-11 16:24:30 -07:00
Evan Culver 690a5bf8f3
Add changelog entry for peering fix (#14160) 2022-08-11 16:23:02 -07:00
DanStough 6dd09fbb2e docs: changelog 1.12.4 and 1.11.8 2022-08-11 18:04:27 -04:00
Tu Nguyen db936a3412 Update with more details on 1.13.0 issue 2022-08-11 14:43:27 -07:00
Tu Nguyen 089a9c6e59
Apply suggestions from code review
Co-authored-by: Jared Kirschner <85913323+jkirschner-hashicorp@users.noreply.github.com>
2022-08-11 14:40:28 -07:00
Chris S. Kim 182399255b
Handle breaking change for ServiceVirtualIP restore (#14149)
Consul 1.13.0 changed ServiceVirtualIP to use PeeredServiceName instead of ServiceName which was a breaking change for those using service mesh and wanted to restore their snapshot after upgrading to 1.13.0.

This commit handles existing data with older ServiceName and converts it during restore so that there are no issues when restoring from older snapshots.
2022-08-11 14:47:10 -04:00
Tu Nguyen 3189433a30 Add upgrade instructions and considerations for Consul 1.13.1 2022-08-11 11:17:17 -07:00
Mike Morris 47a36c9137
docs(capigw): add v0.4.0 upgrade instructions (#14101)
docs(capigw): add manual ReferencePolicy -> ReferenceGrant migration steps, comment out kube-storage-version-migrator workflow in case we choose to publish it later
2022-08-11 13:32:34 -04:00
Evan Culver 2b8e8280f5
ci: Disable Arm RPM verifications (#14142) 2022-08-11 10:26:21 -07:00
Chris S. Kim 55945a8231 Add test to verify forwarding 2022-08-11 11:16:02 -04:00
Chris S. Kim fbbb54fdc2 Register peerStreamServer internally to enable RPC forwarding 2022-08-11 11:16:02 -04:00
Chris S. Kim 534096a6ac Handle wrapped errors in isFailedPreconditionErr 2022-08-11 11:16:02 -04:00