Skip to content

Commit bdf6af9

Browse files
committed
Use VXLAN encapsulation for pod traffic on Azure
Signed-off-by: Ciprian Hacman <[email protected]>
1 parent a915135 commit bdf6af9

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

pkg/model/components/calico.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,9 @@ func (b *CalicoOptionsBuilder) BuildOptions(o *kops.Cluster) error {
3636
}
3737

3838
c.EncapsulationMode = "ipip"
39+
if o.GetCloudProvider() == kops.CloudProviderAzure {
40+
c.EncapsulationMode = "vxlan"
41+
}
3942
if clusterSpec.IsIPv6Only() {
4043
c.EncapsulationMode = "none"
4144
}

0 commit comments

Comments
 (0)