Skip to content

Commit 6d4398e

Browse files
committed
Use CoreDNS instead of coredns when describing the service.
1 parent 69f90dd commit 6d4398e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/self-hosted/kubernetes-troubleshooting.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -93,18 +93,18 @@ local DNS servers or `/etc/resolv.conf`), these names are not resolvable within
9393

9494
You can configure additional hostnames to be resolved by the cluster by following the instructions below.
9595

96-
Make a backup of the current `coredns` config to a yaml file in case you need to revert changes or want to keep it as
96+
Make a backup of the current CoreDNS config to a yaml file in case you need to revert changes or want to keep it as
9797
a reference:
9898
```
9999
kubectl -n kube-system get configmap coredns -o yaml > coredns-config.yaml
100100
```
101101

102-
Start editing the `coredns` config by issuing the following command:
102+
Start editing the CoreDNS config by issuing the following command:
103103
```
104104
kubectl -n kube-system edit configmap coredns
105105
```
106106

107-
This will open the current `coredns` config in your default editor. Add all additional hostnames with corresponding IPs to the `hosts` config block.
107+
This will open the current CoreDNS config in your default editor. Add all additional hostnames with corresponding IPs to the `hosts` config block.
108108
If the `hosts` config block doesn't exist yet, please add it.
109109

110110
**Important:** Add the `fallthrough` entry as the last entry in order to resolve all other hostnames that are not listed in the `hosts` config block!
@@ -140,7 +140,7 @@ data:
140140
```
141141

142142

143-
Restart coredns to apply the changes:
143+
Restart CoreDNS to apply the changes:
144144
```
145145
kubectl -n kube-system rollout restart deployment coredns
146146
```

0 commit comments

Comments
 (0)