Upgrading operator-managed gateways
If you have operator-managed gateways, their upgrade is done by the Event Endpoint Management operator when you upgrade the Event Manager. Verify that your gateway instances upgraded successfully by following these steps:
- Log in to the Event Endpoint Management UI by using your login credentials.
- Click Administration > Event 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.
-
Edit your backup of the Docker
runcommand 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.3b. If the new version requires an updated license 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.
- Uninstall the previous gateway as described in uninstalling a Docker Event Gateway.
- 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.3 -
If the target version requires a new license ID, update
spec.template.spec.containers[egw].env[LICENSE_ID].
The gateway pod restarts when the image name is updated.
Optional: Add API key to your gateway instances
If your gateway instance does not have an API key property, and you are advised to add this property to your gateway, then follow these steps:
- Log in to the Event Endpoint Management UI by using your login credentials.
- Click Administration > Event Gateways.
- Click
More options next to the gateway instance. -
Click View configuration details and select the appropriate tab for your gateway type. Copy the following properties:
- Operator-managed
- The
spec.template.pod.spec.containers[egw].env[API_KEY]property. - The definition of the Secret that contains
stringData.apiKey.
- The
- Kubernetes Deployment
- The
spec.template.spec.containers[egw].env[API_KEY]property. - The definition of the Secret that contains
stringData.apiKey.
- The
- Docker
- The
API_KEYproperty. Add this property to your Docker gateway run command and restart the gateway. Update your gateway backup to include theAPI_KEYproperty.
- The
- Operator-managed
-
Kubernetes and Operator-managed gateways: Create a secret in your gateway namespace that contains the API key:
i. Create a new file:
apiKeySecret.yamland paste in the secret that you copied in step 4.ii. Create the secret in your gateway namespace:
kubectl -n <namespace> apply -f apiKeySecret.yaml - Kubernetes and Operator-managed gateways: Update your gateway deployment YAML or CR with the
API_KEYproperty that you copied in step 4.
Important: The YAML and Docker command syntax that is presented in the Event Endpoint Management UI does not include any customizations that you made to your gateway, such as additional security configuration. Do not replace your gateway’s YAML or Docker command with the configuration that is presented in the UI, replace only the API_KEY. After the gateway instance is upgraded, update your gateway backup.