Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to build OpenShift stand-alone Cluster

2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

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!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report