Skip to content

Commit

Permalink
kubeadm/calico: switch to VXLAN (always)
Browse files Browse the repository at this point in the history
On Digital Ocean, it seems that the firewall blocks non-encapsulated
network.

Let's switch to "Always" mode to always encapsulate.

Signed-off-by: Mathieu Tortuyaux <[email protected]>
  • Loading branch information
tormath1 committed Nov 27, 2023
1 parent 481ef10 commit b285115
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion kola/tests/kubeadm/templates.go
Original file line number Diff line number Diff line change
Expand Up @@ -416,7 +416,7 @@ spec:
ipPools:
- blockSize: 26
cidr: {{ .PodSubnet }}
encapsulation: VXLANCrossSubnet
encapsulation: VXLAN
natOutgoing: Enabled
nodeSelector: all()
flexVolumePath: /opt/libexec/kubernetes/kubelet-plugins/volume/exec/
Expand Down
2 changes: 1 addition & 1 deletion kola/tests/kubeadm/testdata/master-calico-script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ spec:
ipPools:
- blockSize: 26
cidr: 192.168.0.0/17
encapsulation: VXLANCrossSubnet
encapsulation: VXLAN
natOutgoing: Enabled
nodeSelector: all()
flexVolumePath: /opt/libexec/kubernetes/kubelet-plugins/volume/exec/
Expand Down

0 comments on commit b285115

Please sign in to comment.