You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If a pod has an annotation that points to an existing NetworkAttachmentDefinition for Multus, when injecting a sidecar, Istio overwrites the the network annotation (ex: k8s.v1.cni.cncf.io/networks: macvlan-conf) with k8s.v1.cni.cncf.io/networks: istio-cni. This breaks Multus' network management by preventing macvlan-conf from executing. Istio should be appending istio-cni to the annotation, to get k8s.v1.cni.cncf.io/networks: macvlan-conf, istio-cni.
Discussion on #45036 has determined that this issue is being caused by the instructions to add the following annotation to installation overrides files:
This is duplicating the work of the appendMultusNetworks function in the helm configuration and is causing the appended multus configurations to be overwritten during helm installation.
Bug Description
If a pod has an annotation that points to an existing NetworkAttachmentDefinition for Multus, when injecting a sidecar, Istio overwrites the the network annotation (ex:
k8s.v1.cni.cncf.io/networks: macvlan-conf
) withk8s.v1.cni.cncf.io/networks: istio-cni
. This breaks Multus' network management by preventing macvlan-conf from executing. Istio should be appendingistio-cni
to the annotation, to getk8s.v1.cni.cncf.io/networks: macvlan-conf, istio-cni
.@dougbtv wrote an in-depth gist article on the effects of this issue here: https://gist.github.com/dougbtv/babe9b59e4d54e7a0fc67f134b74b908
Here is a configuration that can replicate the issue: https://gist.github.com/jacob-delgado/bb3a08d21e13130e6b685df75ec54a10
cc @dougbtv @jwendell @dgn
Version
Additional Information
No response
Affected product area
The text was updated successfully, but these errors were encountered: