贝隆

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理
  148 随笔 :: 0 文章 :: 2 评论 :: 14万 阅读

https://docs.okd.io/3.11/minishift/getting-started/index.html

 

wget -c https://hub.fastgit.org/minishift/minishift-centos-iso/releases/download/v1.16.0/minishift-centos7.iso

minishift start --iso-url file:///root/minishift-centos7.iso

minishift delete

 

 手动安装oc

  1. Download oc v3.11.0 release for Windows from its release page
  2. Extract
  3. Move oc.exe binary to /root/.minishift/cache/oc/v3.11.0/linux/oc
  4. Start Minishift

 

 

virtualbox

Minishift is a tool that helps you run OpenShift locally by running a single-node OpenShift cluster inside a VM.

Installation

Minishift requires a hypervisor to start the virtual machine on which the OpenShift cluster is provisioned. There are two options available for Linux hosts, KVM and VirtualBox.

VirtualBox must be manually installed in order to use the embedded VirtualBox drivers.

Download Minishft:

$ wget https://hub.fastgit.org/minishift/minishift/releases/download/v1.34.1/minishift-1.34.1-linux-amd64.tgz
$ tar xf minishift-1.34.1-linux-amd64.tgz

Define the location where you want Minishift installed:

$ export MINISHIFT_HOME=/mnt/images/minishift

Configure Minishift to use VirtualBox:

$ minishift config set vm-driver virtualbox

Configure Minishift memory and disk sizes as well as Minishift version you want to use:

$ minishift config set disk-size 32G
$ minishift config set memory 4096
$ minishift config set openshift-version v3.11.0

Verify configuration:

$ minishift config view

Start Minishift installation:

$ minishift start

Log in as admin:

$ oc login -u system:admin

References

https://docs.okd.io/latest/minishift/getting-started/index.html

This entry was posted in Linux and tagged EX280MinishiftVirtualBox. Bookmark the permalink. If you notice any errors, please contact us.

 

安装VirtualBox-6.1

 

https://blog.csdn.net/weixin_36075067/article/details/117540627

 

容器化应用: 实验环境-安装配置Minishift - SegmentFault 思否

 

 

Openshift初步学习问题集 - ericnie - 博客园 (cnblogs.com)

minishift start --vm-driver virtualbox --public-hostname=192.168.99.104 --routing-suffix 192.168.99.104.nip.io

 

posted on   贝隆  阅读(53)  评论(0编辑  收藏  举报
点击右上角即可分享
微信分享提示