Commit Graph

18966 Commits

Author SHA1 Message Date
Tu Nguyen 8dc33d601a Merge branch 'main' of ssh://github.com/hashicorp/consul 2022-09-08 11:17:46 -07:00
trujillo-adam 53aceea6f7 updated HA configuration ref 2022-09-08 11:16:34 -07:00
trujillo-adam 06c6023f25 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 ecc0a6e4b0 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 808eeab7d8 fixed bad links in status/cluster endpoint ref 2022-09-08 11:16:34 -07:00
trujillo-adam aa7eddd41a applied AJs feedback and made a few additional improvements 2022-09-08 11:16:33 -07:00
trujillo-adam ca58bca433 udpated how to ID the leader in the usage docs 2022-09-08 11:16:33 -07:00
trujillo-adam d23c007cc4 added no-HA API status error message to EMs page 2022-09-08 11:16:33 -07:00
trujillo-adam 32645e3133 added cluster endpoint to status API docs 2022-09-08 11:16:33 -07:00
Tu Nguyen ed505b956b Apply suggestions from code review 2022-09-08 11:16:33 -07:00
trujillo-adam 950654f7f8 Update website/content/docs/nia/usage/run-ha.mdx 2022-09-08 11:16:33 -07:00
trujillo-adam 38727b41d1 redirects for CTS 0.7 2022-09-08 11:15:45 -07:00
trujillo-adam 1baca91665 final content tweaks for CTS 0.7 docs 2022-09-08 11:09:30 -07:00
trujillo-adam 73b0e2b3ec Apply suggestions from code review
Co-authored-by: lornasong <lornasong@users.noreply.github.com>
2022-09-08 11:09:30 -07:00
trujillo-adam c43e595c6c 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 0ed871d548 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 40f359ef71 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 8030e78245 replaced HA diagrams with SVG files 2022-09-08 11:09:29 -07:00
trujillo-adam b30982e1b2 updated the compatibility table for 0.7 2022-09-08 11:09:29 -07:00
trujillo-adam 6a4693245e add HA to configuration reference, updated other configuration params 2022-09-08 11:09:29 -07:00
trujillo-adam c694e1927d added ha information to the API endpoints docs 2022-09-08 11:09:29 -07:00
trujillo-adam 65822ef5d3 updates to the architecture page 2022-09-08 11:09:29 -07:00
trujillo-adam 159c6e5804 added error messages page and link fixes to a few pages 2022-09-08 11:09:29 -07:00
trujillo-adam cf154f08cc add HA usage page and small revisions to standard usage page 2022-09-08 11:09:29 -07:00
trujillo-adam 2c6ce70bee partial update to the nav, revisisions to the usage requirements page 2022-09-08 11:09:29 -07:00
trujillo-adam 4d2139d617 updated reset-store flag and other page content 2022-09-08 11:09:29 -07:00
Michael Wilkerson c76277b47f 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 82137f71a5 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 576ac87523 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 09ff452fa6
Merge branch 'main' into nia/docs-0.7.0 2022-09-08 10:03:57 -07:00
Derek Menteer 6aaf1c6035 Various cleanups. 2022-09-08 10:51:50 -05:00
Chris S. Kim 331c756471
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
Michael Klein 6cd25728e5
ui: update tab nav steps to use `isVisible` vs `clickable` (#14517)
* Add `isVisible` property to tab-nav page-object

* Use `IsVisible` when testing visibility of tabs
2022-09-08 12:46:49 +02:00
John Cowen 84039e3d57
ui: Add 'self-managed' badge when CONSUL_HCP_MANAGED_RUNTIME=self (#14496) 2022-09-08 11:45:20 +01:00
John Cowen efb2ecbb2e
ui: Detect token in a cookie and passthrough (#14495) 2022-09-08 11:43:39 +01:00
trujillo-adam 776746c856 updated HA configuration ref 2022-09-07 14:13:39 -07:00
trujillo-adam 97c19fe77d
Apply suggestions from code review
Co-authored-by: Michael Wilkerson <62034708+wilkermichael@users.noreply.github.com>
2022-09-07 14:00:56 -07:00
trujillo-adam 4e97ffa87f
Apply suggestions from code review
Co-authored-by: Michael Wilkerson <62034708+wilkermichael@users.noreply.github.com>
2022-09-07 12:53:58 -07:00
John Cowen 39439d07bd
ui: Use HCPURL / .HCPURL (#14489) 2022-09-07 16:43:42 +01:00
Chris S. Kim 9b5c5c5062
Merge pull request #14285 from hashicorp/NET-638-push-server-address-updates-to-the-peer
peering: Subscribe to server address changes and push updates to peers
2022-09-07 09:30:45 -04:00
Michael Klein b75a800e25
ui: fix - proper await page object step (#14510)
* Fix await page-object properties properly

* Remove "sleep"-hack show-routing test

* Fix - change serviceInstacesSelected test order

We need to change the order of test as the  tab-nav
tab-elements are actually clickable and will be triggered
via the "see" step.

Because we are now properly awaiting these promises
we need to change the test order and check if the
service-instances tab is selected first, as the following
steps will actually click the respective tabs during
testing and thus change what is selected
on the tab-nav.

* Update ember-cli-page-object to latest
2022-09-07 15:24:02 +02:00
Krastin Krastev e2a6c2e932
docs: licensing improvements (#14488)
Co-authored-by: Jeff Boruszak <104028618+boruszak@users.noreply.github.com>
2022-09-06 18:39:07 -07:00
skpratt 02559085ad
move port and default check logic to locked step (#14057) 2022-09-06 19:35:31 -05:00
Freddy a7f38384ae
Add SpiffeID for Consul server agents (#14485)
Co-authored-by: Eric Haberkorn <erichaberkorn@gmail.com>

By adding a SpiffeID for server agents, servers can now request a leaf
certificate from the Connect CA.

This new Spiffe ID has a key property: servers are identified by their
datacenter name and trust domain. All servers that share these
attributes will share a ServerURI.

The aim is to use these certificates to verify the server name of ANY
server in a Consul datacenter.
2022-09-06 17:58:13 -06:00
David Yu b800f7e175
docs: small typos in single dc k8s clusters (#14484)
* docs: small typos in single dc k8s clusters

Co-authored-by: trujillo-adam <47586768+trujillo-adam@users.noreply.github.com>
2022-09-06 16:55:09 -07:00
trujillo-adam 53ca423be6 fixed bad links in status/cluster endpoint ref 2022-09-06 16:13:28 -07:00
trujillo-adam 7bf5ec9b5f applied AJs feedback and made a few additional improvements 2022-09-06 16:00:09 -07:00
Daniel Upton 128055c44c proxycfg-glue: server-local implementation of IntentionUpstreamsDestination
This is the OSS portion of enterprise PR 2463.

Generalises the serverIntentionUpstreams type to support matching on a
service or destination.
2022-09-06 23:27:25 +01:00
Daniel Upton 4b76d8a8ff proxycfg-glue: server-local implementation of InternalServiceDump
This is the OSS portion of enterprise PR 2489.

This PR introduces a server-local implementation of the
proxycfg.InternalServiceDump interface that sources data from a blocking query
against the server's state store.

For simplicity, it only implements the subset of the Internal.ServiceDump RPC
handler actually used by proxycfg - as such the result type has been changed
to IndexedCheckServiceNodes to avoid confusion.
2022-09-06 23:27:25 +01:00
Daniel Upton 8cd6c9f95e proxycfg-glue: server-local implementation of ResolvedServiceConfig
This is the OSS portion of enterprise PR 2460.

Introduces a server-local implementation of the proxycfg.ResolvedServiceConfig
interface that sources data from a blocking query against the server's state
store.

It moves the service config resolution logic into the agent/configentry package
so that it can be used in both the RPC handler and data source.

I've also done a little re-arranging and adding comments to call out data
sources for which there is to be no server-local equivalent.
2022-09-06 23:27:25 +01:00