Jared Kirschner
9d714b11bc
Merge pull request #13966 from hashicorp/jkirschner-hashicorp-patch-1
...
docs: fix k8s prepared query upstream link
2022-07-29 18:09:57 -04:00
Jared Kirschner
a7980de7b0
docs: fix k8s prepared query upstream link
2022-07-29 18:00:56 -04:00
alex
0f6354685b
block PeerName register requests ( #13887 )
...
Signed-off-by: acpana <8968914+acpana@users.noreply.github.com>
2022-07-29 14:36:22 -07:00
Luke Kysow
17594a123e
peering: retry establishing connection more quickly on certain errors ( #13938 )
...
When we receive a FailedPrecondition error, retry that more quickly
because we expect it will resolve shortly. This is particularly
important in the context of Consul servers behind a load balancer
because when establishing a connection we have to retry until we
randomly land on a leader node.
The default retry backoff goes from 2s, 4s, 8s, etc. which can result in
very long delays quite quickly. Instead, this backoff retries in 8ms
five times, then goes exponentially from there: 16ms, 32ms, ... up to a
max of 8152ms.
2022-07-29 13:04:32 -07:00
Sarah Pratt
11c7a465b7
Separate port and socket path requirement in case of local agent assignment
2022-07-29 13:28:21 -05:00
sarahalsmiller
d28aa70c11
Update website/content/docs/api-gateway/configuration/gatewayclassconfig.mdx
...
Co-authored-by: trujillo-adam <47586768+trujillo-adam@users.noreply.github.com>
2022-07-29 12:07:36 -05:00
sarahalsmiller
612150b4f7
Update website/content/docs/api-gateway/configuration/gatewayclassconfig.mdx
...
Co-authored-by: trujillo-adam <47586768+trujillo-adam@users.noreply.github.com>
2022-07-29 10:23:20 -05:00
Sarah Alsmiller
53ee7f376b
parametesRef set to optional
2022-07-29 10:12:45 -05:00
Chris S. Kim
96c266becf
Ensure connections are closed before WaitGroup marked as done
...
The previous ordering of defers meant the listener's connWG could fire and wake up other goroutines before the connection closed. Unsure if this caused any real bugs but this commit should make the code more correct.
2022-07-29 09:29:13 -04:00
sarahalsmiller
bcf58d544c
Update website/content/docs/api-gateway/configuration/gatewayclassconfig.mdx
...
Co-authored-by: trujillo-adam <47586768+trujillo-adam@users.noreply.github.com>
2022-07-28 17:52:19 -05:00
sarahalsmiller
815734a944
Update website/content/docs/api-gateway/configuration/gatewayclassconfig.mdx
...
Co-authored-by: trujillo-adam <47586768+trujillo-adam@users.noreply.github.com>
2022-07-28 17:37:39 -05:00
sarahalsmiller
5ca812faa7
Update website/content/docs/api-gateway/configuration/gatewayclassconfig.mdx
...
Co-authored-by: trujillo-adam <47586768+trujillo-adam@users.noreply.github.com>
2022-07-28 17:37:07 -05:00
sarahalsmiller
65a5a6729a
Update website/content/docs/api-gateway/configuration/gatewayclassconfig.mdx
...
Co-authored-by: trujillo-adam <47586768+trujillo-adam@users.noreply.github.com>
2022-07-28 17:35:21 -05:00
sarahalsmiller
3708dd18c9
Update website/content/docs/api-gateway/configuration/gatewayclassconfig.mdx
...
Co-authored-by: trujillo-adam <47586768+trujillo-adam@users.noreply.github.com>
2022-07-28 17:35:01 -05:00
sarahalsmiller
fbe0eedf2f
Update website/content/docs/api-gateway/configuration/gatewayclassconfig.mdx
...
Co-authored-by: trujillo-adam <47586768+trujillo-adam@users.noreply.github.com>
2022-07-28 17:34:55 -05:00
sarahalsmiller
64c62de47f
Update website/content/docs/api-gateway/configuration/gatewayclassconfig.mdx
...
Co-authored-by: trujillo-adam <47586768+trujillo-adam@users.noreply.github.com>
2022-07-28 17:34:46 -05:00
sarahalsmiller
bf7b938ea4
Update website/content/docs/api-gateway/configuration/gatewayclassconfig.mdx
...
Co-authored-by: trujillo-adam <47586768+trujillo-adam@users.noreply.github.com>
2022-07-28 17:34:34 -05:00
sarahalsmiller
d5fc31e19e
Update website/content/docs/api-gateway/configuration/gatewayclassconfig.mdx
...
Co-authored-by: trujillo-adam <47586768+trujillo-adam@users.noreply.github.com>
2022-07-28 17:06:29 -05:00
sarahalsmiller
5a69d18a4b
Update website/content/docs/api-gateway/configuration/gatewayclassconfig.mdx
...
Co-authored-by: trujillo-adam <47586768+trujillo-adam@users.noreply.github.com>
2022-07-28 16:52:25 -05:00
alex
74d79cc7e6
Merge pull request #13952 from hashicorp/sync-more-acl
...
sync more acl enforcement
2022-07-28 12:31:02 -07:00
Dhia Ayachi
09340a846c
inject gateway addons to destination clusters ( #13951 )
2022-07-28 15:17:35 -04:00
acpana
70e052f35f
sync more acl enforcement
...
sync w ent at 32756f7
Signed-off-by: acpana <8968914+acpana@users.noreply.github.com>
2022-07-28 12:01:52 -07:00
trujillo-adam
0e7c640b9e
tweaks to the basic usage topic
2022-07-28 11:38:50 -07:00
trujillo-adam
cf7310377c
tweaks to the configuration overview page
2022-07-28 11:04:21 -07:00
alex
08b94640bc
Merge pull request #13929 from hashicorp/fix-validation
...
[sync] fix empty partitions matching
2022-07-28 10:14:49 -07:00
trujillo-adam
79ff210efe
more tweaks to gatewayclass docs
2022-07-28 10:02:12 -07:00
Evan Culver
b60d4bd2d0
ci: Use correct branch name for 1.13 nightly test ( #13945 )
2022-07-28 12:49:15 -04:00
cskh
416a673c6c
fix (cli): import empty directory to kv ( #13939 )
...
* fix (cli): import empty directory to kv
- when import an empty directory like foo/, the import
command will remove the trailing /, making it a
non-directory key.
- This change fixes the bug by adding back the / if
the imported key is an directory
2022-07-28 10:54:25 -04:00
Sarah Pratt
f01a4f91dc
refactor sidecare_service method into parts
2022-07-28 09:07:13 -05:00
trujillo-adam
8c32107cba
minor changes to the gatewayclass documentation
2022-07-27 16:08:54 -07:00
Jared Kirschner
8a7e60b10b
Merge pull request #13917 from hashicorp/docs/show-cli-cmd-options-before-general-options-2
...
docs: show CLI cmd-specific opts before general opts
2022-07-27 18:55:06 -04:00
Jared Kirschner
bb93a43475
docs: show CLI cmd-specific opts before general opts
...
Applied to all remaining CLI commands.
2022-07-27 15:50:51 -07:00
Ashwin Venkatesh
e4aaf467eb
Add peer counts to emitted metrics. ( #13930 )
2022-07-27 18:34:04 -04:00
trujillo-adam
60d85c86f1
fixed small typo
2022-07-27 15:32:26 -07:00
trujillo-adam
29635f6a99
fixed links and clarified some sections in gateway configuration doc
2022-07-27 15:27:04 -07:00
Luke Kysow
a2290791b2
Merge pull request #13924 from hashicorp/lkysow/util-metric-peering
...
peering: don't track imported services/nodes in usage
2022-07-27 14:49:55 -07:00
acpana
778c796ec9
use EqualPartitions
...
Signed-off-by: acpana <8968914+acpana@users.noreply.github.com>
2022-07-27 14:48:30 -07:00
acpana
8042b3aeed
better fix
...
Signed-off-by: acpana <8968914+acpana@users.noreply.github.com>
2022-07-27 14:28:08 -07:00
Evan Culver
273bcbce5f
ci: Add nightly test workflow for 1.13, remove 1.10 ( #13927 )
...
Signed-off-by: Evan Culver <eculver@hashicorp.com>
2022-07-27 16:59:00 -04:00
trujillo-adam
534f011663
Merge branch 'main' of github.com:hashicorp/consul into sa-restructure-documentation
2022-07-27 11:47:56 -07:00
acpana
b03467e3bd
sync w ent
...
Signed-off-by: acpana <8968914+acpana@users.noreply.github.com>
2022-07-27 11:41:39 -07:00
Chris S. Kim
213e985d17
Reduce arm64 flakes for TestConnectCA_ConfigurationSet_ChangeKeyConfig_Primary
...
There were 16 combinations of tests but 4 of them were duplicates since the default key type and bits were "ec" and 256. That entry was commented out to reduce the subtest count to 12.
testrpc.WaitForLeader was failing on arm64 environments; the cause is unknown but it might be due to the environment being flooded with parallel tests making RPC calls. The RPC polling+retry was replaced with a simpler check for leadership based on raft.
2022-07-27 13:54:34 -04:00
Chris S. Kim
c80ab10527
Retry checks for virtual IP metadata
2022-07-27 13:54:34 -04:00
Chris S. Kim
146dd93775
Sort slice of ServiceNames deterministically
2022-07-27 13:54:34 -04:00
Chris S. Kim
85dd506ecb
Remove unnecessary goroutine in flaky test
...
The watch is established in a background goroutine and the first assertion proves that the watcher is active so there is no reason for the update to happen in a racy goroutine.
Note that this does not completely remove the race condition as the first call to testGetConfigValTimeout could time out before a config is returned.
2022-07-27 13:54:34 -04:00
Sarah Pratt
1bd5470b07
Separate port and socket path requirement in case of local agent assignment
2022-07-27 12:30:52 -05:00
Luke Kysow
92c1f30359
peering: don't track imported services/nodes in usage
...
Services/nodes that are imported from other peers are stored in
state. We don't want to count those as part of our own cluster's usage.
2022-07-27 09:08:51 -07:00
cskh
f7858a1bda
chore: clarify the error message: service.service must not be empty ( #13907 )
...
- when register service using catalog endpoint, the key of service
name actually should be "service". Add this information to the
error message will help user to quickly fix in the request.
2022-07-27 10:16:46 -04:00
Jared Kirschner
39480deed0
Merge pull request #13914 from hashicorp/docs/remove-comparisons-from-ref-docs
...
docs: remove comparative info from ref docs site
2022-07-27 02:42:41 -04:00
Jared Kirschner
41f5cd2a37
Merge pull request #12903 from hashicorp/docs/show-cli-cmd-options-before-general-options
...
Docs: Show CLI command-specific options before general options
2022-07-27 02:18:04 -04:00