You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
If suppose there are two clusters with the name "kindxyz" and "kindabc" is present in the vm and now we try to create another cluster with the name "kind123", it will give an error that "Cluster is already created".
To Reproduce
Create a cluster named kind1 and then try to create another cluster kind using the kind-setup.sh script, it will generate an error.
Expected
Cluster creation should be successful.
Actual behavior
cluster creation fails
The text was updated successfully, but these errors were encountered:
The reason for the failure is in kind-setup.sh script we have
kind get clusters | grep $CLUSTER_NAME > /dev/null 2>&1
if [[ $? -eq 0 ]]; then
echoerr "cluster $CLUSTER_NAME already created"
exit 0
fi
So when we already have a cluster named "kind2" and now we try to create a cluster name "kind", the grep command will show that there is already a cluster named kind present even though the cluster named kind is not present.
Describe the bug
If suppose there are two clusters with the name "kindxyz" and "kindabc" is present in the vm and now we try to create another cluster with the name "kind123", it will give an error that "Cluster is already created".
To Reproduce
Create a cluster named kind1 and then try to create another cluster kind using the kind-setup.sh script, it will generate an error.
Expected
Cluster creation should be successful.
Actual behavior
cluster creation fails
The text was updated successfully, but these errors were encountered: