2 min • read

Upgrading Emissary-ingress with a separate cluster

You can upgrade from any version of Ambassador Edge Stack or Emissary-ingress to any version of either by installing the new version in a new Kubernetes cluster, then copying over configuration as needed. This is the way to be absolutely certain that each installation cannot affect the other: it is extremely safe, but is also significantly more effort.

For example, to upgrade from some other version of Ambassador Edge Stack or Emissary-ingress to Emissary-ingress 3.3.0:

  1. Install Emissary-ingress 3.3.0 in a completely new cluster.

  2. Create Listeners for Emissary-ingress 3.3.0.

    When Emissary-ingress 3.3.0 starts, it will not have any Listeners, and it will not create any. You must create Listener resources by hand, or Emissary-ingress 3.3.0 will not listen on any ports.

  3. Copy the entire configuration from the Emissary-ingress 1.X cluster to the Emissary-ingress 3.3.0 cluster. This is most simply done with kubectl get -o yaml | kubectl apply -f -.

    This will create getambassador.io/v2 resources in the Emissary-ingress 3.3.0 cluster. Emissary-ingress 3.3.0 will translate them internally to getambassador.io/v3alpha1 resources.

  4. Each Emissary-ingress instance has its own cluster, so you can test the new instance without disrupting traffic to the existing instance.

  5. If you need to make changes, you can change the getambassador.io/v2 resource, or convert the resource you're changing to getambassador.io/v3alpha1 by using kubectl edit.

  6. Once everything is working with both versions, transfer incoming traffic to the Emissary-ingress 3.3.0 cluster.