Replies: 1 comment 1 reply
-
Any updates? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Dear all,
I am migrating from Docker Desktop to Rancher Desktop without major issues. However, I’ve noticed a key difference in how the kubeconfig is generated:
This affects how containers (such as a VS Code devcontainer) can access the cluster. While Docker Desktop allows using the same kubeconfig as the host without modifications, Rancher Desktop does not, since 127.0.0.1 in a container context refers to the container itself rather than the host.
As a workaround, I manually edit the kubeconfig by:
While this solution works, it has drawbacks:
To reproduce this issue, you can use the official Kubernetes-Helm devcontainer. It works out of the box with Docker Desktop but not with Rancher Desktop.
Beta Was this translation helpful? Give feedback.
All reactions