Is CNI still needed when service mesh is used in kubernetes?

10/30/2020

Is CNI ( e.g. Flannel, Calico) is still needed once I start using a service mesh ( e.g. Istio) at Kubernetes clusters?

-- J.J. Beam
cni
kubernetes
servicemesh

1 Answer

10/31/2020

CNI is a mandatory requirement for having a working Kubernetes cluster but service mesh is not. CNI primarily works at L4 layer whereas service mesh works at L7 layer. Although there might be some bits of overlapping in functionality between a CNI plugin and service mesh they don't completely replace each other.

-- Arghya Sadhu
Source: StackOverflow