Upgrading Docker and Kubernetes gateways

Upgrading Docker gateways

To upgrade a Docker Event Gateway, delete the existing Docker gateway and replace it with one that uses the Docker image of your target Event Endpoint Management version.

  1. Edit your backup of the Docker run command that you generated when you installed the gateway, and update the following properties:

    a. The image reference. Set the image reference to your target version. For example:

     -d icr.io/cpopen/ibm-eventendpointmanagement/egw:11.7.0
    

    b. If the new version requires an updated licence ID, then update LICENCE_ID.

    c. If you made additional configuration changes to your Docker gateway since installation, then ensure that your Docker command includes those changes.

  2. Uninstall the previous gateway as described in uninstalling a Docker Event Gateway.
  3. Run the Docker command that you prepared in step 1.

Upgrading Kubernetes Deployment gateways

To upgrade a Kubernetes Deployment Event Gateway, edit the Kubernetes Deployment and update the following properties:

  • The Docker image name that is specified in spec.template.spec.containers.egw.image. Set the image name to the target Event Endpoint Management version. For example:

      icr.io/cpopen/ibm-eventendpointmanagement/egw:11.7.0
    
  • If the target version requires a new license ID, update spec.template.spec.containers.egw.LICENSE_ID.

The gateway pod restarts when the image name is updated.