当前位置:网站首页>no networks found in /etc/cni/net.d
no networks found in /etc/cni/net.d
2022-07-26 05:08: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===
移除:
--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边栏推荐
- Molecular skeleton transition tool -delinker introduction
- 普林斯顿微积分读本02第一章--函数的复合、奇偶函数、函数图像
- Teach you how to use code to realize SSO single sign on
- Excel VBA:按日期汇总计算输出结果(sumif)
- MODFLOW flex, GMS, FEFLOW, hydraus practical application
- I talked with the interviewer about MySQL optimization in five dimensions
- C语言力扣第42题之接雨水。四种方法——暴力、动态规划、栈、双指针
- 使用Ansible中的playbook
- Leetcode linked list problem - 203. remove the linked list elements (learn the linked list by one question and one article)
- Mathematical modeling and optimization analysis based on general optimization software gams
猜你喜欢

Black eat black? The man cracked the loopholes in the gambling website and "collected wool" for more than 100000 yuan per month

Redis expiration deletion strategy and memory obsolescence strategy

【pytorch】torch1.8.1安装、查看torch版本、GPU是否可用

CLM陆面过程模式

Mysql主从同步及主从同步延迟解决方案

Embedded sharing collection 21

Earth system model (cesm) practical technology

普林斯顿微积分读本02第一章--函数的复合、奇偶函数、函数图像

Excel VBA:按日期汇总计算输出结果(sumif)

C语言函数
随机推荐
Molecular skeleton transition tool -delinker introduction
Recommendation system - machine learning
C语言-指针进阶
Shell的read 读取控制台输入、read的使用
ALV程序收集
关于负数表示的数值为什么比整数大1?
Yolov5 implementation process - Directory
35. 搜索插入位置
Computable general equilibrium (CGE) model practice technology in resource environment under the goal of "double carbon"
ALV入门
Leetcode linked list problem - 203. remove the linked list elements (learn the linked list by one question and one article)
一次线上事故,我顿悟了异步的精髓
When AQS wakes up the thread, I understand why it traverses from the back to the front
Full analysis of domain name resolution process means better text understanding
Five simple and practical daily development functions of chrome are explained in detail. Unlock quickly to improve your efficiency!
[Luogu] p1383 advanced typewriter
Add and modify the verification logic, and use -validation- to complete the group verification
推荐必读:测试人员如何快速熟悉新业务?
How to connect tdengine through idea database management tool?
Learn to map with nature medicine -- complex heat map