当前位置:网站首页>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分钟前的时间
- B_QuRT_User_Guide(32)
- stacking集成模型预测回归问题
- Failed to configure a DataSource: ‘url‘ attribute is not specified and no embedded datasource could
- 《大厂面试》之JVM篇21问与答
- 对多态的理解
- Study on PEGylation of lumiprobe and PEG linker - iodine-peg3-acid
- 学习总结
- On the charm of code language
- Peking University ACM problems 1005:i think I need a houseboat
猜你喜欢

多表操作-外键约束

Basic concepts of tree

Lumiprobe cell biology - dia, instructions for lipophilic tracer

Adobe-Photoshop(PS)-脚本开发-去除文件臃肿脚本

大学生研究生毕业找工作,该选择哪个方向?

《大厂面试》之JVM篇21问与答

MFC界面库BCGControlBar v33.0 - 桌面警报窗口、网格控件升级等

Label Contrastive Coding based Graph Neural Network for Graph Classification

申请Vector 总线协议彩图壁纸挂画,非常棒哦!

RP原型资源分享-购物类App
随机推荐
代码改变一小步,思维跨越一大步
Lumiprobe nucleic acid quantitative qudye dsDNA br detection kit
Learning summary
利用日志服务器输出各种apache的日志的TOPN
针对美国国家安全局“酸狐狸”漏洞攻击武器平台的分析与应对方案建议
Markdown笔记简明教程
ICML2022 | 序列决策的效用理论
MySQL简介、详细安装步骤及使用 | 黑马程序员
k个一组反转链表
阿里kube-eventer mysql sink简单使用记录
科研中遇到迷茫困惑如何向前一步?如何在科研中发挥女性优势?
开发技术-获取10分钟前的时间
How do I get the largest K massive data
Lumiprobe cell biology - dia, instructions for lipophilic tracer
Go语学习笔记 - gorm使用 - 数据库配置、表新增 | Web框架Gin(七)
What about degradation of text generation model? Simctg tells you the answer
数字货币:影响深远的创新
Adobe Photoshop (PS) - script development - remove file bloated script
Use the log server to output the topn of various Apache logs
Electronic scheme development - Intelligent rope skipping scheme