breeze


# 部署机
timedatectl set-timezone Asia/Shanghai
setenforce 0
sed --follow-symlinks -i "s/SELINUX=enforcing/SELINUX=disabled/g" /etc/selinux/config
firewall-cmd --set-default-zone=trusted
firewall-cmd --complete-reload

#安装docker
#略

curl -L https://github.com/docker/compose/releases/download/1.23.2/docker-compose-Linux-x86_64 -o /bin/docker-compose
chmod +x /bin/docker-compose


curl -L https://raw.githubusercontent.com/wise2c-devops/breeze/v1.13.3.1/docker-compose.yml -o docker-compose.yml
docker-compose up -d

注意:
加入私钥可连接所有K8S机器
部署机不能做K8S机器
部署prometheus的话etcd需要三台
api地址端口是master阶段的6443
#获取web登录token
kubectl -n kube-system describe secret $(kubectl -n kube-system get secret | grep admin-user | awk '{print $1}')
# K8S机器
yum install firewalld
加入公钥