当前位置:网站首页>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
边栏推荐
- Peking University ACM problems 1005:i think I need a houseboat
- vncserver: Failed command ‘/etc/X11/Xvnc-session‘: 256!
- 雷达数据处理技术
- CentOS - enable / disable Oracle
- Comparison between QT and other GUI Libraries
- 微信小程序怎么实现圆心进度条
- 开发技术-使用easyexcel导入文件(简单示例)
- 判断js对象是否为空的方式
- How do I get the largest K massive data
- 个人开发的渗透测试工具Satania
猜你喜欢

雷达数据处理技术

What about degradation of text generation model? Simctg tells you the answer

Introduction of 3D Max fine model obj model into ArcGIS pro (II) key points supplement

B_QuRT_User_Guide(32)

【数字IC应届生职业规划】Chap.1 IC行业产业链概述及代表企业大厂汇总

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

Personal developed penetration testing tool Satania

Et la dégradation du modèle de génération de texte? Simctg vous donne la réponse

防范未授权访问攻击的十项安全措施

Lvalue reference and lvalue reference
随机推荐
利用日志服务器输出各种apache的日志的TOPN
Lumiprobe protein quantitation - qudye Protein Quantitation Kit
Peking University ACM problems 1005:i think I need a houseboat
ssh-server配置文件参数PermitRootLogin介绍
Oracle 数据库表结构 Excel 导出
RP原型资源分享-购物类App
转:用实际行动赢得别人追随
雷达数据处理技术
Open source internship experience sharing: openeuler software package reinforcement test
翻转链表II[翻转链表3种方式+dummyHead/头插法/尾插法]
1.微信小程序页面跳转方法总结;2. navigateTo堆栈到十层不跳转问题
【数字IC应届生职业规划】Chap.1 IC行业产业链概述及代表企业大厂汇总
Icml2022 | utility theory of sequential decision making
ArcGIS construction and release of simple road network data service and rest call test
《大厂面试》之JVM篇21问与答
Vite2兼容低版本chrome(如搜狗80),通过polyfills处理部分需求高版本的语法
What about degradation of text generation model? Simctg tells you the answer
Web APIs 综合案例-Tab栏切换 丨黑马程序员
元宇宙可能成为互联网发展的新方向
oprator-1初识oprator