Get the App
SLTechnology News&Howtos  ›  Servers  › 

How to build OpenShift stand-alone Cluster

Shulou Source: shulou.com Published: 2022-06-01 01:45:52 09月17日 Update

The editor will share with you how to build an OpenShift stand-alone cluster. I hope you will get something after reading this article. Let's discuss it together.

In fact, the installation is not complicated, the trouble is that the installation automatically downloads all kinds of slow.

First, find a domestic Docker mirror such as (Aliyun, DaoCloud)

You can try: https://lug.ustc.edu.cn/wiki/mirrors/help/docker

Open minishift's latest release in Github: https://github.com/minishift/minishift/releases/latest

Https://github.com/minishift/minishift-b2d-iso/releases

Find the minishift and boot2docker.iso corresponding to your operating system and download them to your computer.

Open OpenShift's latest release in Github: https://github.com/openshift/origin/releases/latest

Find the openshift-origin-client-tools corresponding to your operating system and download it to the computer (hereinafter referred to as oc)

After unzipping, add the path where minishift is located to PATH.

I have OS X here as an example to execute:

Minishift start-- registry-mirror http://china.mirror.site

The default virtual driver of OS X is xhyve, which takes up very little resources. Other operating systems are different by default. Kvm or virtualbox can also be specified by yourself.

-- vm-driver string # VM driver is one of: [virtualbox vmwarefusion xhyve] (default "xhyve")

At this point, minishift creates a .minishift directory under the user directory and downloads boot2docker.iso to the iso directory shown in the figure:

The version number of the catalogue where oc is located. The latest version is used by default.

Download is very slow, the pre-downloaded boot2docker.iso, oc quickly copy to the corresponding directory (write the command first if you are slow). If you have already started downloading, re-execute start after Ctrl + C terminates, and don't forget-- registry-mirror, which is the main reason for slow installation. If it's still slow, try another mirror. Good luck!

After reading this article, I believe you have a certain understanding of "how to build an OpenShift stand-alone cluster". If you want to know more about it, you are welcome to follow the industry information channel. Thank you for reading!

Tags: Directory operating system system stand-alone cluster slow location computer article different complex hereinafter referred to as reason good luck finished more latest version different version user Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Shulou Information Redmi Shulou Tech Info Linux MySQL