Skip to content

Commit

Permalink
关闭kubelet只读端口
Browse files Browse the repository at this point in the history
  • Loading branch information
gjmzj committed Feb 1, 2020
1 parent cb35be0 commit 5a1f5cd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions roles/kube-node/templates/kubelet-config.yaml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -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 %}
Expand Down

0 comments on commit 5a1f5cd

Please sign in to comment.