Using linkerd viz tap with native sidecars enabled

Hi there!

I encountered an issue when enabling native sidecars using the linkerd control plane helm chart. After enabling native side cars it seemed to have removed the iz.linkerd.io/tap-enabled pod annotation from our workloads. Does anyone know why this is? Is linkerd viz tap not compatible with pods that are running native sidecars? The nativeSidecars flag is the only thing that I’ve changed in the helm chart

The issue is that Linkerd Viz Tap is currently incompatible with workloads using native sidecars. Enabling the nativeSidecars flag in the Helm chart disables certain features, including the viz.linkerd.io/tap-enabled annotation, as native sidecars bypass the proxy functionality that Tap relies on.

Thank you for the response, thats what I assumed was the case but couldn’t find any documentation to confirm.

@curtwillbusch, what version of Linkerd and Viz are you using? With thanks to @Mahendran for jumping in here, I just tested this with Linkerd 2.17 and Viz edge-24.11.8, and it works fine: my app with native sidecars enabled has the tap-enabled annotation and tap works as expected.

Hi @Flynn , we’re using viz edge 25.1.1 and the linkerd enterprise-2.16.2 image version. When we remove the flag to enable native sidecars in the helm chart the annotation is back and we can run linkerd viz tap again.

with the native side car flag enabled we get the error message 2 pods found with tap not enabled

OK, I think I’d recommend going to Linkerd 2.17.0 then. We had to fix several things when native sidecars first came out, and I think 2.17 may work out better for you. It’s definitely supposed to be possible to use tap with native sidecars! :slightly_smiling_face:

Thanks Flynn for the answer