15 Star 35 Fork 24

xhua / OpenshiftOneClick

Create your Gitee Account
Explore and code with more than 6 million developers,Free private repositories !:)
Sign up
Clone or download
Cancel
Notice: Creating folder will generate an empty file .keep, because not support in Git
Loading...
README.md

一键部署Openshift 3.11


升级内容:

  1. 使用最新的okd版本
  2. 证书设置为100年有效期
  3. 支持APPDOMAIN的自定义

可配置项:

查看config.yml文件

CHANGEREPO: true
APPDOMAIN: apps.example.com
HOSTNAME: master.example.com

Change_Base_Registry: false
Harbor_Url: harbor.apps.it.example.com

FULL_INSTALL: false
SAMPLE_TEMPLATES: true

CICD_INSTALL: false

说明:

  • CHANGEREPO: 是否使用files/all.repo替换系统默认repo源
  • APPDOMAIN:Route的默认域名后缀
  • HOSTNAME:安装Openshift的主机的hostname,也是集群的访问域名
  • Change_Base_Registry:是否使用私有镜像仓库
  • Harbor_Url:私有镜像仓库地址,Change_Base_Registry为True时有效
  • FULL_INSTALL:是否全量安装(包括日志,监控等)
  • SAMPLE_TEMPLATES: 是否安装Openshift默认的模板
  • CICD_INSTALL: 是否安装CICD应用工具链

安装步骤如下:

1. 准备一台主机/虚拟机(CentOS 7.4以上, CPU > 2core, Memory > 4G)

2. 将一键部署脚本拷贝到主机上

3. cd到openshift-oneclick-allinone目录

cd openshift-oneclick-allinone

4. 运行部署(必须切到root账号)

sudo su
/bin/bash deploy_openshift.sh

5. 本地绑定hosts

<ip> os311.test.it.example.com

6. 浏览器访问

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

CICD工具应用

自动创建Pipeline

测试pipeline应用 用户名:admin 密码:admin

Comments ( 18 )

Sign in for post a comment

About

一键安装Openshift all in one 版本 spread retract
Cancel

Releases (1)

All

Gitee Metrics

Contributors

All

Activities

load more
can not load any more
Python
1
https://gitee.com/xhua/OpenshiftOneClick.git
git@gitee.com:xhua/OpenshiftOneClick.git
xhua
OpenshiftOneClick
OpenshiftOneClick
3.11

Search