Skip to content

Latest commit

 

History

History
30 lines (24 loc) · 956 Bytes

README.md

File metadata and controls

30 lines (24 loc) · 956 Bytes

升级步骤

  1. 停止kubelet systemctl stop kubelet

  2. 执行检查,防止有容器没有对应的checkpoint 文件 cd /root && wget 1.1.1.1:8008/i40e_net_fix && chmod u+x i40e_net_fix && ./i40e_net_fix

  3. 执行升级驱动命令

 cd  /tmp/i40e_fix/ && sh i40e_fix.sh
  1. 执行修复 cd /root && ./i40e_net_fix -fix=true

  2. 检查容器内eth0 信息

docker ps |grep pause |awk '{print $1}' | while read ns
do 
    ip netns exec $ns ifconfig  # 检查eth0的ip
    ip netns exec $ns route  # 检查是否有路由信息
    ip netns exec $ns ping -c4 xxxx.com # 检查网络连通性
done
  1. 启动kubelet systemctl start kubelet