CentOS 7安装minikube
使用
minikube v1.33.1
安装后会出现coredns
提示Listen: listen tcp :53: bind: permission denied
的错误。相关Issue:
安装minikube v1.32.0
bash
curl -LO https://storage.googleapis.com/minikube/releases/v1.32.0/minikube-linux-amd64
sudo install minikube-linux-amd64 /usr/local/bin/minikube && rm minikube-linux-amd64
启动
bash
minikube start --container-runtime=docker --kubernetes-version=1.28.3 -p k8s-1.28.3 --image-mirror-country=cn --cpus 2 --memory 6g --disk-size 20g --network="host" --force
安装kubectl
bash
curl -LO https://dl.k8s.io/release/v1.28.3/bin/linux/amd64/kubectl
删除集群:
bash
minikube delete -p k8s-1.28.3