minikube + virtualbox安装及使用
安装及使用
minikube start --vm-driver=virtualbox --image-mirror-country=cn --image-repository=registry.cn-hangzhou.aliyuncs.com/google_containers --iso-url=https://kubernetes.oss-cn-hangzhou.aliyuncs.com/minikube/iso/minikube-v1.7.3.iso --registry-mirror=https://reg-mirror.qiniu.com
minikube start
![](https://img2020.cnblogs.com/blog/1937724/202112/1937724-20211230145509713-359173812.png)
![](https://img2020.cnblogs.com/blog/1937724/202112/1937724-20211230145509463-1819582129.png)
Minikube ssh # 进入虚拟机
![](https://img2020.cnblogs.com/blog/1937724/202112/1937724-20211230145506164-1215250257.png)
Minikube kubectl get nodes
![](https://img2020.cnblogs.com/blog/1937724/202112/1937724-20211230145507951-1413078922.png)
Minikube dashboard
![](https://img2020.cnblogs.com/blog/1937724/202112/1937724-20211230145510215-876078041.png)
kubectl get po -A #查看集群信息
![](https://img2020.cnblogs.com/blog/1937724/202112/1937724-20211230145509376-891994170.png)
Deploy applications
![](https://img2020.cnblogs.com/blog/1937724/202112/1937724-20211230145509311-493536090.png)
![](https://img2020.cnblogs.com/blog/1937724/202112/1937724-20211230145507792-1425482790.png)
![](https://img2020.cnblogs.com/blog/1937724/202112/1937724-20211230145507822-1940707783.png)
![](https://img2020.cnblogs.com/blog/1937724/202112/1937724-20211230145508371-1357486249.png)
LoadBalancer deployments
负载均衡
![](https://img2020.cnblogs.com/blog/1937724/202112/1937724-20211230145510764-1988807818.png)
![](https://img2020.cnblogs.com/blog/1937724/202112/1937724-20211230145508478-1161570118.png)
![](https://img2020.cnblogs.com/blog/1937724/202112/1937724-20211230145508382-497505886.png)
![](https://img2020.cnblogs.com/blog/1937724/202112/1937724-20211230145508477-934015093.png)
![](https://img2020.cnblogs.com/blog/1937724/202112/1937724-20211230150114816-341306319.png)
依赖