-
Notifications
You must be signed in to change notification settings - Fork 307
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Kind cluster creation ended with error: Failed to create kind cluster. No active cluster #2795
Comments
Looks like a sync issue on the kubeconfig file |
I am betting that the issue was with a "wrong" connection that was used by the podman. It was not root connection but the default one for given machine. |
No I was able to reproduce seems to happen when you have no kubeconfig before you create the Kind cluster |
Nice catch! Should we overcome this error (since error is there, but follow up actions will create proper kubeconfig) or keep this as know issue/feature coming from kind/kube context client? |
What @jeffmaury wrote, is exactly also the case for me. Solution would be:
The issue can be reproduced by removing the kind cluster and the .kube folder from the user folder. |
this happens, when no The As a workaround execute the following commands in bash respectively PowerShell mkdir -p ~/.kube && touch ~/.kubeconfig If(-Not (Test-Path ~\.kube)) {New-Item -Path ~\.kube -ItemType Directory}
If(-Not (Test-Path ~\.kube\config)) {New-Item -Path ~\.kube\config -ItemType File} |
@odockal I cannot reproduce with 1.8.0 on Win11Pro. Is it MacOS specific ? |
cannot reproduce this with version 1.8.0 on fedora 39 either. The cluster gets created and contour gets installed. #6406 still occurs but I think this bug can be closed as fixed. |
@odockal can you retest this issue? |
Seems like the issue was fixed. I got no error. @Blaimi seems about right, context was not updated as in mentioned issue. Still closing. |
Bug description
Kind cluster creation on Mac os 1.1.0 ended up with a "Cannot create kind cluster: No Active cluster". Cluster was eventually created on the filesystem. Can be verified by kind binary. But podman desktop did not detected it.
No kind cluster present:
Cli output:
Operating system
macOS 13 (Intel)
Version
1.1.0
Steps to reproduce
Create rootfull podman machine, download a kind and try to create kind cluster.
Relevant log output
No response
Additional context
I have seen the issue multiple time. I recall it was something unstable. I failed to find an issue reported, so here it is.
The text was updated successfully, but these errors were encountered: