当前位置:网站首页>Upgrade Kube with unknown flag: --network plugin
Upgrade Kube with unknown flag: --network plugin
2022-06-30 21:11:00 【weixin_ eight hundred and eighty-eight thousand nine hundred an】
Take one node Of kube Upgrade from 1.22.0-0.x86_64 To 1.24.1-0.x86_64 after , appear kubelet.service Can't start . Error: failed to parse kubelet flag: unknown flag: --network-plugin
node1 Status display NotRready
[[email protected] ~]# rpm -qa|grep kube
kubeadm-1.24.1-0.x86_64
kubernetes-cni-0.8.7-0.x86_64
kubectl-1.24.1-0.x86_64
kubelet-1.22.0-0.x86_64
[[email protected] ~]# journalctl -xe -l
Jun 12 03:27:04 node1 kubelet[7103]: Error: failed to parse kubelet flag: unknown flag: --network-plugin
Jun 12 03:27:04 node1 kubelet[7103]: Usage:
[[email protected] ~]# kubectl get nodes
NAME STATUS ROLES AGE VERSION
master Ready control-plane,master 302d v1.22.0
node1 NotReady <none> 294d v1.22.0
node2 Ready <none> 294d v1.22.0
Law 1 :
yum downgrade after restart normal
[[email protected] ~]# yum downgrade kubelet-1.22.0-0.x86_64 kubeadm-1.22.0-0.x86_64 kubectl-1.22.0-0.x86_64[[email protected] ~]# rpm -qa|grep kube
kubernetes-cni-0.8.7-0.x86_64
kubectl-1.22.0-0.x86_64
kubelet-1.22.0-0.x86_64
kubeadm-1.22.0-0.x86_64
[[email protected] ~]# systemctl restart kubelet.service
Warning: kubelet.service changed on disk. Run 'systemctl daemon-reload' to reload units.
[[email protected] ~]# systemctl daemon-reload
[[email protected] ~]#
[[email protected] ~]#
[[email protected] ~]# systemctl restart kubelet.service
[[email protected]node1 ~]# systemctl status kubelet.service -l
● kubelet.service - kubelet: The Kubernetes Node Agent
Loaded: loaded (/usr/lib/systemd/system/kubelet.service; enabled; vendor preset: disabled)
Drop-In: /usr/lib/systemd/system/kubelet.service.d
└─10-kubeadm.conf
Active: active (running) since Sun 2022-06-12 03:58:31 EDT; 5s ago
Docs: https://kubernetes.io/docs/
Main PID: 14546 (kubelet)
Method 2 :
Use the method mentioned in the link :
Kubernetes To upgrade to 1.24 after kubelet Can't start _ resolved _ Bo asked _ Blog Garden
边栏推荐
- 开发技术-获取10分钟前的时间
- 物联网僵尸网络Gafgyt家族与物联网设备后门漏洞利用
- uniapp-路由uni-simple-router
- 电子方案开发——智能跳绳方案
- Study on PEGylation of lumiprobe and PEG linker - iodine-peg3-acid
- Lumiprobe nucleic acid quantitative qudye dsDNA br detection kit
- How do I get the largest K massive data
- B_QuRT_User_Guide(34)
- Two skylines
- On inline function
猜你喜欢
随机推荐
Analysis of breakpoint continuation and download principle
Vite2兼容低版本chrome(如搜狗80),通过polyfills处理部分需求高版本的语法
uniapp怎么上传二进制图片
Study on PEGylation of lumiprobe and PEG linker - iodine-peg3-acid
uniapp-路由uni-simple-router
Double solid histogram / double y-axis
Apply for vector bus protocol color picture wallpaper hanging picture, very good!
Lumiprobe copper free click chemical solution
Web APIs 综合案例-Tab栏切换 丨黑马程序员
What about degradation of text generation model? Simctg tells you the answer
sqlserver 字符串类型转换成小数或者整数类型
centos——开启/关闭oracle
B_QuRT_User_Guide(34)
FreeRTOS记录(九、一个裸机工程转FreeRTOS的实例)
减少嵌入式软件调试时间的三个技巧
MySQL:SQL概述及数据库系统介绍 | 黑马程序员
Software engineering UML drawing
No "history of blood and tears" in home office | community essay solicitation
Radar data processing technology
开发技术-获取10分钟前的时间









