OpenshiftOneClick:https://gitee.com/xhua/OpenshiftOneClick
开发工具: Ansible + Shell
步骤:
环境:
CentOS 7.5 CPU > 2core, Memory > 4G
# yum -y install NetworkManager git
# systemctl start NetworkManager;systemctl status NetworkManager;
# git clone https://gitee.com/xhua/OpenshiftOneClick.git
# cd OpenshiftOneClick.git
运行部署(必须切到root账号)
# sudo su
# /bin/bash deploy_openshift.sh
本地绑定hosts
# HOSTNAME 默认为os311.test.it.example.com
cat /etc/hosts
192.168.61.140 os311.test.it.example.com
浏览器访问
https://os311.test.it.example.com:8443
默认账号:admin
默认密码:admin
结果展示