Skip to content

add k3s cluster setup doc #427

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 14 commits into from
Jul 2, 2021
Merged

add k3s cluster setup doc #427

merged 14 commits into from
Jul 2, 2021

Conversation

bpmct
Copy link
Member

@bpmct bpmct commented Jun 22, 2021

This PR documents the steps necessary to install a K3s cluster on an Ubuntu machine as an alternative to Local Preview (functioning SSH, dev URLs, works for prod use) or a managed Kubernetes solution.

Open questions:

  • This doc is currently Ubuntu-specific, but for no particular reason other than "it works." Should I test on some other operating systems or better describe requirements? The goal by mentioning the OS is that this works best on a new machine.
  • Can this have a better title to explain it's a good "single-host" solution versus managed Kubernetes
  • Are there any anti-patterns / inaccuracies?
  • For multi-node use, is there anything else we should recommend (e.g an external load balancer)? k3s supports multi-node install and I validated this with Coder workspaces.

Others in PR comments :)

References:

@bpmct bpmct requested a review from jawnsy June 22, 2021 13:58
@github-actions
Copy link
Contributor

github-actions bot commented Jun 22, 2021

✨ Coder.com for PR #427 deployed! It will be updated on every commit.

@bpmct bpmct requested a review from deansheather June 22, 2021 20:20
bpmct and others added 2 commits June 28, 2021 10:10
Co-authored-by: Jonathan Yu <jonathan@coder.com>
@bpmct bpmct requested a review from jawnsy June 28, 2021 14:18
Comment on lines 47 to 49
If you enable Networking v2 after installing Coder (in
`Manage > Admin > Infrastructure`), this step is not necessary to SSH into
workspaces, as TURNS is used instead.
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@deansheather added a note :)

I noticed that networking v2 is not mentioned anywhere else in docs so I specifically referenced how this can be done.

@bpmct bpmct merged commit 5c9410c into main Jul 2, 2021
@bpmct bpmct deleted the bpmct/k3s branch July 2, 2021 15:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants