-
Notifications
You must be signed in to change notification settings - Fork 1.7k
failed to delete cluster #708
Copy link
Copy link
Closed
Labels
kind/bugCategorizes issue or PR as related to a bug.Categorizes issue or PR as related to a bug.triage/needs-informationIndicates an issue needs more information in order to work on it.Indicates an issue needs more information in order to work on it.
Metadata
Metadata
Assignees
Labels
kind/bugCategorizes issue or PR as related to a bug.Categorizes issue or PR as related to a bug.triage/needs-informationIndicates an issue needs more information in order to work on it.Indicates an issue needs more information in order to work on it.
kind launched as follows:
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 80b238c9e4b0 kindest/node:v1.15.0 "/usr/local/bin/entr…" 17 hours ago Up 17 hours 58543/tcp, 127.0.0.1:58543->6443/tcp kind-control-planeWhat happened:
When I tried to run
kind delete cluster, it showsDeleting cluster "kind" ... $KUBECONFIG is still set to use /Users/quan.yang/.kube/kind-config-kind even though that file has been deleted, remember to unset it Error: failed to delete cluster: exit status 1What you expected to happen:
Stop running kind docker
How to reproduce it (as minimally and precisely as possible):
1- Start kind
2- Create Service Account
3- Create ClusterRoleBinding
4- Bearer Token
5- Sign in with Token from UI Dashboard
6- Sign out
7- Type
kind delete clusterfrom CLIAnything else we need to know?:
Even couldn't stop docker container
kind-control-planewithdocker stopcommandEnvironment:
kind version):v0.4.0
kubectl version):Client Version: version.Info{Major:"1", Minor:"15", GitVersion:"v1.15.0", GitCommit:"e8462b5b5dc2584fdcd18e6bcfe9f1e4d970a529", GitTreeState:"clean", BuildDate:"2019-06-20T04:49:16Z", GoVersion:"go1.12.6", Compiler:"gc", Platform:"darwin/amd64"}docker info):Docker Desktop Version 2.0.0.3 (31259)
/etc/os-release):MacOS version 10.14.5