Open siredmar opened 1 year ago
@njucjc PTAL
@njucjc PTAL
@siredmar What network plugin is your kind cluster using? It seem yurt-mananger can't get PodCIDR in your node Spec
@njucjc My kind cluster is using flannel as CNI. My strong guess is that the raven-agent on eagle (192.168.1.100) cannot possibly reach the raven-agents on the kind nodes that live in a private docker network located on my laptop (172.18.0.0/24). So there won't by any way of direct connection. I've managed to make this work using tailscale and netbird. These are VPN solutions use a connection coordinator. The coordinator tries to make a connection with various technologies like hole punching. After the VPN connection was established on every node using tailscale or netbird, i had to reconfigure flannel to use that newly created VPN interface.
So what i guess what i would need is some sort of connection coordinator to make this kind of connection work. Does raven support something like that?
@siredmar are the kind nodes under bridge can access eagle(192.168.1.100) by nat ? Currently, raven need single direction access between edges at least. If both edge undernat, they need NAT-T capability, this feature will be introduced by https://github.com/openyurtio/openyurt/pull/1639/files
Hi!
i'm quite new to raven. I have quite a complex task for our local dev environment (so no production case at all). So this is the scenario:
I'm running a local kubernetes cluster with kind. kind spins up the kubernetes cluster as docker containers.
So these all run on my local machine (192.168.1.46) I joined a raspberry pi node to this local cluster called eagle (192.168.1.100) doing some kind trickery (installed flannel instead of the kind builtin cni). This works great. Workload is deployed on this node, but when it comes to accessing services that run on other nodes this won't work.
What i'm trying to achieve is that i have a transparent cluster and pod network within this cluster, containing the eagle node. Example: I have a deployment that runs pods on eagle and edgefarm-worker. The pods itself shall be able to ping the other pods ip address.
I tried several raven configurations. My latest one looks like this:
I have two gateways defined: gw-cloud and gw-edge
I'm installing raven with the helm chart. This is my values.yaml
I got raven deployed on every node:
These are the logs of raven on eagle
And the logs of raven on edgefarm-worker
I don't have experience regarding raven. But to me the logs don't say much other than: there are no VPN connections.
Can anyone assist me setting up raven in this local setup?