v0.8.0
We're happy to announce the release of Lokomotive v0.8.0 (Hogwarts Express).
Changes in v0.8.0
Kubernetes updates
- Update AKS to
1.18.17(#1466).
Component updates
- Update
prometheus-operatorto0.46.0(#1440). - Update
contourtov1.13.1(#1450). - Update
calicotov3.18.1(#1453).
Terraform provider updates
- Update Terraform providers to their latest versions (#1451).
Features
- Add a certificate rotation command:
lokoctl cluster certificate rotate(#1435). - Add
reclaim_policyfield to componentsrook-ceph,openebs-storage-classandaws-ebs-csi-driver. Change the default behaviour of the default storage class toRetainfromDelete(#1369).
Deprecation and Removal
- Remove the
webhookfield from thecert-managercomponent (#1413).
Updating from v0.7.0
Configuration syntax changes
Reclaim Policy
This is an optional step and only applies if you use any of these storage components: rook-ceph, openebs-storage-class or aws-ebs-csi-driver.
If you are relying on the default values for the PersistentVolumes to have a reclaim policy as Delete, then please add the following field explicitly now:
reclaim_policy = "Delete"Cluster update steps
NOTE: Updating multiple Lokomotive versions at a time is not supported. If your cluster is running a version older than
v0.7.0, update tov0.7.0first and only then proceed with the update tov0.8.0.
Execute the following steps in your cluster configuration directory:
- Download and install the lokoctl binary by following the v0.8.0 installation guide and verify the version using
lokoctl version:
v0.8.0- Download the release bundle:
curl -LO https://github.com/kinvolk/lokomotive/archive/v0.8.0.tar.gz
tar -xvzf v0.8.0.tar.gz- On all platforms except AKS, update Calico CRDs:
kubectl apply -f ./lokomotive-0.8.0/assets/charts/control-plane/calico/crds/- Update the control-plane:
lokoctl cluster apply -vNOTE: If the update process gets interrupted, rerun the above command.
NOTE: If your cluster is running self-hosted kubelets, append
--upgrade-kubeletsto the above command.
NOTE: The command updates the cluster as well as any Lokomotive components
applied to it. Append--skip-componentsto 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"}Updating Contour
Manually update the CRDs before updating the component contour:
kubectl apply -f https://raw.githubusercontent.com/projectcontour/contour/release-1.13/examples/contour/01-crds.yamlUpdate the component:
lokoctl component apply contourUpdating Prometheus Operator
Manually update the CRDs before updating the component prometheus-operator:
kubectl apply -f ./lokomotive-0.8.0/assets/charts/components/prometheus-operator/crds/Update the component:
lokoctl component apply prometheus-operator