mirror of https://github.com/status-im/consul.git
Fix the Kubernetes service name for DNS
This commit is contained in:
parent
15ddbbc686
commit
d7b4ed1597
|
@ -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
|
To configure KubeDNS or CoreDNS you'll first need the `ClusterIP` of the Consul
|
||||||
DNS service created by the [Helm chart](/docs/k8s/helm).
|
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`:
|
that name to get the `ClusterIP`:
|
||||||
|
|
||||||
```shell-session
|
```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%
|
10.35.240.78%
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue