Skip to content

Commit b6f6127

Browse files
committed
[ja] Fix incorrect sed command
1 parent ce7e330 commit b6f6127

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ NodeLocal DNSキャッシュは、クラスターノード上でDNSキャッシ
7373
* kube-proxyがIPVSモードで稼働中のとき:
7474

7575
``` bash
76-
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
76+
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
7777
```
7878
このモードでは、node-local-dns Podは`<node-local-address>`上のみで待ち受けます。node-local-dnsのインターフェースはkube-dnsのクラスターIPをバインドしません。なぜならばIPVSロードバランシング用に使われているインターフェースは既にこのアドレスを使用しているためです。
7979
`__PILLAR__UPSTREAM__SERVERS__` はnode-local-dns Podにより生成されます。

0 commit comments

Comments
 (0)