Chapter 2. 3scale operator-based upgrade guide: from 2.7 to 2.8


This section contains information about upgrading Red Hat 3scale API Management from version 2.7 to 2.8, in an operator-based deployment.

Important

In order to understand the required conditions and procedure, read the entire upgrade guide before applying the listed steps. The upgrade process disrupts the provision of the service until the procedure finishes. Due to this disruption, make sure to have a maintenance window.

Prerequisites

  • 3scale 2.7 previously deployed via the 3scale operator.
  • An OpenShift Container Platform (OCP) 4.x cluster with administrator access.

2.1. Upgrading 3scale 2.7 to 2.8

To upgrade 3scale from version 2.7 to 2.8 in an operator-based deployment, use the following procedure.

Procedure

  1. Log in to the OCP console using the account with administrator privileges.
  2. Select the project where the 3scale-operator has been deployed.
  3. Click Operators > Installed Operators.
  4. Select 3scale operator Subscription > Channel.
  5. Edit the channel of the subscription by selecting the threescale-2.8 and save the changes.

    • This will start the upgrade process.
    • Wait until the upgrade process finishes for the APIManager.
  6. Query the pods status on the project:

    oc get pods
    • Wait until all the new versions are running and ready without errors.
    • They might have temporary errors during the upgrade process.

      Note

      Times can vary from 5-10 minutes approximately. Be sure to keep checking the state of the pods until all of them are running, ready, and without errors.

  7. Confirm the upgrade process has been successful, by logging in to the 3scale Admin Portal and check that it works as expected.
  8. Check the status of the APIManager objects and get the YAML content by running the following command:

    oc get apimanager <myapimanager> -o yaml
    1. The new annotations with the values should be shown as follows:

      apps.3scale.net/apimanager-threescale-version: "2.8"
      apps.3scale.net/threescale-operator-version: "0.5.0"

      After you have performed all the listed steps, 3scale upgrade from 2.7 to 2.8 in an operator-based deployment is now complete.

Red Hat logoGithubRedditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

© 2024 Red Hat, Inc.