consul/website/content/docs/k8s
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
..
connect fixed broken links associated with cluster peering updates (#16523) 2023-03-03 11:17:26 -08:00
crds fixed broken links associated with cluster peering updates (#16523) 2023-03-03 11:17:26 -08:00
deployment-configurations First cluster grpc service should be NodePort for the second cluster to connect (#16430) 2023-03-16 16:43:19 +00:00
installation docs: Migrate link formats (#15976) 2023-01-25 08:52:43 -08:00
operations docs: Migrate link formats (#15976) 2023-01-25 08:52:43 -08:00
platforms docs: Migrate link formats (#15976) 2023-01-25 08:52:43 -08:00
upgrade docs: Migrate link formats (#15976) 2023-01-25 08:52:43 -08:00
annotations-and-labels.mdx fixed broken links associated with cluster peering updates (#16523) 2023-03-03 11:17:26 -08:00
architecture.mdx docs: Migrate link formats (#15976) 2023-01-25 08:52:43 -08:00
compatibility.mdx Update docs for consul-k8s 1.1.0 (#16447) 2023-02-27 19:50:01 -05:00
dns.mdx Docs/services refactor docs day 122022 (#16103) 2023-02-28 14:09:56 -08:00
helm.mdx Update docs for consul-k8s 1.1.0 (#16447) 2023-02-27 19:50:01 -05:00
index.mdx docs: Migrate link formats (#15976) 2023-01-25 08:52:43 -08:00
k8s-cli.mdx Update the consul-k8s cli docs for the new `proxy log` subcommand (#16458) 2023-03-06 20:43:36 +00:00
service-sync.mdx Docs/services refactor docs day 122022 (#16103) 2023-02-28 14:09:56 -08:00