Upgrading the gateway subsystem on Kubernetes
Upgrade the gateway subsystem to a newer version of API Connect on Kubernetes.
Before you begin
Review and complete all steps in:
Note: To upgrade a high-availability cluster, ensure that you meet the following requirements:
- Gateways must be updated one at a time.
- Before you start the upgrade, a single gateway must be running as primary for all gateway-peering definitions.
- To upgrade multiple gateways, upgrade the primary gateway last.
Ensure that the pod with a name like gwv6-0 or gwv5-0 is the primary because it is the last node to be upgraded.
To determine which gateway is running as primary, use either- The show gateway-peering-status command in the DataPower CLI. Access the CLI
with:
kubectl attach -it <gateway pod name>
- The Gateway Peering Status display in the WebGUI (in the API Connect application domain).
To move the primary to the DataPower on which you are working, you can issue the following command:gateway-peering-switch-primary <peering-object-name>
- The show gateway-peering-status command in the DataPower CLI. Access the CLI
with:
About this task
Upgrade the analytics subsystem by updating the version property in your analytics CR. The API Connect operator detects this change and starts the upgrade.
Gateway upgrade can result in failure of some in-flight transactions, for more information see: API transactions might fail during the upgrade of gateway pods.