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
  1. 运行部署(必须切到root账号)

# sudo su
# /bin/bash deploy_openshift.sh
  1. 本地绑定hosts

# HOSTNAME 默认为os311.test.it.example.com
cat /etc/hosts
192.168.61.140 os311.test.it.example.com
  1. 浏览器访问

https://os311.test.it.example.com:8443

默认账号:admin
默认密码:admin

结果展示

Openshift All In One一键部署工具_第1张图片

Openshift All In One一键部署工具_第2张图片Openshift All In One一键部署工具_第3张图片Openshift All In One一键部署工具_第4张图片