You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In my particular case (Cluster created with kubeadm), I had to add the following to the Kubelet config file. In my case the config file is /var/lib/kubelet/config.yaml
allowedUnsafeSysctls:
- net.ipv4.ip_forward
With this setup the pod is able to set net.ipv4.ip_forward to 1 and route traffic between the zerotier network and my K8s overlay pod and service networks.
The text was updated successfully, but these errors were encountered:
First off, thanks for a great solution. It's unfortunate that zerotier don't directly provide/maintain a router based image as Tailscale do.
I managed to get
zerotier:router
running on my home lab K8s cluster.The starter deployment provided in the repo here helped but I believe it could do with a few enhancements along with some documentation.
Here is the deployment manifest I ended up with
The main issue with the deployment in the repo is that it is missing the following
Just adding this to the deployment manifest is not enough though as per https://kubernetes.io/docs/tasks/administer-cluster/sysctl-cluster/#enabling-unsafe-sysctls
In my particular case (Cluster created with
kubeadm
), I had to add the following to theKubelet
config file. In my case the config file is/var/lib/kubelet/config.yaml
With this setup the pod is able to set
net.ipv4.ip_forward
to 1 and route traffic between the zerotier network and my K8s overlay pod and service networks.The text was updated successfully, but these errors were encountered: