centos7安装minikube
Posted lc161616
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了centos7安装minikube相关的知识,希望对你有一定的参考价值。
安装之前需要在bios中开启虚拟化功能。这里是在vmvare虚拟机中安装。开启步骤如下:
下载virtualbox
官网地址:https://www.virtualbox.org/
[virtualbox] name=Oracle Linux / RHEL / CentOS-$releasever / $basearch - VirtualBox baseurl=http://download.virtualbox.org/virtualbox/rpm/el/$releasever/$basearch enabled=1 gpgcheck=1 repo_gpgcheck=1 gpgkey=https://www.virtualbox.org/download/oracle_vbox.asc
更新yum源并下载
yum clean all yum makecache yum install VirtualBox-5.2
下载minikube
curl -Lo minikube https://storage.googleapis.com/minikube/releases/v0.7.1/minikube-linux-amd64 && chmod +x minikube && sudo mv minikube /usr/local/bin/
下载kubectl
curl -Lo kubectl http://storage.googleapis.com/kubernetes-release/release/v1.3.0/bin/linux/amd64/kubectl && chmod +x kubectl && sudo mv kubectl /usr/local/bin/
启动minikube
minikube start minikube start –vm-driver=virtualbox
启动中遇到的错误
minikube delete minikube start
以上是关于centos7安装minikube的主要内容,如果未能解决你的问题,请参考以下文章