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.1.0 or 16.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¶
Unblock cluster update by removing any pinned product artifacts¶
If any pinned product artifacts are present in the Cluster
object of a
management or managed cluster, the update will be blocked by the Admission
Controller with the invalid HelmReleases configuration
error until such
artifacts are removed. The update process does not start and any changes in
the Cluster
object are blocked by the Admission Controller except the
removal of fields with pinned product artifacts.
Therefore, verify that the following sections of the Cluster
objects
do not contain any image-related (tag
, name
, pullPolicy
,
repository
) and global values inside Helm releases:
.spec.providerSpec.value.helmReleases
.spec.providerSpec.value.kaas.management.helmReleases
.spec.providerSpec.value.regionalHelmReleases
.spec.providerSpec.value.regional
For example, a cluster configuration that contains the following highlighted lines will be blocked until you remove them:
- name: kaas-ipam
values:
kaas_ipam:
image:
tag: base-focal-20230127092754
exampleKey: exampleValue
- name: kaas-ipam
values:
global:
anyKey: anyValue
kaas_ipam:
image:
tag: base-focal-20230127092754
exampleKey: exampleValue
The custom pinned product artifacts are inspected and blocked by the Admission Controller to ensure that Container Cloud clusters remain consistently updated with the latest security fixes and product improvements
Note
The pre-update inspection applies only to images delivered by Container Cloud that are overwritten. Any custom images unrelated to the product components are not verified and do not block cluster update.
Update queries for custom log-based metrics in StackLight¶
Container Cloud 2.26.0 introduces reorganized and significantly improved
StackLight logging pipeline. It involves changes in queries implemented
in the scope of the logging.metricQueries
feature designed for creation
of custom log-based metrics. For the procedure, see StackLight
operations: Create logs-based metrics.
If you already have some custom log-based metrics:
Before the cluster update, save existing queries.
After the cluster update, update the queries according to the changes implemented in the scope of the
logging.metricQueries
feature.
These steps prevent failures of queries containing fields that are renamed or removed in Container Cloud 2.26.0.
Post-update actions¶
Update bird configuration on BGP-enabled bare metal clusters¶
Container Cloud 2.26.0 introduces the bird
daemon update from v1.6.8
to v2.0.7 on master nodes if BGP is used for BGP announcement of the cluster
API load balancer address.
Configuration files for bird v1.x are not fully compatible with those for
bird v2.x. Therefore, if you used BGP announcement of cluster API LB address
on a deployment based on Cluster releases 17.0.0 or 16.0.0, update bird
configuration files to fit bird v2.x using configuration examples provided in
the API Reference: MultirRackCluster section.
Review and adjust the storage parameters for OpenSearch¶
To prevent underused or overused storage space, review your storage space parameters for OpenSearch on the StackLight cluster:
Review the value of
elasticsearch.persistentVolumeClaimSize
and the real storage available on volumes.Decide whether you have to additionally set
elasticsearch.persistentVolumeUsableStorageSizeGB
.
For both parameters description, see MOSK Operations Guide: StackLight configuration parameters - OpenSearch.