Fix the Kubernetes service name for DNS

This commit is contained in:
Eric 2022-04-01 10:38:56 -04:00
parent 15ddbbc686
commit d7b4ed1597
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%
```