centos7上用minikube安装k8s,不用翻墙
作者:互联网
文章目录
前言
minikube安装k8s教程,每一步都亲测可用,不用翻墙
一、安装 docker
参考官网,https://docs.docker.com/engine/install/centos/
二、安装kubectl
1.获取最新版本号
https://storage.googleapis.com/kubernetes-release/release/stable.txt
会显示最新的版本号 v1.19.4
2.下载kubectl
wget "https://storage.googleapis.com/kubernetes-release/release/v1.19.4/bin/linux/amd64/kubectl" -O "/usr/local/bin/kubectl"
下载完成后进行配置
cp kubectl /usr/local/bin/
chmod +x /usr/local/bin/kubect
三.安装minikube
curl -Lo minikube https://storage.googleapis.com/minikube/releases/latest/minikube-linux-amd64 && chmod +x minikube && sudo mv minikube /usr/local/bin/
四.启动minikube
minikube start --vm-driver=none --registry-mirror=https://registry.docker-cn.com
标签:bin,kubectl,minikube,安装,centos7,上用,https,com 来源: https://blog.csdn.net/fanliunian/article/details/110040891