Skip to content

Commit 67c5034

Browse files
geoffclinetengqm
andauthored
Apply suggestions from code review
Co-authored-by: Qiming Teng <[email protected]>
1 parent 4492fc5 commit 67c5034

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

content/en/docs/tasks/administer-cluster/dns-debugging-resolution.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -258,18 +258,18 @@ CoreDNS must be able to list {{< glossary_tooltip text="service"
258258
term_id="service" >}} and {{< glossary_tooltip text="endpoint"
259259
term_id="endpoint" >}} related resources to properly resolve service names.
260260

261-
Sample Error Message:
261+
Sample error message:
262262
```
263263
2022-03-18T07:12:15.699431183Z [INFO] 10.96.144.227:52299 - 3686 "A IN serverproxy.contoso.net.cluster.local. udp 52 false 512" SERVFAIL qr,aa,rd 145 0.000091221s
264264
```
265265

266266
First, get the current ClusterRole of `system:coredns`:
267267

268-
```
268+
```shell
269269
kubectl describe clusterrole system:coredns -n kube-system
270270
```
271271

272-
Expected Output:
272+
Expected output:
273273
```
274274
PolicyRule:
275275
Resources Non-Resource URLs Resource Names Verbs
@@ -284,11 +284,11 @@ PolicyRule:
284284

285285
If any permissions are missing, edit the ClusterRole to add them:
286286

287-
```
287+
```shell
288288
kubectl edit clusterrole system:coredns -n kube-system
289289
```
290290

291-
Example Insertion of EndpointSlices Permissions:
291+
Example insertion of EndpointSlices permissions:
292292
```
293293
...
294294
- apiGroups:

0 commit comments

Comments
 (0)