1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
| # 默认集群名称为 `kind`.
kind create cluster
# 自定义集群名称
kind create cluster --name kind-2
# 查看集群
kind get clusters
# 删除集群
kind delete cluster
kind delete cluster --name kind-2
# 切换上下文
kubectl cluster-info --context kind-kind
kubectl cluster-info --context kind-kind-2
|