Replies: 7 comments
-
Hey @nforced ! Thank you for sharing your experience and this particular issue you ran into! This is super valuable to improve the developer experience of more and more developers working with Kubernetes by using Gefyra. I suspect the port |
Beta Was this translation helpful? Give feedback.
-
Hi @SteinRobert, yes it's using lima. There are no settings in rancher-desktop that can make a difference. What I see is upon |
Beta Was this translation helpful? Give feedback.
-
I could run Gefyra with Rancher-Desktop, although it was not apparent to me. I am not an expert in RD nor in Lima. Some of my findings might be obvious to you. First, I noticed that my > docker context use rancher-desktop
rancher-desktop
Current context is now "rancher-desktop"
> docker ps
error during connect: Get "http://%2Fhome%2Fmschilonka%2F.rd%2Fdocker.sock/v1.24/containers/json": read unix @->/home/mschilonka/.rd/docker.sock: read: connection reset by peer When using Indeed, RD starts a qemu VM (I am on Linux):
I switched in RD the container runtime to
( Now the following worked out:
It seems Rancher-Desktop does not assign an external IP address to the Kubernetes nodes:
On the one hand, the qemu VM does not install a routable network interface on my host, so it seems difficult to reach these containers. On the other hand, it's a pitty that Gefyra does not work properly with the That's all I have for the moment. 🤔 |
Beta Was this translation helpful? Give feedback.
-
Interesting, this is what I think as well it's just communication problem between the two parts. And yes, containerd is what I am looking to move over with RD and remove docker forever (: |
Beta Was this translation helpful? Give feedback.
-
Also took a look into this. However - I am a bit hesitant doing this without further thought. It seems |
Beta Was this translation helpful? Give feedback.
-
As I think about it maybe Wireguard is an overkill for local development where everything is setup on local machine and adds complexity in cases like this one. |
Beta Was this translation helpful? Give feedback.
-
We talked about this in the team. We're currently not able to create a client, talking to containerd directly - right now we're using the Docker client Python implementation docker-py which itself cannot talk to the containerd socket directly. Furthermore - as you stated - it seems it is not possible to expose the Rancher Desktop VM to the host system as needed for Gefyra. Maybe Rancher could extend this. However, we cannot add Rancher VM (lima) manipulation stuff into Gefyra - that would be out of scope. I don't think the issue should end here - it could be very interesting in the future. If there is enough interest or even a feature sponsor we would be willing to put this on our roadmap again. This issue will be moved to discussion. Please upvote - in case this is a relevant use case for you. |
Beta Was this translation helpful? Give feedback.
-
What is the new feature about?
I want to use Gefyra with Rancher desktop (containerd+k3s) but they don't work nicely together. Basically
gefyra up
can't connect in any way I've tried to the running k8s. I've tried many different combinations of --endpoint and without endpoint with no luck.Here is a sample:
Why would such a feature be important to you?
Gefyra + Rancher desktop will be a great stack
Anything else we need to know?
No response
Beta Was this translation helpful? Give feedback.
All reactions