Skip to content

Add Helm chart to host Coder on Kubernetes #2267

Closed

Description

@sharkymark

Problem

For users who want to run their Coder dashboard, and workspaces, in Kubernetes, there should be a Helm chart install that will allow users to install and upgrade their Coder deployment.

Definition of Done

The first pass will allow for a simple deployment with just a Coder dashboard, but subsequent helm charts should include HA options and the ability to run containerized workspaces in the same K8s cluster.

This is for customers wanting to host Coder entirely on Kubernetes.

# The coder/coder namespace is occupied by v1, so we should maybe change it for OSS?
helm install coder coder/coder --namespace coder

Activity

  1. added
    apiArea: HTTP API
    siteArea: frontend dashboard
    on Jun 14, 2022
  2. changed the title [-]Request for a Kubernetes control plane including a helm chart install like v1[/-] [+]Add Helm chart to host Coder on Kubernetes[/+] on Jun 22, 2022
  3. tjcran commented on Jun 22, 2022

    @tjcran

    @kylecarbs to add some details here on our plan

  4. kylecarbs commented on Jun 22, 2022

    @kylecarbs
    Member

    Ideally, we allow customers to provide a coder.env file that contains arbitrary environment variables that can be used for configuration. We should not map each configuration value to a key in Helm, as this adds a significant maintenance burden.

    This coder.env file would allow customers to arbitrarily pass environment variables too, which seems useful. The container should ship with a PostgreSQL sidecar container, similarly to v1. It should not use the built-in PostgreSQL database, as that would not support high-availability (which is likely to be used for Kubernetes).

  5. self-assigned this
    on Jun 30, 2022
  6. thalesfsp commented on Jul 6, 2022

    @thalesfsp

    Any updated on this?

  7. tjcran commented on Jul 11, 2022

    @tjcran

    Any updated on this?

    @thalesfsp it is in progress now. Keep a watch on this issue!

  8. misskniss commented on Jul 14, 2022

    @misskniss

    This one is currently blocked. @tjcran can you add the items to the comments here around that?

  9. ammario commented on Jul 26, 2022

    @ammario
    Member

    Can we include a setup template for the Kubernetes cluster in the MVP? My thoughts are it's a day of work at most beyond the rest of the feature but makes the whole thing twice as valuable. Bare in mind that our users are looking for the Coder platform entirely on Kubernetes, not just the control plane.

  10. tjcran commented on Jul 26, 2022

    @tjcran

    Can we include a setup template for the Kubernetes cluster in the MVP? My thoughts are it's a day of work at most beyond the rest of the feature but makes the whole thing twice as valuable. Bare in mind that our users are looking for the Coder platform entirely on Kubernetes, not just the control plane.

    I think that's super reasonable. It won't be "HA" but I think for the <10-15 devs usecase that's just fine.

  11. tjcran commented on Jul 26, 2022

    @tjcran

    Can we include a setup template for the Kubernetes cluster in the MVP? My thoughts are it's a day of work at most beyond the rest of the feature but makes the whole thing twice as valuable. Bare in mind that our users are looking for the Coder platform entirely on Kubernetes, not just the control plane.

    I think that's super reasonable. It won't be "HA" but I think for the <10-15 devs usecase that's just fine.

    @deansheather what are your thoughts on Ammar's suggestion above?

  12. ammario commented on Jul 26, 2022

    @ammario
    Member

    The definition of done in this issue includes running workspaces within the Kubernetes cluster, so I'm reopening.

  13. deansheather commented on Jul 26, 2022

    @deansheather
    Collaborator

    We currently have a template that runs workspaces as kubernetes containers. https://github.com/coder/coder/tree/main/examples/templates/kubernetes-multi-service

    We should probably open a new ticket for having auto-import for a basic Kubernetes "built-in" template.

  14. deansheather commented on Jul 26, 2022

    @deansheather
    Collaborator

    @ammario @tjcran ^ This should probably be split up into multiple tickets, we already have a separate ticket for HA support #3227. IMO the MVP of the helm chart (being able to deploy coder onto k8s with helm) has already been achieved.

  15. tjcran commented on Jul 28, 2022

    @tjcran

    I agree with that. I'll close this one and create an issue for having auto-import for k8s "built-in"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

apiArea: HTTP APIsiteArea: frontend dashboard

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions