The Istio CNI update process
The Istio Container Network Interface (CNI) update process uses in-place updates. When the IstioCNI resource changes, the daemonset automatically replaces the existing istio-cni-node pods with the specified version of the CNI plugin.
You can use the following field to manage version updates:
-
spec.versiondefines the CNI plugin version to install. Specify the value in the format
vX.Y.Z, whereX.Y.Zrepresents the desired version. For example, usev1.28.3to install the CNI plugin version1.28.3.
To update the CNI plugin, modify the spec.version field with the target version. The IstioCNI resource also includes a values field that exposes configuration options from the istio-cni chart.
Updating the Istio CNI resource version
You can update the Istio CNI resource version by changing the version in the resource. Then, the Service Mesh v2 Operator deploys a new version of the CNI plugin that replaces the old version of the CNI plugin. The istio-cni-node pods automatically reconnect to the new CNI plugin.
Prerequisites
- You are logged in to the Alauda Container Platform web console as cluster-admin.
- You have installed the Alauda Service Mesh v2 Operator, and deployed Istio.
- You have installed the Istio CNI plugin with the desired version. In this example, the
IstioCNIresource nameddefaultis deployed in theistio-cninamespace.
Procedure
-
Change the version in the
Istioresource. For example, to update to Istio1.28.3, set the spec.version field tov1.28.3by running the following command: -
Confirm that the new version of the CNI plugin is ready by running the following command:
Example Output