Contact Us 1-800-596-4880

Uninstall Self-Managed Omni Gateway

You can uninstall Omni Gateway running as a Linux service, in a container, or in a Kubernetes cluster.

20%

25%

20%

Uninstall Omni Gateway Running as a Linux Service

Omni Gateway can be uninstalled as any other package:

sudo apt remove -y flex-gateway

Uninstall Omni Gateway Running in a Docker Container

To uninstall Omni Gateway, stop and remove the Omni Gateway container:

  1. Determine the Omni Gateway container ID by listing all the running containers:

    docker ps
  2. In the list of containers, note the container ID associated with the Omni Gateway container you want to uninstall.

  3. Stop the Omni Gateway container:

    docker stop <container id>

    Replace <container-id with the container ID of the Omni Gateway container you want to stop:

  4. Remove the Omni Gateway container:

    docker rm <container id>

    Replace <container-id with the container ID of the Omni Gateway container you want to remove. The command permanently deletes the container and its associated resources.

  5. Optionally, remove the Omni Gateway container image:

    docker rmi mulesoft/flex-gateway
  6. To confirm that Omni Gateway is uninstalled, run the docker ps command again. The uninstalled container no longer appears in the list.

Uninstall Omni Gateway Running in a Kubernetes Cluster

To uninstall Omni Gateway running in a Kubernetes cluster:

  1. Uninstall the Helm release. The following example removes a release called “my-release”:

    helm delete my-release
    Update my-release to the release you have running. To see a list of all releases, use the command helm list -A.
  2. Delete the release namespace if one was specified:

    kubectl delete namespace gateway
  3. Delete the custom resource definitions:

    kubectl delete crds \
         apiinstances.gateway.mulesoft.com \
         configurations.gateway.mulesoft.com \
         extensions.gateway.mulesoft.com \
         policybindings.gateway.mulesoft.com \
         services.gateway.mulesoft.com