Upgrading the IBM App Connect Operator from an earlier to a later Continuous Delivery (CD) version on Kubernetes
If you are working in a Kubernetes environment, use these instructions to upgrade the IBM® App Connect Operator to the latest Continuous Delivery (CD) version. The Operator deployment is managed by Helm and you can upgrade from the Kubernetes CLI by running helm commands.
These instructions apply if you are upgrading an independent deployment of the IBM App Connect Operator.
Before you begin
- Ensure that you have cluster administrator authority with
cluster-admin
permissions. - Ensure that you are logged in to your Kubernetes environment.
- If you want to upgrade your deployment in an air-gapped cluster, you must have mirrored the latest App Connect images to a private registry in your cluster. For more information, see Mirroring the IBM App Connect images to an air-gapped cluster.
- Ensure that you have the pull secrets that you need to authenticate to the registry where the App Connect images are stored, and to pull the images that are needed to upgrade your Operator deployment. (You can use the pull secrets that are used in your existing Operator deployment.)
- Review the Upgrade considerations for channels, versions, licenses, Red Hat OpenShift, Kubernetes, and IAM.
About this task
Complete this sequence of steps to upgrade the IBM App Connect Operator:
Preparing your Operator deployment for the upgrade
Before you upgrade to the latest IBM App Connect Operator version, first download the latest Helm chart that packages the Kubernetes resources, provides configuration options, references the Docker images for the software packages, and includes templates, and other metadata that are needed to deploy the Operator.
You can download the chart from the IBM Charts Helm Repository on GitHub.
You also need to patch or update the existing IBM App Connect Custom Resource Definitions (CRDs), which are cluster scoped, in preparation for the upgrade. Helm will not automatically update these CRDs when you run the helm upgrade command to upgrade to IBM App Connect Operator 12.11.1 in the next task. Therefore, you need to manually update the existing CRDs before you upgrade the Operator.
Procedure
To prepare your Operator deployment for the upgrade, complete the following steps:
Upgrading the Operator
After you complete the steps to download the Helm chart and update your existing CRDs, you can run the helm upgrade command to upgrade to IBM App Connect Operator 12.11.1.
If you are upgrading from IBM App Connect Operator 12.5.1, you cannot simply run the helm upgrade command to upgrade your Operator as described in this task. Due to a fix for label selectors in version 12.6.0 or later, you must instead uninstall your 12.5.1 Operator and then reinstall the latest Operator version because label selectors are immutable. The uninstall and reinstall actions need to be completed only for the Operator. The high-level steps are as follows:
- Uninstall your existing 12.5.1 Operator by running the helm uninstall
command; for
example:
helm uninstall ibm-appconnect -n helmChartInstallationNamespace
For more information, see Uninstalling IBM App Connect from the Kubernetes cluster.
Important: Do not delete your CRDs (by running kubectl delete) and do not delete your existing App Connect Dashboard, App Connect Designer, switch server, integration server, and integration runtime instances because you risk losing data.
- Install the Helm chart for the latest version of the Operator in the same namespace as the
deleted 12.5.1 Operator by running the helm install command; for
example:
helm install \ ibm-appconnect ibm-helm/ibm-appconnect-operator \ -n helmChartInstallationNamespace \ --set namespace="helmChartInstallationNamespace" \ --set operator.imagePullSecrets=["ibm-entitlement-key"] \ --set operator.installMode="AllNamespaces"
For more information, see Installing the IBM App Connect Operator by using a Helm chart.
Procedure
To upgrade to the latest version of the IBM App Connect Operator, complete the following steps:
What to do next
- Review Upgrade considerations for IBM App Connect instances to see whether you need to take any action before you upgrade existing instances of App Connect Dashboard, App Connect Designer, switch servers, integration servers, and integration runtimes.
- Upgrade as described in Upgrading your instances.