Important Notice: Releases v1.25.0, v1.25.1, and v1.25.3 have a known critical issue. We strongly recommend using Kublr 1.26.1 or a later version instead.
Important Notice: Kublr v1.26.1 should only be upgraded from v1.25.0 or higher.
To upgrade to Kublr v1.26.1, you must first upgrade to v1.25.4. Skipping upgrades (from v1.24, v1.23, v1.22, etc.) is not supported and may not work as intended.
It is highly recommended to use at least Kublr v1.26.1 as it includes several critical patches and fixes.
Before upgrading, it is advisable to backup your KCP data using the instructions found on the support portal:
Other useful links:
Before upgrading your Kublr managed clusters to Kubernetes v1.25 (v1.25.9 by default), please note that PSP support has been deprecated. You will need to remove PSP from your applications, and the Kublr team recommends upgrading all Kublr components before starting any Kubernetes upgrades.
Kublr Control Plane v1.26.0 uses Bitnami MongoDB HA Helm chart v13.9.0 and provides automatic migration to MongoDB v5.0.17. The migration supports only MongoDB v4.4.0 and above. Kublr v1.25.0 and above use MongoDB v4.4.18 and provide support for MongoDB upgrades.
Do not attempt to upgrade Kublr Control Plane prior to v1.25.0 to v1.26.0! Skipping upgrades (from v1.24, v1.23, v1.22, etc.) is not supported and may not work as intended.
The Kublr feature Ingress controller uses the ingress-nginx Helm chart v4.7.0. Based on the Kubernetes compatibility matrix, Kublr uses the nginx controller tag v1.6.4. You can change the tag via the cluster specification:
spec:
features:
ingress:
values:
nginx-ingress:
controller:
image:
# https://github.com/kubernetes/ingress-nginx/#supported-versions-table
tag: "v1.6.4"
Starting from v1.25.0, Kublr deprecates the kublrAgentTgzUrl
agent definition and moves to structured annotations.
For example, use:
spec:
kublrAgentBinary:
kublrAgentRef: 1.22.17-11
kublrSeederBinary:
kublrAgentRef: 1.25.9-13
instead of:
spec:
kublrAgentTgzUrl: https://repo.kublr.com/repository/gobinaries/kublr/1.22.17-4/kublr-1.22.17-4-linux.tar.gz
kublrSeederTgzUrl: https://repo.kublr.com/repository/gobinaries/kublr/1.25.6-4/kublr-1.25.6-4-linux.tar.gz
When you start the upgrade, you will be notified about these changes. You can either ignore this warning or remove old annotations from the cluster specification after migrating to agents released with v1.25.0 or above (1.21.14-23, 1.22.17-10, 1.23.17-4, 1.24.13-3, 1.25.9-12).
Kublr v1.26.0 uses CertManager v1.10.2.
Before upgrading, make sure that all CertManager CRs are ready for migration or migrate them manually. For more information about the CRD deprecation and migration procedure, refer to the CertManager documentation at https://cert-manager.io/docs/installation/upgrading/remove-deprecated-apis/.
Kublr Kubernetes clusters deployed on Azure with earlier versions of Kublr may experience an Azure deployment error during an upgrade or update. To fix this issue, please refer to the Kublr Support Portal article on Azure: Fixing the Zoned Resources Error on Migration to Kublr 1.23.0 or Higher.
If you have Kubernetes clusters deployed on vSphere using cloud-init based VM images, you may encounter an error from terraform processes during an upgrade to Kublr 1.25.0 or higher:
Error running command 'govc datastore.mv -f=true -ds=<Shared-Data-Store-NAME> <Kublr-Cluser-Name>-vsp1-master-0-cloud-init.iso <Kublr-Cluser-Name>-vsp1-master-0-cloud-init.iso.<SHA-SUM>.old`: exit status 1.
govc: File [Shared-Data-Store-NAME] <Kublr-Cluser-Name>-vsp1-master-0-cloud-init.iso.<SHA-SUM>.old was not found
To resolve this issue, please unmount CD/DVD drive 1 from each virtual machine manually using the vCenter console and try upgrading again.
When upgrading to Kublr Control Plane v1.26.1, make sure to use the following component versions: