Pod MTU 值大于主机 flannel.1MTU 值
1. Canal 网络驱动下,Pod MTU 值大于主机 flannel.1MTU 值
编辑配置映射文件
kubectl —kubeconfig=kube_configxxx.yml edit configmaps -n kube-system canal-config
在
"type": "calico"
下面添加"mtu": 1450
删除 Canal Pod 让它重建
kubectl --kubeconfig=kube_configxxx.yml get pod -n kube-system |grep canal | \
awk '{print $1}' | \
xargs kubectl --kubeconfig=kube_configxxx.yml delete -n kube-system pod