Skip to content

Deleting docker cluster doesn't delete control plane #17

@NillsF

Description

@NillsF

After deleting a cluster on Docker, the delete command doesn't delete the bootstrapper container. This causes the next create-cluster to fail:

nillsf@SHRISU-YOGA ~ % gokp delete-cluster development \ 
--cluster-name=$MYCLUSTER --kubeconfig=/home/nillsf/.gokp/$MYCLUSTER/$MYCLUSTER.kubeconfig

INFO[0000] Deleting development cluster nfcluster       
INFO[0022] Cluster nfcluster successfully deleted       

nillsf@SHRISU-YOGA ~ % gokp create-cluster development \
--cluster-name=$MYCLUSTER --github-token=$GH_TOKEN

INFO[0000] Running checks                               
INFO[0000] Creating temporary control plane             
FATA[0001] node(s) already exist for a cluster with the name "gokp-bootstrapper" 

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions