Skip to content

Commit d0d1e93

Browse files
authored
Merge pull request #35627 from ZhangJinbao520/patch-6
Fix incorrect sed command
2 parents 77b688c + 61eec3d commit d0d1e93

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)