安装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