k8s nodes节点 notready问题
2024-09-04 09:30:54
1、在master查看node状态
[root@master1 ~]# kubectl get nodes
NAME STATUS ROLES AGE VERSION
master1 Ready control-plane,master 17h v1.20.4
node1 NotReady <none> 17h v1.20.4
2、新手新装发现问题是node节点没有安装docker 真是坑啊 装一下
yum install docker
3、再去nodes状态 ok了
[root@master1 ~]# kubectl get nodes
NAME STATUS ROLES AGE VERSION
master1 Ready control-plane,master 18h v1.20.4
node1 Ready <none> 17h v1.20.4
[root@master1 ~]#
4、可以看更详细的节点信息 加上 -o wide
[root@master1 ~]# kubectl get nodes -o wide
NAME STATUS ROLES AGE VERSION INTERNAL-IP EXTERNAL-IP OS-IMAGE KERNEL-VERSION CONTAINER-RUNTIME
master1 Ready control-plane,master 17h v1.20.4 192.168.10.1 <none> CentOS Linux 7 (Core) 3.10.0-1160.el7.x86_64 containerd://1.4.3
node1 Ready <none> 17h v1.20.4 192.168.10.2 <none> CentOS Linux 7 (Core) 3.10.0-1160.el7.x86_64 containerd://1.4.3
最新文章
- 新建structs2 web应用及structs.xml常用基础配置
- qemu ubuntu for zynq(armhf)
- Android—android与js交互以及相互传参
- Android 控件的显示隐藏上下左右移动动画
- RabbitMQ 开启WEB管理
- jquery mobile cannot be created in a document with origin &#39;null&#39; and URL
- 5----table类型
- 蓝桥杯之JAM的计数法
- 使用Project进行挣值分析
- 树莓派远程桌面配置-开机自启SSH
- Python核心编程笔记--动态属性
- word文字覆盖问题
- Spring IO Platform 解决Spring项目组合中版本依赖
- DEV_TreeList使用经验小结
- django自定义simple_tag和filter
- react-redux中的数据传递
- [原创]RedisDesktopManager工具使用介绍
- day03变量的命名规范,常量,输出:自带换行,输入,注释,数据类型,运算符,常用字符大小关系
- 【转】联想笔记本进入u盘启动项操作方法详解
- KVM部署、使用、调优