-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
When using podman, the configuration obtained using get kubeconfig
cannot be used
#3777
Comments
is this happening with the latest kind version? that is an old one |
The latest version also has this problem because podman does not return the correct HostIP. |
we parse the information here kind/pkg/cluster/internal/providers/podman/provider.go Lines 192 to 232 in 1a8f047
as you can see it was broken between 2.2.0 and 3.0.0 What podman version are you using? |
Also, you skipped over adding the |
+1 to: can we fix the podman inspect command? We may have to change it, but there should be some way to get the correct info. can you share something like |
The output of The result of
|
Ok, so it seems we need to default it and your patch is correct |
It may be worth opening an issue with podman to point out this difference from docker. |
I agree, we should open an issue and ask if there's an alternate way to get this information. 127.0.0.1 is just an assumption, as much as we assumed it would continue returning this field. |
What happened:
What you expected to happen:
kubectl command does not report an error.
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know?:
Environment:
kind version
): kind v0.19.0 go1.20.4 linux/amd64docker info
,podman info
ornerdctl info
):/etc/os-release
): ubuntukubectl version
):The text was updated successfully, but these errors were encountered: