Uninstalling Event Gateways
How to safely uninstall an Event Gateway instance.
Uninstalling a Docker Event Gateway
-
Run the following command to list the running containers:
docker ps -
Locate the gateway in the list and stop the gateway container:
docker stop <container_id> -
After the container is stopped, delete the gateway container and image:
docker rm <gateway_container>docker rmi <gateway_image_name> - Delete the Event Gateway from the Event Endpoint Management UI. See Managing Event Gateways.
Uninstalling a Kubernetes Deployment Event Gateway
To delete a Kubernetes Deployment Event Gateway instance:
-
Delete the deployment:
kubectl -n <namespace> delete deploy <gateway-deployment> -
Delete the secret associated with the gateway:
kubectl -n <namespace> delete secret <gateway-secret>The secret has the same name as the gateway deployment.
-
Delete any associated services and ingresses or routes that you created for your Event Gateway instance.
kubectl -n <namespace> delete <service/ingress/route> <name> - Delete the Event Gateway from the Event Endpoint Management UI. See Managing Event Gateways.
Uninstalling an operator-managed Event Gateway
To delete an operator-managed Event Gateway instance:
- Delete the gateway
CR:
kubectl -n <namespace> delete egw <gateway cr name> -
Delete the secret associated with the gateway:
kubectl -n <namespace> delete secret <gateway-secret>The secret has the same name as the gateway CR.
-
Delete any associated routes, ingresses, and services that you created for your Event Gateway instance.
kubectl -n <namespace> delete <service/ingress/route> <name> - Delete the Event Gateway from the Event Endpoint Management UI. See Managing Event Gateways.