问题描述
据我了解,minikube创建了一个VM来托管其kubernetes集群,但我不了解docker-for-desktop如何在OSX上管理它.
As I understand, minikube creates a VM to host its kubernetes cluster but I do not understand how docker-for-desktop is managing this on OSX.
推荐答案
在OS X的Docker中拆除Kubernetes是一件容易的事.
Tear down Kubernetes in Docker for OS X is quite an easy task.
转到Preferences
,打开Reset
标签,然后单击Reset Kubernetes cluster
.
Go to Preferences
, open Reset
tab, and click Reset Kubernetes cluster
.
之前用Kubectl创建的所有对象将被删除.
All object that have been created with Kubectl before that will be deleted.
您还可以重置Docker VM映像(Reset disk image
)和所有设置(Reset to factory defaults
),甚至卸载Docker.
You can also reset docker VM image (Reset disk image
) and all settings (Reset to factory defaults
) or even uninstall Docker.
这篇关于删除docker-for-desktop OSX上的kubernetes集群的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!