centos上安装minikube

2022-01-24 15:29:17 浏览数 (1)

安装docker的就不说了。防火墙关闭,端口全部开放。

代码语言:javascript复制
curl -LO https://storage.googleapis.com/kubernetes-release/release/$(curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt)/bin/linux/amd64/kubectl


chmod  x ./kubectl


sudo mv ./kubectl /usr/local/bin/kubectl

kubectl version


curl -Lo minikube https://storage.googleapis.com/minikube/releases/latest/minikube-linux-amd64 
  && chmod  x minikube


sudo cp minikube /usr/local/bin && rm minikube


minikube start --vm-driver=none

yum install conntrack


mkdir /etc/docker/daemon.json

{
 "exec-opts":["native.cgroupdriver=systemd"]
}

systemctl restart docker
systemctl status docker

0 人点赞