Upgrading Flex Gateway
You can upgrade Flex Gateway as a Linux service, in a Docker container, or as a Kubernetes Ingress controller.
Upgrade as a Linux Service
Flex Gateway is distributed as a standard package. Use the following steps to upgrade either to a specific version or to the latest version.
To upgrade Flex Gateway as a Linux Service:
-
Update the list of available packages:
sudo apt update
ssh -
Update Flex Gateway:
-
To a specific version:
sudo apt --only-upgrade -y install flex-gateway=<version>
ssh -
To the latest version:
sudo apt --only-upgrade -y install flex-gateway
ssh
-
-
Restart the services:
sudo systemctl restart flex-gateway
ssh
Upgrade in a Docker Container
The docker containers are not updated, if a new version is needed then a new container with the new image version should be created to replace the outdated one.
The new versions of the images will be available in mulesoft/flex-gateway.
Upgrade as a Kubernetes Ingress Controller
-
Update charts with the respective chart repositories:
helm repo up
ssh -
Upgrade the release to a new version of the Helm chart by executing the following command, replacing example information with your own:
helm upgrade -n <namespace> <release_name> flex-gateway/flex-gateway --wait
ssh