Skip to content

Commit 4106fd5

Browse files
authored
chore: set MTU to 1500 for the kubenet CNI (#192)
1 parent 27a359a commit 4106fd5

File tree

2 files changed

+0
-16
lines changed

2 files changed

+0
-16
lines changed

parts/k8s/cloud-init/artifacts/cse_customcloud.sh

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -90,14 +90,6 @@ configureK8sCustomCloud() {
9090
timeout 10 nc -vz ${LOGIN_ENDPOINT} 443 \
9191
&& echo "login endpoint reachable: ${LOGIN_ENDPOINT}" \
9292
|| echo "error: login endpoint not reachable: ${LOGIN_ENDPOINT}"
93-
94-
{{- if not IsAzureCNI}}
95-
# Decrease eth0 MTU to mitigate Azure Stack's NRP issue
96-
echo "iface eth0 inet dhcp" | sudo tee -a /etc/network/interfaces
97-
echo " post-up /sbin/ifconfig eth0 mtu 1350" | sudo tee -a /etc/network/interfaces
98-
ifconfig eth0 mtu 1350
99-
{{end}}
100-
10193
{{else}}
10294
ensureCustomCloudRootCertificates
10395
ensureCustomCloudSourcesList

pkg/engine/templates_generated.go

Lines changed: 0 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)