Skip to content
This repository was archived by the owner on Jul 30, 2021. It is now read-only.

Commit fa0015a

Browse files
authored
Merge pull request #160 from aaronlevy/doc-update
Documentation: Add on-host kubelet upgrade
2 parents cc2fccc + c96900a commit fa0015a

File tree

1 file changed

+17
-1
lines changed

1 file changed

+17
-1
lines changed

Documentation/upgrading.md

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,23 @@ Verify that the kubelet and kube-proxy on each node have been upgraded.
150150
kubeProxyVersion: v1.4.3+coreos.0
151151
kubeletVersion: v1.4.3+coreos.0
152152

153-
Now, Kubernetes components have been upgraded to a new version of Kubernetes!
153+
Now, all self-hosted Kubernetes components have been upgraded to a new version of Kubernetes!
154+
155+
## On-host Kubelet
156+
157+
The on-host kubelet is started by systemd, and is used to launch, and be replaced by, the self-hosted kubelet. While the on-host kubelet is short-lived, it should be kept up to date with the self hosted components.
158+
159+
On each host running a kubelet, modify the kubelet systemd unit to reference a new `KUBELET_VERSION` (an example snippet is below)
160+
161+
`/etc/systemd/system/kubelet.service`
162+
163+
[Service]
164+
Environment=KUBELET_VERSION=v1.4.3_coreos.0
165+
166+
Reload systemd daemon and restart the kubelet unit:
167+
168+
$ sudo systemctl daemon-reload
169+
$ sudo systemctl restart kubelet
154170

155171
## Going Further
156172

0 commit comments

Comments
 (0)