this post was submitted on 29 Feb 2024
18 points (87.5% liked)

Selfhosted

40183 readers
518 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 1 year ago
MODERATORS
18
K3S over tailscale (lemmy.world)
submitted 8 months ago* (last edited 8 months ago) by [email protected] to c/[email protected]
 

Hey everyone, my friend and I are wanting to learn kubernetes and we wanted to set up K3S, the problem being we are in two different physical locations.

What we would like to do is setup K3S to operate over tailscale but are running into issues with it.

I am currently at work and can post error logs later but I was just wondering if anyone had any guides they could point me to?

Thanks,

Sandbag

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 5 points 8 months ago* (last edited 8 months ago) (4 children)

Install tailscale and k3s on the master node and worker nodes. I have a setup like this and it works well. I have nodes in different physical locations from the master node, it works fine.

[–] [email protected] 3 points 8 months ago (1 children)

Do you have a guide or any documentation to help me and my buddy out, like I said I can post logs later if that would be helpful?

[–] [email protected] 3 points 8 months ago (1 children)

Other than k3s.io’s documentation and tailscale’s documentation, I don’t have any to share, but I don’t mind answering questions if you are stuck.

https://docs.k3s.io/installation https://tailscale.com/kb/1017/install

[–] [email protected] 2 points 8 months ago (1 children)

I will also mention that we are setting this up with x86_64 architectures and arm if that matters.

Should probably move that info to the main post.

[–] [email protected] 2 points 8 months ago

I have mixed architecture cluster as well. It works great as long as you set your manifests up properly and either use public images that support both or you build your own, or you set up node affinity to ensure the architecture-specific pod runs only on the node with the correct architecture.

load more comments (2 replies)