Since Emissary-ingress's configuration is entirely stored in Kubernetes resources, upgrading between minor versions is straightforward.
Emissary-ingress 3 is functionally compatible with Emissary-ingress 2.x, but with any major upgrade there are some changes to consider. Such as, Envoy removing support for V2 Transport Protocol features. Below we will outline some of these changes and things to consider when upgrading.
Emissary-ingress 3.X has been upgraded from Envoy 1.17.X to Envoy 1.22 which removed support for the Envoy V2 Transport Protocol. This means all
LogServices must be updated to use the V3 Protocol. Additionally support for some of the runtime bootstrap flags has been removed.
You can refer to the Major changes in Emissary-ingress 3.x guide for an overview of the changes.
Check Transport Protocol usage on all resources before migrating.
LogServicesthat use the
grpcprotocol will now need to explicilty set
protocol_version: "v3". If not set or set to
v2then an error will be posted and a static response will be returned.
protocol_versionshould be updated to
v3for all of the above resources while still running Emissary-ingress 2.3.2. As of version
2.3.z+, support for
v3is supported in order to allow migration from
v3before upgrading to Emissary-ingress 3.1.0 where support for
Upgrading any application code for your own implementations of these services is very straightforward.
The following imports simply need to be updated to switch from Envoy's Transport Protocol
v3, and then the configuration for these resources can be updated to add the
protocl_version: "v3"when the updated service is deployed.
Check removed runtime changes
Install new CRDs.
After reviewing the changes in 3.x and confirming that you are ready to upgrade, the process is the same as upgrading minor versions in previous version of Emissary-ingress and does not require the complex migration steps that the migration from 1.x tto 2.x required.
Before installing Emissary-ingress 3.1.0 itself, you need to update the CRDs in your cluster. This is mandatory during any upgrade of Emissary-ingress.
Install Emissary-ingress 3.1.0.
After installing the new CRDs, use Helm to install Emissary-ingress 3.1.0. Start by making sure that your
datawireHelm repo is set correctly:
Then, update your Emissary-ingress installation in the
emissarynamespace. If necessary for your installation (e.g. if you were running with
AMBASSADOR_SINGLE_NAMESPACEset), you can choose a different namespace.