当前位置:网站首页>no networks found in /etc/cni/net.d
no networks found in /etc/cni/net.d
2022-07-26 05:15:00 【WinkeyTseng_ YongTai】
"Unable to update cni config" err="no networks found in /etc/cni/net.d"
"Container runtime network not ready" networkReady="NetworkReady=false reason:NetworkPluginNotReady message:docker: network plugin is not ready: cni config uninitialized"
[[email protected] ~]#
[[email protected] ~]# service kubelet status -l
Redirecting to /bin/systemctl status -l kubelet.service
?.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-07-24 23:55:53 CST; 15min ago
Docs: https://kubernetes.io/docs/
Main PID: 8448 (kubelet)
Tasks: 16
Memory: 75.5M
CGroup: /system.slice/kubelet.service
?..8448 /usr/bin/kubelet --bootstrap-kubeconfig=/etc/kubernetes/bootstrap-kubelet.conf --kubeconfig=/etc/kubernetes/kubelet.conf --cgroup-driver=cgroupfs --config=/var/lib/kubelet/config.yaml --network-plugin=cni --pod-infra-container-image=registry.aliyuncs.com/google_containers/pause:3.5
Jul 25 00:11:26 k8s-master kubelet[8448]: I0725 00:11:26.551806 8448 cni.go:239] "Unable to update cni config" err="no networks found in /etc/cni/net.d"
Jul 25 00:11:26 k8s-master kubelet[8448]: E0725 00:11:26.694628 8448 kubelet.go:2332] "Container runtime network not ready" networkReady="NetworkReady=false reason:NetworkPluginNotReady message:docker: network plugin is not ready: cni config uninitialized"
Jul 25 00:11:31 k8s-master kubelet[8448]: I0725 00:11:31.552539 8448 cni.go:239] "Unable to update cni config" err="no networks found in /etc/cni/net.d"
Jul 25 00:11:31 k8s-master kubelet[8448]: E0725 00:11:31.696963 8448 kubelet.go:2332] "Container runtime network not ready" networkReady="NetworkReady=false reason:NetworkPluginNotReady message:docker: network plugin is not ready: cni config uninitialized"
Jul 25 00:11:36 k8s-master kubelet[8448]: I0725 00:11:36.553553 8448 cni.go:239] "Unable to update cni config" err="no networks found in /etc/cni/net.d"
Jul 25 00:11:36 k8s-master kubelet[8448]: E0725 00:11:36.699407 8448 kubelet.go:2332] "Container runtime network not ready" networkReady="NetworkReady=false reason:NetworkPluginNotReady message:docker: network plugin is not ready: cni config uninitialized"
Jul 25 00:11:41 k8s-master kubelet[8448]: I0725 00:11:41.554733 8448 cni.go:239] "Unable to update cni config" err="no networks found in /etc/cni/net.d"
Jul 25 00:11:41 k8s-master kubelet[8448]: E0725 00:11:41.702959 8448 kubelet.go:2332] "Container runtime network not ready" networkReady="NetworkReady=false reason:NetworkPluginNotReady message:docker: network plugin is not ready: cni config uninitialized"
Jul 25 00:11:46 k8s-master kubelet[8448]: I0725 00:11:46.556084 8448 cni.go:239] "Unable to update cni config" err="no networks found in /etc/cni/net.d"
Jul 25 00:11:46 k8s-master kubelet[8448]: E0725 00:11:46.706985 8448 kubelet.go:2332] "Container runtime network not ready" networkReady="NetworkReady=false reason:NetworkPluginNotReady message:docker: network plugin is not ready: cni config uninitialized"
[[email protected] cni]# ll===
remove :
--network-plugin=cni
k8s-master Ready

[[email protected] cni]#
[[email protected] cni]# cd /etc/cni/net.d
-bash: cd: /etc/cni/net.d: No such file or directory
[[email protected] cni]#
[[email protected] cni]#
[[email protected] cni]# cat /var/lib/kubelet/kubeadm-flags.env
KUBELET_KUBEADM_ARGS="--network-plugin=cni --pod-infra-container-image=registry.aliyuncs.com/google_containers/pause:3.5"
[[email protected] cni]#
[[email protected] cni]# vi /var/lib/kubelet/kubeadm-flags.env
[[email protected] cni]#
[[email protected] cni]# cat /var/lib/kubelet/kubeadm-flags.env
KUBELET_KUBEADM_ARGS="--pod-infra-container-image=registry.aliyuncs.com/google_containers/pause:3.5"
[[email protected] cni]#
[[email protected] cni]# systemctl restart kubelet
[[email protected] cni]#
[[email protected] cni]#
[[email protected] cni]# kubectl get node
NAME STATUS ROLES AGE VERSION
k8s-master Ready control-plane,master 83m v1.22.0边栏推荐
- Reason for pilot importerror: cannot import name 'pilot_ Version 'from' PIL ', how to install pilot < 7.0.0
- 基于R语言的Meta分析【全流程、不确定性分析】方法与Meta机器学习
- 五个维度着手MySQL的优化,我和面试官都聊嗨了
- SQL注入
- Migrate the server and reconfigure the database (the database has no monitoring, and the monitoring starts with tns-12545, tns-12560, tns-00515 errors)
- C语言实现发牌功能基本方法
- [Luogu] p3919 [template] persistent segment tree 1 (persistent array)
- 阿里三面:MQ 消息丢失、重复、积压问题,如何解决?
- Trend of the times - the rise of cloud native databases
- 【ACWing】2983. 玩具
猜你喜欢

Unity scene jump script

Reason for pilot importerror: cannot import name 'pilot_ Version 'from' PIL ', how to install pilot < 7.0.0

OD-Paper【1】:Rich feature hierarchies for accurate object detection and semantic segmentation

DOM event flow event bubble event capture event delegate

unity场景跳转脚本

5个chrome简单实用的日常开发功能详解,赶快解锁让你提升更多效率!

MODFLOW Flex、GMS、FEFLOW、HYDRUS实践应用

Shell process control (emphasis), if judgment, case statement, let usage, for ((initial value; loop control condition; variable change)) and for variable in value 1 value 2 value 3..., while loop

Uniapp applet framework - a set of code, multi segment coverage

Black eat black? The man cracked the loopholes in the gambling website and "collected wool" for more than 100000 yuan per month
随机推荐
security权限管理详解
Uniapp applet framework - a set of code, multi segment coverage
攻防世界-FlatScience
Learn to map with nature medicine -- complex heat map
Nacos introduction and deployment
YOLOv5执行全过程----目录
10. 正则表达式匹配
MySQL eight knowledge points: from getting started to deleting the database
C language force buckle question 42 of rain. Four methods - violence, dynamic planning, stack, double pointer
Simulation of future air pollution changes
Seata submits at details in two stages
BigDecimal 的 4 个坑,你踩过几个?
第二讲 初识SLAM
An online accident, I suddenly realized the essence of asynchrony
Recommendation system - machine learning
Week 6 Learning Representation: Word Embedding (symbolic →numeric)
The elderly who claim alimony from other children after being supported by their widowed daughter-in-law should be supported
Excel VBA: summarize calculation output results by date (SUMIF)
【洛谷】P3919 【模板】可持久化线段树1(可持久化数组)
Common solutions for distributed ID - take one