CentOS7.3利用kubeadm安装kubernetes1.7.3完整版(官方文档填坑篇)
https://www.cnblogs.com/liangDream/p/7358847.html
一、安装虚拟机,配置主机名称、ip和hosts
lexiaofei105 192.168.136.105
lexiaofei106 192.168.136.106
lexiaofei107 192.168.136.107
lexiaofei108 192.168.136.108
lexiaofei109 192.168.136.109
二、安装docker(所有节点)
1、关闭防火墙
# Turn off SELinux
setenforce 0
vi /etc/selinux/config
#SELINUX=enforcing
SELINUX=disabled
# Turn off firewalld
sudo systemctl stop firewalld
sudo systemctl disable firewalld
2、安装docker
# 方法一、在线安装(失败)
yum list|grep docker | sort -r
yum install -y docker-latest.x86_64 1.12.6-1*
# 方法二、下载包,本地安装
yum localinstall *.rpm
# 检查安装版本
docker version
3、# 设置开机启动
systemctl enbale docker
systemctl start docker