Skip to content
This repository has been archived by the owner on May 6, 2020. It is now read-only.

Commit

Permalink
kubelet: Don't listen on unused health port
Browse files Browse the repository at this point in the history
* This port is not used in Lokomotive for anything, so rather close it.

Signed-off-by: Suraj Deshmukh <[email protected]>
  • Loading branch information
surajssd committed Feb 12, 2020
1 parent ee0e237 commit c443f92
Show file tree
Hide file tree
Showing 12 changed files with 12 additions and 0 deletions.
1 change: 1 addition & 0 deletions aws/flatcar-linux/kubernetes/cl/controller.yaml.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ systemd:
--cni-conf-dir=/etc/kubernetes/cni/net.d \
--config=/etc/kubernetes/kubelet.config \
--exit-on-lock-contention \
--healthz-port=0 \
--kubeconfig=/etc/kubernetes/kubeconfig \
--lock-file=/var/run/lock/kubelet.lock \
--network-plugin=cni \
Expand Down
1 change: 1 addition & 0 deletions aws/flatcar-linux/kubernetes/workers/cl/worker.yaml.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ systemd:
--cni-conf-dir=/etc/kubernetes/cni/net.d \
--config=/etc/kubernetes/kubelet.config \
--exit-on-lock-contention \
--healthz-port=0 \
--kubeconfig=/etc/kubernetes/kubeconfig \
--lock-file=/var/run/lock/kubelet.lock \
--network-plugin=cni \
Expand Down
1 change: 1 addition & 0 deletions azure/flatcar-linux/kubernetes/cl/controller.yaml.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ systemd:
--cluster_domain=${cluster_domain_suffix} \
--cni-conf-dir=/etc/kubernetes/cni/net.d \
--exit-on-lock-contention \
--healthz-port=0 \
--kubeconfig=/etc/kubernetes/kubeconfig \
--lock-file=/var/run/lock/kubelet.lock \
--network-plugin=cni \
Expand Down
1 change: 1 addition & 0 deletions azure/flatcar-linux/kubernetes/workers/cl/worker.yaml.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ systemd:
--cluster_domain=${cluster_domain_suffix} \
--cni-conf-dir=/etc/kubernetes/cni/net.d \
--exit-on-lock-contention \
--healthz-port=0 \
--kubeconfig=/etc/kubernetes/kubeconfig \
--lock-file=/var/run/lock/kubelet.lock \
--network-plugin=cni \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ systemd:
--cluster_domain=${cluster_domain_suffix} \
--cni-conf-dir=/etc/kubernetes/cni/net.d \
--exit-on-lock-contention \
--healthz-port=0 \
--hostname-override=${domain_name} \
--kubeconfig=/etc/kubernetes/kubeconfig \
--lock-file=/var/run/lock/kubelet.lock \
Expand Down
1 change: 1 addition & 0 deletions bare-metal/flatcar-linux/kubernetes/cl/worker.yaml.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ systemd:
--cluster_domain=${cluster_domain_suffix} \
--cni-conf-dir=/etc/kubernetes/cni/net.d \
--exit-on-lock-contention \
--healthz-port=0 \
--hostname-override=${domain_name} \
--kubeconfig=/etc/kubernetes/kubeconfig \
--lock-file=/var/run/lock/kubelet.lock \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ systemd:
--cluster_domain=${cluster_domain_suffix} \
--cni-conf-dir=/etc/kubernetes/cni/net.d \
--exit-on-lock-contention \
--healthz-port=0 \
--kubeconfig=/etc/kubernetes/kubeconfig \
--lock-file=/var/run/lock/kubelet.lock \
--network-plugin=cni \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ systemd:
--cluster_domain=${cluster_domain_suffix} \
--cni-conf-dir=/etc/kubernetes/cni/net.d \
--exit-on-lock-contention \
--healthz-port=0 \
--kubeconfig=/etc/kubernetes/kubeconfig \
--lock-file=/var/run/lock/kubelet.lock \
--network-plugin=cni \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ systemd:
--cni-conf-dir=/etc/kubernetes/cni/net.d \
--config=/etc/kubernetes/kubelet.config \
--exit-on-lock-contention \
--healthz-port=0 \
--kubeconfig=/etc/kubernetes/kubeconfig \
--lock-file=/var/run/lock/kubelet.lock \
--hostname-override=${etcd_domain} \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ systemd:
--cni-conf-dir=/etc/kubernetes/cni/net.d \
--config=/etc/kubernetes/kubelet.config \
--exit-on-lock-contention \
--healthz-port=0 \
--kubeconfig=/etc/kubernetes/kubeconfig \
--lock-file=/var/run/lock/kubelet.lock \
--network-plugin=cni \
Expand Down
1 change: 1 addition & 0 deletions packet/flatcar-linux/kubernetes/cl/controller.yaml.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ systemd:
--cni-conf-dir=/etc/kubernetes/cni/net.d \
--config=/etc/kubernetes/kubelet.config \
--exit-on-lock-contention \
--healthz-port=0 \
--kubeconfig=/etc/kubernetes/kubeconfig \
--lock-file=/var/run/lock/kubelet.lock \
--network-plugin=cni \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ systemd:
--cni-conf-dir=/etc/kubernetes/cni/net.d \
--config=/etc/kubernetes/kubelet.config \
--exit-on-lock-contention \
--healthz-port=0 \
--kubeconfig=/etc/kubernetes/kubeconfig \
--lock-file=/var/run/lock/kubelet.lock \
--network-plugin=cni \
Expand Down

0 comments on commit c443f92

Please sign in to comment.