Modal Title
Kubernetes / Service Mesh

What’s New in Istio 1.11 — Robust Day 2 Experiences

1.11 is the third release of Istio in 2021. The Istio CNI plug-in is upgraded to beta and you can use the CNI plug-in to install Istio.
Aug 20th, 2021 1:00pm by
Featued image for: What’s New in Istio 1.11 — Robust Day 2 Experiences
Photo by Bruno Thethe from Pexels.

Zhihan Zhang
Zhihan is the release manager of Istio 1.10 and also a software engineer at Tetrate. He mainly focuses on cloud native open source development. He is the maintainer of the Tetrate Istio distribution and an Istio contributor.

1.11 is the third release of Istio in 2021. In this version, the Istio container network interface (CNI) plugin is upgraded to beta. and you can use the CNI plugin to install Istio.

By default, Istio uses init-container to generate redirection rules from application container to sidecar proxies. Changing IPTables rules requires NET_ADMIN and NET_RAW permission, which may not comply with production security requirements. With this new plugin, the community has introduced a new way to configure iptables rules — using Istio CNI.

Istio CNI does not, like Calico or Flannel, bring new IP addresses to a workload. It only serves to change the redirection rules of iptables to workload and needs to collaborate with other CNI plugins like Calico or Flannel. If a workload gets started before Istio CNI starts, it may trigger a race condition issue (i.e., workload pods get started before Istio CNI DaemonSet is ready). The Istio community has provided a repair controller solution, which could be configured by the setting below. You can find further details in the design doc. The following figure shows how the Istio CNI plugin works.

You can use the YAML below to install Istio with the minimal profile, and then install Gateway.

External Control Plane (Beta)

In production, it would be nice if we could separate the responsibilities for applications in different clusters to different operators. Istio introduces an external control plane that allows users to install their operators on different clusters and manage clusters running application containers.

Sidecars residing in remote clusters, including gateway, could be manipulated remotely by the control plane through the ingress gateway in the remote clusters.

To try out the external control plane, you can set up multiple kinds of clusters. You can use this setup, and follow the external control plane documentation.

Update to Revision and Tag Deployment

In our previous article, we described how Istio introduced an experimental revision tag upgrade for canary upgrades in Istio clusters. Now the revision tag feature has graduated from experimental to stable.

Revision tag setups are similar to 1.10. For example, if you have two revisions installed, such as 1-7-6 for production and 1-8-3 for canary update, you could create two revision tags, like so:


After we have validated that the canary revision works well, we can update production Istio to the newer revision with the following command:


To view all revision tags and their namespaces, you could run the following command:


For more information, please check out the updated canary update documentation.

Kubernetes Multicluster Service (MCS) Support (Experimental)

In KEP 1645, Kubernetes introduced its native multicluster service API, with its alpha implementation here. The MCS custom resource definitions (CRDs) defined APIs for exporting services and their endpoints across multiple clusters. For now, it is still in alpha stage and not ready for production. You can check out Issue 29384 for MCS service discovery on Istio and Issue 33949 for MCS host configuration on Istio.

Summary

Istio’s three releases this year generally continue the goal set at the beginning of the year to improve the Day 2 experience, and we’ve seen the Istio community put a lot of effort into security and support for multiple clusters. At the same time, in light of Istio’s steep learning curve, Tetrate has released the free Istio Fundamentals course and Certified Istio Administrator to help you learn and master Istio.

Group Created with Sketch.
TNS owner Insight Partners is an investor in: Pragma.
THE NEW STACK UPDATE A newsletter digest of the week’s most important stories & analyses.