From 5a1f5cda973b71c205560c91f263faf5fef9292e Mon Sep 17 00:00:00 2001 From: gjmzj Date: Sat, 1 Feb 2020 10:06:07 +0800 Subject: [PATCH] =?UTF-8?q?=E5=85=B3=E9=97=ADkubelet=E5=8F=AA=E8=AF=BB?= =?UTF-8?q?=E7=AB=AF=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- roles/kube-node/templates/kubelet-config.yaml.j2 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/kube-node/templates/kubelet-config.yaml.j2 b/roles/kube-node/templates/kubelet-config.yaml.j2 index c66a3f6..86ff125 100644 --- a/roles/kube-node/templates/kubelet-config.yaml.j2 +++ b/roles/kube-node/templates/kubelet-config.yaml.j2 @@ -62,8 +62,8 @@ nodeStatusUpdateFrequency: 10s oomScoreAdj: -999 podPidsLimit: -1 port: 10250 -# for now 'heapster' needs kubelet's 'readOnlyPort', in the future 'readOnlyPort: 0' will be set -readOnlyPort: 10255 +# disable readOnlyPort +readOnlyPort: 0 {% if ansible_distribution_release == "bionic" %} resolvConf: /run/systemd/resolve/resolv.conf {% else %}