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.version
defines the CNI plugin version to install. Specify the value in the format vX.Y.Z
, where X.Y.Z
represents the desired version. For example, use v1.26.3
to install the CNI plugin version 1.26.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.
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
IstioCNI
resource named default
is deployed in the istio-cni
namespace.Procedure
Change the version in the Istio
resource. For example, to update to Istio 1.26.3
, set the spec.version field to v1.26.3
by running the following command:
Confirm that the new version of the CNI plugin is ready by running the following command:
Example Output