consul/website/content/docs
Vipin John Wilson c26b6bc037
First cluster grpc service should be NodePort for the second cluster to connect (#16430)
* First cluster grpc service should be NodePort

This is based on the issue opened here https://github.com/hashicorp/consul-k8s/issues/1903

If you follow the documentation https://developer.hashicorp.com/consul/docs/k8s/deployment-configurations/single-dc-multi-k8s exactly as it is, the first cluster will only create the consul UI service on NodePort but not the rest of the services (including for grpc). By default, from the helm chart, they are created as headless services by setting clusterIP None. This will cause an issue for the second cluster to discover consul server on the first cluster over gRPC as it cannot simply cannot through gRPC default port 8502 and it ends up in an error as shown in the issue https://github.com/hashicorp/consul-k8s/issues/1903

As a solution, the grpc service should be exposed using NodePort (or LoadBalancer). I added those changes required in both cluster1-values.yaml and cluster2-values.yaml, and also a description for those changes for the normal users to understand. Kindly review and I hope this PR will be accepted.

* Update website/content/docs/k8s/deployment-configurations/single-dc-multi-k8s.mdx

Co-authored-by: trujillo-adam <47586768+trujillo-adam@users.noreply.github.com>

* Update website/content/docs/k8s/deployment-configurations/single-dc-multi-k8s.mdx

Co-authored-by: trujillo-adam <47586768+trujillo-adam@users.noreply.github.com>

* Update website/content/docs/k8s/deployment-configurations/single-dc-multi-k8s.mdx

Co-authored-by: trujillo-adam <47586768+trujillo-adam@users.noreply.github.com>

---------

Co-authored-by: trujillo-adam <47586768+trujillo-adam@users.noreply.github.com>
2023-03-16 16:43:19 +00:00
..
agent Add known issues to Raft WAL docs. (#16600) 2023-03-15 04:21:31 +00:00
api-gateway fixed broken links associated with cluster peering updates (#16523) 2023-03-03 11:17:26 -08:00
architecture docs(architecture): remove merge conflict leftovers (#16507) 2023-03-02 21:02:52 +00:00
concepts Broken link fixes (#16566) 2023-03-07 23:27:11 +00:00
connect fixes for unsupported partitions field in CRD metadata block (#16604) 2023-03-10 19:33:42 +00:00
consul-vs-other Docs/services refactor docs day 122022 (#16103) 2023-02-28 14:09:56 -08:00
dynamic-app-config docs: update redirected links (#16179) 2023-02-07 10:36:32 -06:00
ecs Docs/services refactor docs day 122022 (#16103) 2023-02-28 14:09:56 -08:00
enterprise Update docs to reflect functionality (#16549) 2023-03-07 08:21:23 -08:00
guides docs: Migrate link formats (#15976) 2023-01-25 08:52:43 -08:00
install Add missing doc for gRPC TLS (#16161) 2023-02-07 03:01:28 +00:00
integrate docs: Migrate link formats (#15976) 2023-01-25 08:52:43 -08:00
internals docs: Migrate link formats (#15976) 2023-01-25 08:52:43 -08:00
intro Broken link fixes (#16566) 2023-03-07 23:27:11 +00:00
k8s First cluster grpc service should be NodePort for the second cluster to connect (#16430) 2023-03-16 16:43:19 +00:00
lambda docs: Migrate link formats (#15976) 2023-01-25 08:52:43 -08:00
nia Broken link fixes (#16566) 2023-03-07 23:27:11 +00:00
release-notes Update the consul-k8s cli docs for the new `proxy log` subcommand (#16458) 2023-03-06 20:43:36 +00:00
security Docs/services refactor docs day 122022 (#16103) 2023-02-28 14:09:56 -08:00
services Docs discovery typo (#16628) 2023-03-14 08:49:48 -07:00
troubleshoot Docs/services refactor docs day 122022 (#16103) 2023-02-28 14:09:56 -08:00
upgrading Docs/services refactor docs day 122022 (#16103) 2023-02-28 14:09:56 -08:00
index.mdx docs: Migrate link formats (#15976) 2023-01-25 08:52:43 -08:00