Skip to content

Latest commit

 

History

History

digitalocean-doks

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

Getting Coder Installed

  1. Fork this repo and set it up with spacelift.io or equivalent
  2. Create a Digital Ocean API Key and set it as DIGITALOCEAN_TOKEN
  3. Make sure to set the root directory to digitalocean-k8s/
  4. Run and apply the Terraform (took me 10 minutes)

Coder setup Instructions

  1. Navigate to the IP address of the load balancer (Networking / Load Balancers).
  2. Create the initial username and password.
  3. Go to Templates, click Develop in Kubernetes, and click use template
  4. Click create template (it will refresh and prompt for 3 more template inputs)
  5. Set var.use_kubeconfig to false
  6. Set var.namespace to coder
  7. Click create template

With the admin user created and the template imported, we are ready to launch a workspace based on that template.

  1. Click create workspace from the kubernetes template (templates/kubernetes/workspace)
  2. Give it a name and click create
  3. Within three minutes, the workspace should launch.

From there, you can click the Terminal button to get an interactive session in the k8s container, or you can click code-server to open up a VSCode window and start coding!