1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

Minikube で使い捨て Kubernetes

Posted at

Rancher Desktop にも Kubernetes が入っているので不要かもしれないけど、何となく minikube も使ってみた。

$ brew install minikube
$ minikube start

自動的に minikube という context が出来て選択されている。

$ kubectl config get-contexts
CURRENT   NAME              CLUSTER           AUTHINFO               NAMESPACE
*         minikube          minikube          minikube               default
          rancher-desktop   rancher-desktop   rancher-desktop        

削除する。

$ minikube delete --all

$ kubectl config get-contexts   
CURRENT   NAME              CLUSTER           AUTHINFO               NAMESPACE
          rancher-desktop   rancher-desktop   rancher-desktop

綺麗さっぱり消えている!これは便利でいいかも。

参考

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?