fix:ubuntu1804安装集群kubedns/coredns转发到node节点/etc/resolv.conf问题

pull/644/head
gjmzj 2019-07-18 10:33:19 +08:00
parent 2f82e931ec
commit f87eac6177
1 changed files with 4 additions and 0 deletions

View File

@ -63,7 +63,11 @@ oomScoreAdj: -999
podPidsLimit: -1
port: 10250
readOnlyPort: 0
{% if ansible_distribution_release == "bionic" %}
resolvConf: /run/systemd/resolve/resolv.conf
{% else %}
resolvConf: /etc/resolv.conf
{% endif %}
runtimeRequestTimeout: 2m0s
serializeImagePulls: true
streamingConnectionIdleTimeout: 4h0m0s