Centos7.6部署单节点kubernets环境
安装服务
1 | [root@172_30_3_8 ~]# yum -y install etcd kubernetes |
验证安装
1 | [root@172_30_3_8 ~]# rpm -qa |grep kubernetes |
启动服务
1 | [root@172_30_3_8 ~]# systemctl start etcd |
开机自启
1 | [root@172_30_3_8 ~]# systemctl enable docker |
验证服务
1 | [root@172_30_3_8 kubernetes]# kubectl get nodes |
All articles in this blog are licensed under CC BY-NC-SA 4.0 unless stating additionally.