v0.7.0
We're happy to announce the release of Lokomotive v0.7.0 (Ghan).
Changes in v0.7.0
Kubernetes updates
- Update Kubernetes to v1.20.4 (#1410).
New components
- Add component
node-problem-detector
(#1384).
Component updates
Features
-
AWS EBS CSI Driver: Add
node_affinity
andtolerations
(#1393). -
EM: Add worker pool specific
facility
attribute (#1359).
Documentation
-
Use FLUO to update nodes (#1295).
-
How to add a worker pool in a different facility (#1361).
-
Refactor AWS quickstart guide (#1273).
Bug fixes
-
EM: Add
Restart=on-failure
andRestartSec=5s
for the metadata service (#1362). -
Fix wrong etcd settings, clean up leftovers from etcd move from rkt to docker based daemon (#1382).
-
contour: Fix hostPort regression (#1342).
Deprecation removal
-
baremetal: Remove
enable_tls_bootstrap
attribute (#1380). -
Remove a deprecated cert-manager namespace label
certmanager.k8s.io/disable-validation=true
(#1372).
Miscellaneous
-
AWS EBS CSI Driver: Change the StorageClass' default ReclaimPolicy to
Retain
(#1393). -
Include a "v" in version strings when releasing (#1417).
Updating from v0.6.1
Configuration syntax changes
Bare-metal
Delete the enable_tls_bootstrap
parameter from your cluster configuration since it has been removed in this release.
Cluster update steps
NOTE: Updating multiple Lokomotive versions at a time is not supported. If your cluster is running a version older than
v0.6.1
, update tov0.6.1
first and only then proceed with the update tov0.7.0
.
Execute the following steps in your cluster configuration directory:
- Download and install the lokoctl binary by following the
v0.7.0 installation guide
and verify the version usinglokoctl version
:
v0.7.0
- Update the control plane:
lokoctl cluster apply -v
NOTE: If the update process gets interrupted, rerun the above command.
NOTE: If your cluster is running self-hosted kubelets, append
--upgrade-kubelets
to the above command.
NOTE: The command updates the cluster as well as any Lokomotive components
applied to it. Append--skip-components
to the above command to avoid updating
the components. Components can then be updated individually usinglokoctl component apply
.
The update process typically takes about 10 minutes.
After the update, running lokoctl health
should result in an output similar to the following:
Node Ready Reason Message
lokomotive-controller-0 True KubeletReady kubelet is posting ready status
lokomotive-1-worker-0 True KubeletReady kubelet is posting ready status
lokomotive-1-worker-1 True KubeletReady kubelet is posting ready status
lokomotive-1-worker-2 True KubeletReady kubelet is posting ready status
Name Status Message Error
etcd-0 True {"health":"true"}
On all platforms except AKS, do the following:
- Download the release bundle:
curl -LO https://github.com/kinvolk/lokomotive/archive/v0.7.0.tar.gz
tar -xvzf v0.7.0.tar.gz
- Run the update script:
./lokomotive-0.7.0/scripts/update/0.6.1-0.7.0/update.sh