Skip to content

Commit 1e4a57b

Browse files
authored
Update nodelocaldns.md
use ",_PILLAR__DNS__SERVER_" as old pattern instead of "_PILLAR__DNS__SERVER_" when use ipvs mode. In English localization, the pattern is ",_PILLAR__DNS__SERVER_" but when in zh localization, the comma lost.
1 parent c2f0ae3 commit 1e4a57b

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)