flannel出现ipvs错误,升级内核

cd k8s-share
rpm -ivh kernel-4.14.49-1.x86_64.rpm
rpm -ivh kernel-devel-4.14.49-1.x86_64.rpm
yum install -y bzip2
cp ipset-6.38.tar /root/ipset-6.38.tar
cd ../
tar xvf ipset-6.38.tar
cd /lib/modules/3.10.0-229.el7.x86_64/
rm build
ln -s /usr/src/kernels/3.10.0-862.9.1.el7.x86_64 build
cd /root/ipset-6.38
./configure && make && make install

cat /boot/grub2/grub.cfg | grep menuentry
grub2-set-default "CentOS Linux (4.14.49) 7 (Core)"
grub2-editenv list
uname -r
reboot
Logo

K8S/Kubernetes社区为您提供最前沿的新闻资讯和知识内容

更多推荐