Merge pull request #12680 from hashicorp/fix-k8s-dns-service-name

Fix the Kubernetes service name for DNS
This commit is contained in:
Eric Haberkorn 2022-04-01 11:03:24 -04:00 committed by GitHub
commit a7d5aa94a3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -26,11 +26,11 @@ to turn on [Consul to Kubernetes Service Sync](/docs/k8s/service-sync#consul-to-
To configure KubeDNS or CoreDNS you'll first need the `ClusterIP` of the Consul
DNS service created by the [Helm chart](/docs/k8s/helm).
The default name of the Consul DNS service will be `consul-consul-dns`. Use
The default name of the Consul DNS service will be `consul-dns`. Use
that name to get the `ClusterIP`:
```shell-session
$ kubectl get svc consul-consul-dns --output jsonpath='{.spec.clusterIP}'
$ kubectl get svc consul-dns --output jsonpath='{.spec.clusterIP}'
10.35.240.78%
```