Replies: 2 comments 3 replies
-
All three you described should be possible, I don't think there's anything specific already available right now, but Talos should work just fine with There might be some interesting stuff related to Tailscale persisting data |
Beta Was this translation helpful? Give feedback.
3 replies
-
For those who find this. I wrote the extension and the PR is here |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi All,
Love the concept of being declarative driven for the OS, and am excited to use the project.
I'm wondering if it's possible to integrate Tailscale with Talos. On a normal machine, you would set this up before installing k8s/k3s or what have you, but with a talos setup there is no cli so you can't exactly ssh in and run some commands :).
This would be beneficial for a k8s/talos install, having the control plane and Talos APIs would simplify network planning, eg the cli nodes and any required attached resources (eg NAS/storage) would also be in the Tailscale network. It's probably less on the security aspect (talos seems secure with mtls) but more for a dns/network setup which would simplify network design.
I can see three possible ways
Extensions, perhaps including the Tailscale client, and configuring it with a secret to join the network per 'machine' seems more natural. I did experiment with trying to develop this on my laptop, but am still trying to get a good development setup. I would think an extension is the best fit, as it should really be an 'additional' capability and not folded into the core of talos.
Static pods, perhaps the Tailscale agents could run as the static pods, somehow with the routes feeding most traffic into the pod, this may depend on startup orders of things, but could be a solution
Just run subnet routers in pods, this makes sense for more ingress/egress style setups, but wouldn't have the talos components communicating (and also may/may not be easy for storage concerns)
Does anyone have any guidance for this? One and Two may be possible, and I'm keen to give it a try, though I don't know enough about how talos boots up and installs to even know if an extension could provide and extra network interface that the 'cluster' then communicates over.
Even if this is a terrible idea it would be good to know :).
Beta Was this translation helpful? Give feedback.
All reactions