typhoon/docs/addons/cluo.md
Dalton Hubble 7a0a60708e Bump Container Linux version shown in docs
* Be sure docs and examples list Container Linux versions that
have been patched for Meltdown just in case someone copy-pastes
or sees them as recent versions
2018-01-06 14:58:38 -08:00

1.2 KiB

Container Linux Update Operator

The Container Linux Update Operator (i.e. CLUO) coordinates reboots of auto-updating Container Linux nodes so that one node reboots at a time and nodes are drained before reboot. CLUO enables the auto-update behavior Container Linux clusters are known for, but does so in a Kubernetes native way.

Create

Create the update-operator deployment and update-agent DaemonSet.

kubectl apply -f addons/cluo -R

Usage

update-agent runs as a DaemonSet and annotates a node when update-engine.service indicates an update has been installed and a reboot is needed. It also adds additional labels and annotations to nodes.

$ kubectl get nodes --show-labels
...
container-linux-update.v1.coreos.com/group=stable
container-linux-update.v1.coreos.com/version=1576.5.0

update-operator ensures one node reboots at a time and that pods are drained prior to reboot.

!!! note "" CLUO replaces locksmithd reboot coordination. The update_engine systemd unit on hosts still performs the Container Linux update check, download, and install to the inactive partition.