Skip to content

failed to delete cluster #708

@yangquan1982

Description

@yangquan1982

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-plane

What happened:
When I tried to run kind delete cluster, it shows
Deleting 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 1

What 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 cluster from CLI

Anything else we need to know?:
Even couldn't stop docker container kind-control-plane with docker stop command

Environment:

  • kind version: (use kind version):
    v0.4.0
  • Kubernetes version: (use 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 version: (use docker info):
    Docker Desktop Version 2.0.0.3 (31259)
  • OS (e.g. from /etc/os-release):
    MacOS version 10.14.5

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugCategorizes issue or PR as related to a bug.triage/needs-informationIndicates an issue needs more information in order to work on it.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions