Please visit Alauda Service Mesh Essentials for installation instructions.
The platform provides a canary upgrade for Istio in the service mesh, where the new version of the istiod component is deployed first. Once all data planes are upgraded, the old version of the istiod component is decommissioned.
Given the strong dependency between Istio versions and Kubernetes versions, ensure the current Kubernetes version of the cluster meets Istio upgrade requirements before upgrading Istio to successfully complete the canary upgrade.
The table below shows the supported Istio upgrade paths for the current platform version and the required Kubernetes versions for these paths.
Supported Istio Upgrade Paths | Kubernetes Version Requirements |
---|---|
Istio from 1.20 to 1.22 | Kubernetes version 1.27 , 1.28 |
Istio from 1.18 to 1.22 | Kubernetes version 1.27 |
Note:
The complete service mesh upgrade process includes the following steps:
Service Mesh Name
that needs to be upgraded to enter the mesh details.Cluster Name
to open the cluster details page in a new tab.Note: The non-Istio components of the service mesh include asm, Flagger Operator, Asm Operator, Jaeger Operator.
Note: Before deploying the new version of istiod, please refer to Before Upgrading to ensure the Kubernetes version of the cluster meets the upgrade path requirements.
Istio Version
of the corresponding cluster. An upgrade path for Istio will be displayed in the popup.In the Platform Management left navigation, click Service Mesh > EnvoyFilter.
Note: If there are multiple service meshes on the platform, you can switch the service mesh to the one where the cluster is located through the top navigation bar.
Check whether there is data in the EnvoyFilter list.
The Istio data planes in the cluster include Sidecars, ingress gateways, and egress gateways.
Method 1: Upgrade via Interactive Command Line Tool
The interactive command line tool can batch upgrade all Sidecars and gateways in the cluster. This method is suitable for users familiar with command line operations, especially those who need to quickly upgrade the entire cluster at once.
Note: You can also use the fast upgrade parameter without confirmation to execute the upgrade.
Note: The rolling upgrade process of ingress and egress gateways involves deleting the old Pods first and then creating new Pods until all Pods are updated to the new version of the data plane image. Therefore, if the gateway has only one Pod, it will be inaccessible during the gateway upgrade.
Method 2: Upgrade via UI
Upgrading via UI allows for batch upgrades by different namespaces or specifying a single service/gateway for upgrade. This method is suitable for users who prefer to operate in a visual interface, especially those who need flexible selection of upgrade targets.
Upgrade Ingress and Egress Gateways
Upgrade Sidecars
Service Mesh Name
that needs to upgrade Sidecars to enter the mesh details.Namespace Name
to open the Service Mesh in a new tab and enter the namespace where the Sidecar is located.
Note: Perform Sidecar upgrades for all namespaces sequentially.Service Name
, it indicates that the Sidecar of the service can be upgraded.Note: The Sidecar is updated through rolling update of the service's Deployment to complete the data plane image update of the Pod. Therefore, if the service has long connections, there will be a brief service interruption during the rolling update of the Pod.
The old version of istiod in the cluster can only be decommissioned after all Istio data planes in the cluster have been upgraded.
Caution:
Steps
Istio Version
of the corresponding cluster. The Decommission Old Version popup will be displayed.Note: If there are data planes that have not been upgraded in the cluster, after clicking Decommission Old Version, the popup will display the ingress gateways, egress gateways, and Sidecars in the cluster that have not been upgraded, quickly tracking the data planes to be upgraded.