Upgrading to 0.10.x
This guide explains how to upgrade from 0.9.x to 0.10.x.
Before you begin
Before you begin the upgrade process, ensure that you have a backup of your data.
The upgrade process will not touch the actual backup data, but might change the resource definitions and recreate the Deployments of backups, the operator, and other components.
Checklist
Follow the steps in this checklist to upgrade to 0.10.x.
Pause backups
Pause all backups to prevent any changes to the backup data by setting the .spec.enabled
field to false
.
Replace [NAMESPACE]
with the namespace where the backups are located.
Pause existing operator
Pause the existing operator by setting the .spec.replicas
field to 0
.
This will ensure no changes are made to the existing resources while the upgrade is in progress.
Upgrade CRDs
Install the new Custom Resource Definitions (CRDs) for 0.10.x.:
Using kubectl
Using Helm
Update resources
Update the existing resources to use the new fields and features available in 0.10.x.
Migrate Restores to use the new topics
field
The topics
field has been introduced in 0.9.x to simplify the configuration of topic mappings in a restore,
and replaces the deprecated .spec.config.mapping
field.
The .spec.config.mapping
field has been removed in 0.10.
Migrate Backups to segmentRolloverTriggers
The partitionRolloverTriggers
field has been renamed to segmentRolloverTriggers
in 0.9.x.
The .spec.partitionRolloverTriggers
has been removed in 0.10.
Install application with updated Helm values
Configure the schema registry image
The operator.config.schemaRegistryBackup.image
field has been removed in favour of a new operator.config.schemaRegistryImage
.
In case you require a specific image for the Schema Registry Backup component,
e.g. when using a private registry or a custom image,
you can configure the image in the Helm chart:
Configure operator for SchemaRegistryRestore
New operator.config.schemaRegistryRestore
settings are available for the new SchemaRegistryRestore resource.
In case you require specific settings for all pods running a SchemaRegistryBackup resource (security context, resource requirements, etc.), you can configure default pod settings in the Helm chart:
Install the new version of Kannika Armory
Install the new version of Kannika Armory using Helm:
Enable backups again
Once you have completed the upgrade process,
enable backups again by setting the .spec.enabled
field to true
.
Replace [NAMESPACE]
with the namespace where the backups are located.
Verify the installation
Verify that the upgrade was successful by checking the logs of the Kannika Armory components:
Verify that the backups are running as expected:
If you encounter any issues during the upgrade process, do not hesitate to contact us on Slack.