Commit Graph

18884 Commits

Author SHA1 Message Date
Krastin Krastev b0218ea35b
docs: fix helm stanza in admin-partitions (#14523) 2022-09-09 09:58:53 -07:00
Chris S. Kim 7370f0a953
Fix test ordering (#14543) 2022-09-09 11:11:54 -04:00
skpratt 19f79aa9a6
PR #14057 follow up fix: service id parsing from sidecar id (#14541)
* fix service id parsing from sidecar id

* simplify suffix trimming
2022-09-09 09:47:10 -05:00
Dan Upton 1c2c975b0b
xDS Load Balancing (#14397)
Prior to #13244, connect proxies and gateways could only be configured by an
xDS session served by the local client agent.

In an upcoming release, it will be possible to deploy a Consul service mesh
without client agents. In this model, xDS sessions will be handled by the
servers themselves, which necessitates load-balancing to prevent a single
server from receiving a disproportionate amount of load and becoming
overwhelmed.

This introduces a simple form of load-balancing where Consul will attempt to
achieve an even spread of load (xDS sessions) between all healthy servers.
It does so by implementing a concurrent session limiter (limiter.SessionLimiter)
and adjusting the limit according to autopilot state and proxy service
registrations in the catalog.

If a server is already over capacity (i.e. the session limit is lowered),
Consul will begin draining sessions to rebalance the load. This will result
in the client receiving a `RESOURCE_EXHAUSTED` status code. It is the client's
responsibility to observe this response and reconnect to a different server.

Users of the gRPC client connection brokered by the
consul-server-connection-manager library will get this for free.

The rate at which Consul will drain sessions to rebalance load is scaled
dynamically based on the number of proxies in the catalog.
2022-09-09 15:02:01 +01:00
Jeff Apple deda99a387
Merge pull request #14534 from hashicorp/docs/capigw-tech-spec-update
Docs: add limitations to Tech Specs
2022-09-08 14:47:39 -07:00
Jeff Apple 776c98d109
Update website/content/docs/api-gateway/tech-specs.mdx 2022-09-08 14:41:06 -07:00
Derek Menteer 9ff0be6950
Merge pull request #14294 from hashicorp/derekm/split-grpc-ports
Add separate grpc tls port.
2022-09-08 16:27:38 -05:00
Nathan Coleman f0e8d44c80
Update website/content/docs/api-gateway/tech-specs.mdx 2022-09-08 15:56:28 -04:00
Jeff Apple 86754cfe5a
Update website/content/docs/api-gateway/tech-specs.mdx
Co-authored-by: Nathan Coleman <nathan.coleman@hashicorp.com>
2022-09-08 12:55:15 -07:00
Jeff Apple 402ddd6dcd
Update website/content/docs/api-gateway/tech-specs.mdx
Co-authored-by: Nathan Coleman <nathan.coleman@hashicorp.com>
2022-09-08 12:54:02 -07:00
Derek Menteer f7c884f0af Merge branch 'main' of github.com:hashicorp/consul into derekm/split-grpc-ports 2022-09-08 14:53:08 -05:00
Jeff Apple a1eb38213a
Update website/content/docs/api-gateway/tech-specs.mdx
Co-authored-by: Nathan Coleman <nathan.coleman@hashicorp.com>
2022-09-08 12:51:44 -07:00
Derek Menteer bfe7c5e8af Remove rebuilding grpc server. 2022-09-08 13:45:44 -05:00
trujillo-adam 02f0617b60
Merge pull request #14353 from hashicorp/nia/docs-0.7.0
Nia/docs 0.7.0
2022-09-08 11:44:04 -07:00
Jeff Apple 16f5d7c381
Docs: add limitations to Tech Specs 2022-09-08 11:38:27 -07:00
trujillo-adam 001b1ed8cf fix to redirects file 2022-09-08 11:31:08 -07:00
Tu Nguyen d479d16761 Merge branch 'main' into nia/docs-0.7.0 2022-09-08 11:18:05 -07:00
Tu Nguyen 1db9f3ea2e Merge branch 'nia/docs-0.7.0' of ssh://github.com/hashicorp/consul into nia/docs-0.7.0 2022-09-08 11:17:58 -07:00
Tu Nguyen f17f176aa3 Merge branch 'main' of ssh://github.com/hashicorp/consul 2022-09-08 11:17:46 -07:00
trujillo-adam 6b37a25478 updated HA configuration ref 2022-09-08 11:16:34 -07:00
trujillo-adam 83ccbf1635 Apply suggestions from code review
Co-authored-by: Michael Wilkerson <62034708+wilkermichael@users.noreply.github.com>
2022-09-08 11:16:34 -07:00
trujillo-adam 3ec0f2cd4c Apply suggestions from code review
Co-authored-by: Michael Wilkerson <62034708+wilkermichael@users.noreply.github.com>
2022-09-08 11:16:34 -07:00
trujillo-adam 3ce564354e fixed bad links in status/cluster endpoint ref 2022-09-08 11:16:34 -07:00
trujillo-adam da77e68b27 applied AJs feedback and made a few additional improvements 2022-09-08 11:16:33 -07:00
trujillo-adam 9a856781ad udpated how to ID the leader in the usage docs 2022-09-08 11:16:33 -07:00
trujillo-adam acc184bd09 added no-HA API status error message to EMs page 2022-09-08 11:16:33 -07:00
trujillo-adam 3935eca83a added cluster endpoint to status API docs 2022-09-08 11:16:33 -07:00
Tu Nguyen 5db0240049 Apply suggestions from code review 2022-09-08 11:16:33 -07:00
trujillo-adam d4445f1029 Update website/content/docs/nia/usage/run-ha.mdx 2022-09-08 11:16:33 -07:00
trujillo-adam b153c965cb redirects for CTS 0.7 2022-09-08 11:15:45 -07:00
trujillo-adam a7a0acf754 final content tweaks for CTS 0.7 docs 2022-09-08 11:09:30 -07:00
trujillo-adam 5c1f63ddfb Apply suggestions from code review
Co-authored-by: lornasong <lornasong@users.noreply.github.com>
2022-09-08 11:09:30 -07:00
trujillo-adam 43302fe333 Apply suggestions from code review
Co-authored-by: Jeff Boruszak <104028618+boruszak@users.noreply.github.com>
Co-authored-by: Michael Wilkerson <62034708+wilkermichael@users.noreply.github.com>
2022-09-08 11:09:29 -07:00
trujillo-adam 88f007669f Apply suggestions from code review
Co-authored-by: Michael Wilkerson <62034708+wilkermichael@users.noreply.github.com>
Co-authored-by: Jeff Boruszak <104028618+boruszak@users.noreply.github.com>
2022-09-08 11:09:29 -07:00
trujillo-adam cd88085423 Apply suggestions from code review
Co-authored-by: Jeff Boruszak <104028618+boruszak@users.noreply.github.com>
2022-09-08 11:09:29 -07:00
trujillo-adam 03ff1d07ef replaced HA diagrams with SVG files 2022-09-08 11:09:29 -07:00
trujillo-adam 61a71ed2bb updated the compatibility table for 0.7 2022-09-08 11:09:29 -07:00
trujillo-adam b170a3c13b add HA to configuration reference, updated other configuration params 2022-09-08 11:09:29 -07:00
trujillo-adam af8f00b3eb added ha information to the API endpoints docs 2022-09-08 11:09:29 -07:00
trujillo-adam 54be860069 updates to the architecture page 2022-09-08 11:09:29 -07:00
trujillo-adam d6506140a3 added error messages page and link fixes to a few pages 2022-09-08 11:09:29 -07:00
trujillo-adam 4e2d32ca80 add HA usage page and small revisions to standard usage page 2022-09-08 11:09:29 -07:00
trujillo-adam 94c7e87414 partial update to the nav, revisisions to the usage requirements page 2022-09-08 11:09:29 -07:00
trujillo-adam f5e1bfb2b4 updated reset-store flag and other page content 2022-09-08 11:09:29 -07:00
Michael Wilkerson 8457845d2d update docs (#13842)
* update docs

* Update website/content/docs/nia/cli/start.mdx

Co-authored-by: Jeff Boruszak <104028618+boruszak@users.noreply.github.com>

Co-authored-by: Jeff Boruszak <104028618+boruszak@users.noreply.github.com>
2022-09-08 11:09:29 -07:00
Michael Wilkerson eab4a08417 Nia/cts tasks not required (#13731)
* update docs

* Update website/content/docs/nia/configuration.mdx

Co-authored-by: Jeff Boruszak <104028618+boruszak@users.noreply.github.com>

Co-authored-by: Jeff Boruszak <104028618+boruszak@users.noreply.github.com>
2022-09-08 11:09:28 -07:00
Noe Brown e8a03490b8 Updated the default service name to lower case
Changes to doc :
Changed default service_name to consul-terraform-sync. Service name is used in service registration it was previously proper case, it is now lower case.
2022-09-08 11:09:28 -07:00
trujillo-adam 2ef4d2f4d9
Merge branch 'main' into nia/docs-0.7.0 2022-09-08 10:03:57 -07:00
Derek Menteer 80d31458e5 Various cleanups. 2022-09-08 10:51:50 -05:00
Chris S. Kim 03df6c3ac6
Reuse http.DefaultTransport in UIMetricsProxy (#14521)
http.Transport keeps a pool of connections and should be reused when possible. We instantiate a new http.DefaultTransport for every metrics request, making large numbers of concurrent requests inefficiently spin up new connections instead of reusing open ones.
2022-09-08 11:02:05 -04:00