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

最新文章

  1. 新建structs2 web应用及structs.xml常用基础配置
  2. qemu ubuntu for zynq(armhf)
  3. Android—android与js交互以及相互传参
  4. Android 控件的显示隐藏上下左右移动动画
  5. RabbitMQ 开启WEB管理
  6. jquery mobile cannot be created in a document with origin &#39;null&#39; and URL
  7. 5----table类型
  8. 蓝桥杯之JAM的计数法
  9. 使用Project进行挣值分析
  10. 树莓派远程桌面配置-开机自启SSH
  11. Python核心编程笔记--动态属性
  12. word文字覆盖问题
  13. Spring IO Platform 解决Spring项目组合中版本依赖
  14. DEV_TreeList使用经验小结
  15. django自定义simple_tag和filter
  16. react-redux中的数据传递
  17. [原创]RedisDesktopManager工具使用介绍
  18. day03变量的命名规范,常量,输出:自带换行,输入,注释,数据类型,运算符,常用字符大小关系
  19. 【转】联想笔记本进入u盘启动项操作方法详解
  20. KVM部署、使用、调优

热门文章

  1. Git8.3k星,十万字Android主流开源框架源码解析,必须盘
  2. lerna 常用命令
  3. Linux下使用pure-ftpd建立匿名ftp访问
  4. 别再用CSV了,更高效的Python文件存储方案
  5. Use iTunes on Linux
  6. Linux引导过程和服务过程
  7. CentOS7 快速安装配置mysql8.0
  8. Mysql报错注入之floor报错详解
  9. STP工作流程
  10. Linux虚拟机系统中进行redis的哨兵模式配置