Page MenuHomePhabricator

Ensure kubelet is stopped on Tools Proxy hosts
Closed, ResolvedPublic

Description

We discovered that with the new k8s packages the kubelet component is installed and started along with kube-proxy. This can create issues if there is a web server running locally as the kubelet service will errantly try to contact the api server it has by default (localhost) creating a many errors per second situation /forever/.

/etc/default/kubelet
KUBELET_API_SERVER="--api-servers=http://127.0.0.1:8080"

root 10126 1 1 Mar31 ? 05:26:01 /usr/bin/kubelet --address=127.0.0.1 --hostname-override=127.0.0.1 --api-servers=http://127.0.0.1:8080

Event Timeline

Change 349109 had a related patch set uploaded (by Madhuvishy):
[operations/puppet@production] tools-proxy: Ensure kubelet is stopped on tools proxy nodes

https://gerrit.wikimedia.org/r/349109

Change 349109 merged by Madhuvishy:
[operations/puppet@production] tools-proxy: Ensure kubelet is stopped on tools proxy nodes

https://gerrit.wikimedia.org/r/349109