Skip to content

Commit 61eec3d

Browse files
Update nodelocaldns.md
Resolve `sed` error commands in the IPVS mode.
1 parent 164cfdd commit 61eec3d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/en/docs/tasks/administer-cluster/nodelocaldns.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ This feature can be enabled using the following steps:
108108
* If kube-proxy is running in IPVS mode:
109109

110110
``` bash
111-
sed -i "s/__PILLAR__LOCAL__DNS__/$localdns/g; s/__PILLAR__DNS__DOMAIN__/$domain/g; s/,__PILLAR__DNS__SERVER__//g; s/__PILLAR__CLUSTER__DNS__/$kubedns/g" nodelocaldns.yaml
111+
sed -i "s/__PILLAR__LOCAL__DNS__/$localdns/g; s/__PILLAR__DNS__DOMAIN__/$domain/g; s/__PILLAR__DNS__SERVER__//g; s/__PILLAR__CLUSTER__DNS__/$kubedns/g" nodelocaldns.yaml
112112
```
113113

114114
In this mode, the `node-local-dns` pods listen only on `<node-local-address>`.

0 commit comments

Comments
 (0)