Update notes¶
This section describes the specific actions you as a cloud operator need to complete before or after your Container Cloud cluster update to the Cluster releases 17.0.0, 16.0.0, or 14.1.0.
Consider this information as a supplement to the generic update procedures published in Operations Guide: Automatic upgrade of a management cluster and Update a managed cluster.
Pre-update actions¶
Upgrade to Ubuntu 20.04 on baremetal-based clusters¶
The Cluster release series 14.x and 15.x are the last ones where Ubuntu 18.04 is supported on existing clusters. A Cluster release update to 17.0.0 or 16.0.0 is impossible for a cluster running on Ubuntu 18.04.
Therefore, if your cluster update is blocked, make sure that the operating system on all cluster nodes is upgraded to Ubuntu 20.04 as described in Operations Guide: Upgrade an operating system distribution.
Configure managed clusters with the etcd storage quota set¶
If your cluster has custom etcd storage quota set as described in
Increase storage quota for etcd, before the management cluster upgrade to 2.25.0,
configure LCMMachine
resources:
Manually set the
ucp_etcd_storage_quota
parameter inLCMMachine
resources of the cluster controller nodes:spec: stateItemsOverwrites: deploy: ucp_etcd_storage_quota: "<custom_etcd_storage_quota_value>"
If the
stateItemsOverwrites.deploy
section is already set, appenducp_etcd_storage_quota
to the existing parameters.To obtain the list of the cluster
LCMMachine
resources:kubectl -n <cluster_namespace> get lcmmachine
To patch the cluster
LCMMachine
resources of theType
control:kubectl -n <cluster_namespace> edit lcmmachine <control_lcmmachine_name>
After the management cluster is upgraded to 2.25.0, update your managed cluster to the Cluster release 17.0.0 or 16.0.0.
Manually remove the
ucp_etcd_storage_quota
parameter from thestateItemsOverwrites.deploy
section.
Allow the TCP port 12392 for management cluster nodes¶
The Cluster release 16.x and 17.x series are shipped with MKE 3.7.x. To ensure cluster operability after the update, verify that the TCP port 12392 is allowed in your network for the Container Cloud management cluster nodes.
For the full list of the required ports for MKE, refer to MKE Documentation: Open ports to incoming traffic.
Post-update actions¶
Migrate Ceph cluster to address storage devices using by-id¶
Container Cloud uses the device by-id
identifier as the default method
of addressing the underlying devices of Ceph OSDs. This is the only persistent
device identifier for a Ceph cluster that remains stable after cluster
upgrade or any other cluster maintenance.
Therefore, if your existing Ceph clusters are still utilizing the device names
or device by-path
symlinks, migrate them to the by-id
format as
described in Migrate Ceph cluster to address storage devices using by-id.
Point DHCP relays on routers to the new dhcp-lb IP address¶
If your managed cluster has multiple L2 segments using DHCP relays on the
border switches, after the related management cluster automatically upgrades
to Container Cloud 2.25.0, manually point the DHCP relays on your network
infrastructure to the new IP address of the dhcp-lb
service of the
Container Cloud managed cluster in order to successfully provision new nodes
or reprovision existing ones.
To obtain the new IP address:
kubectl -n kaas get service dhcp-lb
This change is required after the product has included the resolution of
the issue related to the incorrect handling of DHCP egress traffic. The fix
involves reconfiguring the external traffic policy for the dhcp-lb
Kubernetes Service. For details about the issue, refer to the
Kubernetes upstream bug.