Skip to content

Latest commit

 

History

History
 
 

azure-aks

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

Getting Coder Installed

  1. Create an Azure Account and a service principal.
  2. Fork this repo and set it up with spacelift.io or equivalent
  3. Set ARM_CLIENT_ID, ARM_CLIENT_SECRET, ARM_SUBSCRIPTION_ID, ARM_TENANT_ID using the values when you created the service principal.
  4. Make sure to set the directory to azure-aks/
  5. Run and apply the Terraform (took me 5 minutes)

Coder setup Instructions

  1. Navigate to the IP address of the load balancer (Kubernetes services / coder-k8s-cluster / Services & Ingresses.
  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!