Skip to content

vcluster and Coder #6451

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

Closed
Tracked by #7257
bpmct opened this issue Mar 5, 2023 · 0 comments
Closed
Tracked by #7257

vcluster and Coder #6451

bpmct opened this issue Mar 5, 2023 · 0 comments
Labels
stale This issue is like stale bread. use-case A novel and interesting way to use Coder

Comments

@bpmct
Copy link
Member

bpmct commented Mar 5, 2023

vcluster is a tool that allows you to split up a Kubernetes cluster into several "virtual" clusters, with relatively good isolation.

This can be used to give developers an isolated cluster where they can provision anything on their cluster and even interact with virtual namespaces, etc. One excellent vcluster feature which works well with Coder is pausing a vcluster. When a vcluster is paused, all pods are essentially shut down but they can be re-instated when the cluster is resumed. Combined with when a workspace stops, this is pretty magical.

Build a vcluster template

We should probably do both and write a blog post about this

Option 1 (local exec/external data source): While vclusters can be deployed via Helm, sadly they can't be paused that way, making the best option for creating/deleting vclusters the CLI + local-exec or an external data source. This means that the Coder host (or provisioner) needs authenticated access to the vcluster CLI.

Option 2 (via loft.sh): Loft lets you manage vclusters via Kubernetes CRDs and even provides a Terraform provider for virtual clusters. This is the paid / non-community route, but we should definitely share it since it seems a bit more practical, and vcluster is an awesome OSS project by Loft.


Leave a comment if you're interested in working on this!

@bpmct bpmct added the use-case A novel and interesting way to use Coder label Mar 5, 2023
@matifali matifali mentioned this issue May 17, 2023
12 tasks
@github-actions github-actions bot added the stale This issue is like stale bread. label Jun 4, 2023
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Jun 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stale This issue is like stale bread. use-case A novel and interesting way to use Coder
Projects
None yet
Development

No branches or pull requests

1 participant