I am facing networking issues when using an k3s agent in WSL 2.
I now need to analyse how flannel translates cluster ip addresses to public ip addresses. This is how you would do it with flannel in k8s:
admin@ip-172-20-33-102:~$ etcdctl ls /coreos.com/network/subnets
/coreos.com/network/subnets/100.96.1.0-24
/coreos.com/network/subnets/100.96.2.0-24
/coreos.com/network/subnets/100.96.3.0-24
admin@ip-172-20-33-102:~$ etcdctl get /coreos.com/network/subnets/100.96.2.0-24
{"PublicIP":"172.20.54.98"}`
Source: https://blog.laputa.io/kubernetes-flannel-networking-6a1cb1f8ec7c
I know there is no etcd in k3s but sqlite. Where do I find those translations there?
Many thanks in advance and BR,
Martin